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§
- Bip9
Softfork Info - Status of BIP-9 softforks.
- Bip9
Softfork Statistics - Statistics for a BIP-9 softfork.
- Chain
Tips - An individual list item from the result of JSON-RPC method
getchaintips. - Create
Wallet - Models the result of JSON-RPC method
createwallet. - Generate
- Models the result of JSON-RPC method
generate. - Generate
ToAddress - Models the result of JSON-RPC method
generatetoaddress. - GetBalance
- Models the result of JSON-RPC method
getbalance. - GetBalances
- Models the result of JSON-RPC method
getbalances. - GetBalances
Mine - Balances from outputs that the wallet can sign.
- GetBalances
Watch Only - Hash and height of the block this information was generated on.
- GetBest
Block Hash - Models the result of JSON-RPC method
getbestblockhash. - GetBlock
Count - Models the result of JSON-RPC method
getblockcount. - GetBlock
Hash - Models the result of JSON-RPC method
getblockhash. - GetBlock
Header - Models the result of JSON-RPC method
getblockheader. - GetBlock
Header Verbose - Models the result of JSON-RPC method
getblockheader. - GetBlock
Stats - Models the result of JSON-RPC method
getblockstats. - GetBlock
Verbosity One - Models the result of JSON-RPC method
getblockwith verbosity set to 1. - GetBlock
Verbosity Zero - Models the result of JSON-RPC method
getblockwith verbosity set to 0. - GetBlockchain
Info - Models the result of JSON-RPC method
getblockchaininfo. - GetChain
Tips - Result of JSON-RPC method
getchaintips. - GetChain
TxStats - Result of JSON-RPC method
getchaintxstats. - GetDifficulty
- Result of JSON-RPC method
getdifficulty. - GetMempool
Ancestors - Result of JSON-RPC method
getmempoolancestorswith verbose set to false. - GetMempool
Ancestors Verbose - Result of JSON-RPC method
getmempoolancestorswith verbose set to true. - GetNetwork
Info - Models the result of JSON-RPC method
getnetworkinfo. - GetNetwork
Info Address - Part of the result of the JSON-RPC method
getnetworkinfo(local address info). - GetNetwork
Info Network - Part of the result of the JSON-RPC method
getnetworkinfo(information per network). - GetNew
Address - Models the result of JSON-RPC method
getnewaddress. - GetTransaction
- Models the result of JSON-RPC method
gettransaction. - GetTransaction
Detail - Part of the
GetTransaction. - GetTx
Out - Models the result of JSON-RPC method
gettxout. - Load
Wallet - Models the result of JSON-RPC method
loadwallet. - Send
RawTransaction - Models the result of JSON-RPC method
sendrawtransaction. - Send
ToAddress - Models the result of JSON-RPC method
sendtoaddress. - Softfork
- Status of softfork.
- Unload
Wallet - Models the result of JSON-RPC method
unloadwallet.
Enums§
- Bip9
Softfork Status - BIP-9 softfork status: one of “defined”, “started”, “locked_in”, “active”, “failed”.
- Chain
Tips Status - The
statusfield from an individual list item from the result of JSON-RPC methodgetchaintips. - GetTransaction
Detail Category - Enum to represent the category of a transaction.
- Softfork
Type - The softfork type: one of “burried”, “bip9”.