| Crates.io | bdk_esplora |
| lib.rs | bdk_esplora |
| version | 0.22.1 |
| created_at | 2023-02-28 00:29:14.546704+00 |
| updated_at | 2025-08-06 12:47:53.713335+00 |
| description | Fetch data from esplora in the form that accepts |
| homepage | https://bitcoindevkit.org |
| repository | https://github.com/bitcoindevkit/bdk |
| max_upload_size | |
| id | 796459 |
| size | 148,272 |
BDK Esplora extends esplora-client (with extension traits: EsploraExt and
EsploraAsyncExt) to update bdk_chain structures from an Esplora server.
The extension traits are primarily intended to satisfy SyncRequests with sync and
FullScanRequests with full_scan.
For blocking-only:
bdk_esplora = { version = "0.19", features = ["blocking"] }
For async-only:
bdk_esplora = { version = "0.19", features = ["async"] }
For async-only (with https):
You can additionally specify to use either rustls or native-tls, e.g. async-https-native, and this applies to both async and blocking features.
bdk_esplora = { version = "0.19", features = ["async-https"] }
For async-only (with tokio):
bdk_esplora = { version = "0.19", features = ["async", "tokio"] }
To use the extension traits:
// for blocking
#[cfg(feature = "blocking")]
use bdk_esplora::EsploraExt;
// for async
#[cfg(feature = "async")]
use bdk_esplora::EsploraAsyncExt;
For full examples, refer to example_wallet_esplora_blocking and example_wallet_esplora_async.