referrerpolicy=no-referrer-when-downgrade
pub trait Chain<B>
where B: Block,
{ // Required method fn block_status( &self, hash: <B as Block>::Hash, ) -> Result<BlockStatus, Box<dyn Error + Send>>; }
Expand description

A type which provides access to chain information.

Required Methods§

source

fn block_status( &self, hash: <B as Block>::Hash, ) -> Result<BlockStatus, Box<dyn Error + Send>>

Retrieve the status of the block denoted by the given Block::Hash.

Implementations on Foreign Types§

source§

impl<T, B> Chain<B> for Arc<T>
where T: Chain<B>, B: Block,

source§

fn block_status( &self, hash: <B as Block>::Hash, ) -> Result<BlockStatus, Box<dyn Error + Send>>

Implementors§

§

impl<BE, E, B, RA> Chain<B> for Client<BE, E, B, RA>
where BE: Backend<B>, E: CallExecutor<B>, B: Block,