Crate bitcoincore_rest
source ·Expand description
A Rust REST client library for calling the Bitcoin Core REST API. It makes it easy to talk to the Bitcoin Core REST interface.
The REST interface is useful for quickly iterating over the blockchain, because it can request blocks and transactions in binary form without having to serialize/deserialize into JSON. It is unauthenticated so there’s no need to worry about storing credentials.
It also has API for quickly retrieving large amounts of block headers and BIP157 compact block filter headers. There is also support for getting block chain info, mempool info, the raw mempool, and querying the utxo set.
See https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md for more information.
Re-exports
pub use bitcoin;
pub use bitcoincore_rpc_json;
pub use bytes;
pub use http;
pub use serde;
Modules
- Response types for REST endpoints that aren’t in
rust-bitcoincore-rpc
.
Structs
- Creates HTTP REST requests to bitcoind.
Enums
- Error type for RestApi responses.