Module rpc_types

Source

Structs§

ActiveCommand
GetBlockResVerbose
A full bitcoin block, returned by get_block
GetBlockchainInfoRes
GetMemInfoStats
GetRpcInfoRes
GetTxOutProof
Return type for the gettxoutproof rpc command, the internal is just the hex representation of the Merkle Block, which was defined by btc core.
MemInfoLocked
PeerInfo
General information about our peers. Returned by get_peer_info
RawTx
The information returned by a get_raw_tx
ScriptPubKey
The locking script inside a txout
ScriptSigJson
A representation for the transaction ScriptSig, returned by some rpcs like gettransaction and getblock
TxIn
A transaction input returned by some rpcs, like gettransaction and getblock
TxOut
A transaction output returned by some RPCs like gettransaction and getblock

Enums§

AddNodeCommand
Enum to represent the different subcommands for the addnode command
Error
All possible errors returned by the jsonrpc
GetBlockRes
GetMemInfoRes