Struct bdk::blockchain::electrum::ElectrumBlockchain [−][src]
pub struct ElectrumBlockchain { /* fields omitted */ }
This is supported on crate feature
electrum
only.Expand description
Wrapper over an Electrum Client that implements the required blockchain traits
Example
See the blockchain::electrum
module for a usage example.
Trait Implementations
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Return the set of Capability
supported by this backend
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Setup the backend and populate the internal database for the first time Read more
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Fetch a transaction from the blockchain given its txid
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Broadcast a transaction
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Return the current height
This is supported on non-WebAssembly and non-crate feature
async-interface
only.Estimate the fee rate required to confirm a transaction in a given target
of blocks
type Config = ElectrumBlockchainConfig
type Config = ElectrumBlockchainConfig
Type that contains the configuration
Create a new instance given a configuration
Performs the conversion.