Trait substrate_rpc_client::HeaderProvider
source · pub trait HeaderProvider<Block: BlockT>where
Block::Header: HeaderT,{
// Required method
fn get_header<'life0, 'async_trait>(
&'life0 self,
hash: Block::Hash,
) -> Pin<Box<dyn Future<Output = Block::Header> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Abstraction over RPC calling for headers.