Expand description
A JSON-RPC client for Bitcoin Core.
The typed methods and their result types are transcribed from Bitcoin
Core v31.1. Replies from v29 onward deserialize: every field Core added
after v29 is an Option that is None on an older node, and each such
field’s docs say which release introduced it.
Enable the sync feature for a blocking client or the aio feature for an
async one. Neither is enabled by default.
Modules§
- aio
aio - Async client. Requires the
aiofeature. - params
aioorsync - Helpers for building JSON-RPC parameter lists.
- prelude
- Everything you normally want in scope.
- sync
sync - Blocking client. Requires the
syncfeature. - types
- Request and response types.
Structs§
- RpcError
- An error returned by the Bitcoin Core node itself.
Enums§
- Auth
- How to authenticate against the node’s RPC interface.
- Error
- Anything that can go wrong when talking to a node.
Type Aliases§
- Result
- Result alias used throughout this crate.