Trait sc_client_api::light::RemoteBlockchain[][src]

pub trait RemoteBlockchain<Block: BlockT>: Send + Sync {
    fn header(
        &self,
        id: BlockId<Block>
    ) -> ClientResult<LocalOrRemote<Block::Header, RemoteHeaderRequest<Block::Header>>>; }
Expand description

Futures-based blockchain backend that either resolves blockchain data locally, or fetches required data from remote node.

Required methods

Get block header.

Implementors