Module bitcoind_json_rpc_types::model
source · Expand description
Models of the data returned by the JSON-RPC API of Bitcoin Core.
The types here model the data returned by Bitcoin Core in a version non-specific way. In other
words one can use a particular bitcoind version via the version specific module (e.g.
crate::v26) then convert the json types to one of the modelled types in this module using
TryFrom.
Structs§
- Status of BIP-9 softforks.
- Statistics for a BIP-9 softfork.
- Models the result of JSON-RPC method
createwallet. - Models the result of JSON-RPC method
generatetoaddress. - Models the result of JSON-RPC method
getbalance. - Models the result of JSON-RPC method
getbalances. - Balances from outputs that the wallet can sign.
- Hash and height of the block this information was generated on.
- Models the result of JSON-RPC method
getbestblockhash. - Models the result of JSON-RPC method
getblockwith verbosity set to 1. - Models the result of JSON-RPC method
getblockwith verbosity set to 0. - Models the result of JSON-RPC method
getblockchaininfo. - Models the result of JSON-RPC method
getnetworkinfo. - Part of the result of the JSON-RPC method
getnetworkinfo(local address info). - Part of the result of the JSON-RPC method
getnetworkinfo(information per network). - Models the result of JSON-RPC method
getnewaddress. - Models the result of JSON-RPC method
gettransaction. - Part of the
GetTransaction. - Models the result of JSON-RPC method
gettxout. - Models the result of JSON-RPC method
loadwallet. - Models the result of JSON-RPC method
sendrawtransaction. - Models the result of JSON-RPC method
sendtoaddress. - Status of softfork.
- Models the result of JSON-RPC method
unloadwallet.
Enums§
- BIP-9 softfork status: one of “defined”, “started”, “locked_in”, “active”, “failed”.
- Enum to represent the category of a transaction.
- The softfork type: one of “burried”, “bip9”.