Module sc_rpc_spec_v2::chain_head::event
source · Expand description
The chain head’s event returned as json compatible object.
Structs§
- Indicate the block hash of the new best block.
- Simplified type clone of
sp_version::RuntimeVersion
. Used instead ofsp_version::RuntimeVersion
to conform to RPC spec V2. - The operation could not be processed due to an error.
- Indicate the finalized and pruned block hashes.
- Contain information about the latest finalized block.
- The
started
result of a method. - Indicate a new non-finalized block.
- The response of the
chainHead_body
method. - The response of the
chainHead_call
method. - Indicate a problem during the operation.
- Indicate the operation id of the event.
- The response of the
chainHead_call
method. - The runtime specification of the current block.
Enums§
- The event generated by the
follow
method. - The method response of
chainHead_body
,chainHead_call
andchainHead_storage
. - The runtime event generated if the
follow
subscription has set thewith_runtime
flag.