Module snarkos_rpc::rpc_types[][src]

Expand description

Structures for RPC endpoint requests and responses.

Structs

BlockInfo

Returned value for the getblock rpc call

BlockTemplate

Returned value for the getblocktemplate rpc call

CreateRawTransactionOuput

Output for the createrawtransaction rpc call

DecryptRecordInput

Input for the decryptrecord rpc call

Meta

RPC metadata for encoding authentication

NodeInfo

Returned value for the getnodeinfo rpc call

PeerInfo

Returned value for the getpeerinfo rpc call

RPCRecordPayload

Record payload data

RecordInfo

Returned value for the decoderawrecord rpc call

RpcAccount

Output for the createaccount rpc call

RpcCredentials

Defines the authentication format for accessing private endpoints on the RPC server

TransactionInfo

Returned value for the gettransaction rpc call

TransactionInputs

Input for the createrawtransaction rpc call

TransactionMetadata

Additional metadata included with a transaction response

TransactionRecipient

Recipient of a transaction