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.
Modules
Structs
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Response from
get_mempool_txids_and_sequence
- Creates HTTP requests to bitcoind
- An HTTP status code (
status-code
in RFC 7230 et al.).
Enums
- The cryptocurrency network to act on.
Traits
- A data structure that can be deserialized from any data format supported by Serde.