ElectrumClient
Wrapper around an electrum_client::ElectrumApi which includes an internal in-memory transaction cache to avoid re-fetching already downloaded transactions.
Constructors
Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)
This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.
Creates a new bdk client from a electrum_client::ElectrumApi Optional: Set the proxy of the builder
Functions
Link copied to clipboard
Subscribes to notifications for new block headers, by sending a blockchain.headers.subscribe call.
Link copied to clipboard
Link copied to clipboard
Estimates the fee required in bitcoin per kilobyte to confirm a transaction in number
blocks.
Link copied to clipboard
Returns the capabilities of the server.
Link copied to clipboard
Broadcasts a transaction to the network.
Link copied to clipboard