Registry / http-client / esplora-client

esplora-client

JSON →
library0.12.3rscratesunverified

Bitcoin Esplora API client library supporting plaintext, TLS, and Onion servers, blocking or async.

# Cargo.toml [dependencies] esplora-client = "0.12.3"
INSTALL
IMPORT
SIG · ESPLORA-CLIENT
E
esplora-client
http-clientrustv0.12.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BlockingClient
✓ use esplora_client::BlockingClient;

Creates a blocking Esplora API client.

use esplora_client::BlockingClient; fn main() { let client = BlockingClient::new("https://blockstream.info/api"); println!("Client created"); }
Debug
Known issues
gotchaAsync client requires a runtime like tokio.
fix
Use `AsyncClient` with an async runtime.
affects: >=0.12.0
Upgrade
Version history
0.12.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
OpenAI (training)
1
Resources