Electrum Client
Open a JSON-RPC over TCP connection to an Electrum X server
Types
Properties
The version this electrum client supports
how long to wait before giving up on a request
Functions
Get confirmed and unconfirmed activity in a script
Return serialized headers for the blocks beginning at the supplied height
Get confirmed and unconfirmed activity in a script
Async callback gethistory function
Get the current blockchain tip
Get a transaction by hash
Async callback get transaction function. DO NOT BLOCK IN THE CALLBACK!
Get outputs for a pay destination you don't own.
Get spendable output for a pay destination you own.
As this is a subscription, the client will receive a notification when the status of the address changes. Its signature is blockchain.address.subscribe(address, status)
Subscribe to blockchain headers. Issues a callback with the blockchain tip when a new block is found.
Unsubscribes from blockchain headers.
Unsubscribes from blockchain headers.