Module bdk::blockchain::esplora

source ·
Available 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=‘use-esplora-blocking’ Async: –features=‘async-interface,use-esplora-async’ –no-default-features


Structure that implements the logic to sync with Esplora


Errors that can happen during a sync with Esplora