referrerpolicy=no-referrer-when-downgrade

Module chain_head

Source
Expand description

Substrate chain head API.

§Note

Methods are prefixed by chainHead.

Re-exports§

pub use api::ChainHeadApiServer;
pub use chain_head::ChainHead;
pub use chain_head::ChainHeadConfig;
pub use event::BestBlockChanged;
pub use event::ErrorEvent;
pub use event::Finalized;
pub use event::FollowEvent;
pub use event::Initialized;
pub use event::NewBlock;
pub use event::RuntimeEvent;
pub use event::RuntimeVersionEvent;

Modules§

api
API trait of the chain head.
chain_head
API implementation for chainHead.
error
Error helpers for chainHead RPC module.
event
The chain head’s event returned as json compatible object.