Crate bitcoincore_rest
source · [−]Expand description
This is 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.
Structs
A cheaply cloneable and sliceable chunk of contiguous memory.
Response from
get_mempool_info
Response from
get_utxos
Creates HTTP requests to bitcoind
An HTTP status code (
status-code
in RFC 7230 et al.).Sub object containing height and output from
get_utxos
Enums
Traits
A data structure that can be deserialized from any data format supported
by Serde.