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::RuntimeVersionto 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
startedresult of a method. - NewBlock
- Indicate a new non-finalized block.
- Operation
Body Done - The response of the
chainHead_bodymethod. - Operation
Call Done - The response of the
chainHead_callmethod. - 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_storagemethod. - Runtime
Version Event - The runtime specification of the current block.
Enums§
- Follow
Event - The event generated by the
followmethod. - Method
Response - The method response of
chainHead_body,chainHead_callandchainHead_storage. - Runtime
Event - The runtime event generated if the
followsubscription has set thewith_runtimeflag.