Crate corepc_types

Source
Expand description

Types returned by the JSON-RPC API of Bitcoin Core.

Each type has rustdocs copied from Core, bugs and all. Additional docs were only added if things really didn’t make sense. Only required arguments are documented. To see what optional arguments are available run bitcoin-cli help <method> against the version of Core you are interested in.

Re-exports§

pub extern crate bitcoin;

Modules§

model
Models of the data returned by the JSON-RPC API of Bitcoin Core.
v17
JSON-RPC types for Bitcoin Core v0.17.
v18
JSON-RPC types for Bitcoin Core v0.18
v19
JSON-RPC types for Bitcoin Core v0.19
v20
JSON-RPC types for Bitcoin Core v0.20
v21
JSON-RPC types for Bitcoin Core v0.21
v22
JSON-RPC types for Bitcoin Core v0.22
v23
JSON-RPC types for Bitcoin Core v0.23
v24
JSON-RPC types for Bitcoin Core v0.24
v25
JSON-RPC types for Bitcoin Core v0.25
v26
JSON-RPC types for Bitcoin Core v0.26
v27
JSON-RPC types for Bitcoin Core v0.26
v28
JSON-RPC types for Bitcoin Core v0.26

Enums§

NumericError
Error converting an i64 to a u32.

Functions§

to_u32
Converts an i64 numeric type to a u32.