Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.
Expand description


This module defines a EsploraBlockchain struct that can query an Esplora backend populate the wallet’s database by:


let blockchain = EsploraBlockchain::new("", 20);

Esplora blockchain can use either ureq or reqwest for the HTTP client depending on your needs (blocking or async respectively).

Please note, to configure the Esplora HTTP client correctly use one of: Blocking: –features=‘esplora,ureq’ Async: –features=‘async-interface,esplora,reqwest’ –no-default-features


Structure that implements the logic to sync with Esplora

Configuration for an EsploraBlockchain

Data type used when fetching transaction history from Esplora.


Errors that can happen during a sync with EsploraBlockchain