Function sc_client_api::light::future_header
source · [−]pub fn future_header<Block: BlockT, F: Fetcher<Block>>(
blockchain: &dyn RemoteBlockchain<Block>,
fetcher: &F,
id: BlockId<Block>
) -> impl Future<Output = Result<Option<Block::Header>, ClientError>>
Expand description
Returns future that resolves header either locally, or remotely.