Expand description
The chain head’s event returned as json compatible object.
Structs§
- Best
Block Changed - Indicate the block hash of the new best block.
- Chain
Head Runtime Version - Simplified type clone of
sp_version::RuntimeVersion
. Used instead ofsp_version::RuntimeVersion
to conform to RPC spec V2. - Error
Event - The operation could not be processed due to an error.
- Finalized
- Indicate the finalized and pruned block hashes.
- Initialized
- Contain information about the latest finalized block.
- Method
Response Started - The
started
result of a method. - NewBlock
- Indicate a new non-finalized block.
- Operation
Body Done - The response of the
chainHead_body
method. - Operation
Call Done - The response of the
chainHead_call
method. - Operation
Error - Indicate a problem during the operation.
- Operation
Id - Indicate the operation id of the event.
- Operation
Storage Items - The response of the
chainHead_storage
method. - Runtime
Version Event - The runtime specification of the current block.
Enums§
- Follow
Event - The event generated by the
follow
method. - Method
Response - The method response of
chainHead_body
,chainHead_call
andchainHead_storage
. - Runtime
Event - The runtime event generated if the
follow
subscription has set thewith_runtime
flag.