Module subxt::rpc::types

source ·
Expand description

Types sent to/from the Substrate RPC interface.

Structs

Indicate the block hash of the new best block.
Wrapper for NumberOrHex to allow custom From impls
Statistics of a block returned by the dev_getBlockStats RPC.
Hex-serialized shim for Vec<u8>.
Block details in the ChainBlockResponse.
Bytes representing an extrinsic in a ChainBlock.
The response from chain_getBlock
The result of a chain head method.
The operation could not be processed due to an error.
Indicate the finalized and pruned block hashes.
Health struct returned by the RPC
Contain information about the latest finalized block.
Indicate a new non-finalized block.
ReadProof struct returned by the RPC
This contains the runtime version information necessary to make transactions, as obtained from the RPC call state_getRuntimeVersion,
The runtime specification of the current block.
Storage change set
Storage data.
Storage key.
A generic RPC Subscription. This implements Stream, and so most of the functionality you’ll need to interact with it comes from the StreamExt extension trait.
The transaction was included in a block of the chain.
The transaction was broadcasted to a number of peers.
The transaction was dropped because of exceeding limits.
The transaction could not be processed due to an error.
An error type that signals an out-of-range conversion attempt.

Enums

The event generated by the body / call / storage methods.
An error dry running an extrinsic.
The event generated by the chainHead_follow method.
A number type that can be serialized both as a number or a string that encodes a number in a string.
The runtime event generated if the follow subscription has set the runtime_updates flag.
Possible transaction status events.
Possible transaction status events.

Type Definitions

Consensus engine unique ID.
Signal what the result of doing a dry run of an extrinsic is.
The encoded justification specific to a consensus engine.
An abstraction over justification for a block’s validity under a consensus algorithm.
Arbitrary properties defined in the chain spec as a JSON object.