EsploraClient
Wrapper around an esplora_client::BlockingClient which includes an internal in-memory transaction cache to avoid re-fetching already downloaded transactions.
Constructors
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 an esplora_client::BlockingClient. Optional: Set the proxy of the builder.
Functions
Broadcast a `Transaction` to Esplora.
Get the `BlockHash` of a specific block height.
Get a map where the key is the confirmation target (in number of blocks) and the value is the estimated feerate (in sat/vB).
Get a `Transaction` option given its `Txid`.
Get the status of a `Transaction` given its `Txid`.
Sync a set of scripts, txids, and/or outpoints against Esplora.