Module pchain_types::rpc
source · Expand description
RPC requests and responses, and the additional types included in them.
Structs
- Get the hash of a block at a given height.
- Get a block header by its block hash.
- Get the height of the block with a given block hash.
- Get a block by its block hash.
- Get a set of deposits.
- Return the hash of the highest committed block.
- Get a set of pools.
- Get a transaction’s receipt.
- Get a set of stakes.
- Get the state of a set of accounts (optionally including their contract code), and/or a set of storage tuples.
- Submit a transaction to the mempool.
- Find out where a transaction is in the blockchain.
- Get a transaction and optionally its receipt.
- Get the previous, current, and next validator sets, optionally including the stakes delegated to them.
- Call a method in a contract in a read-only way.