reth::core::utils

Function get_single_header

Source
pub async fn get_single_header<Client>(
    client: Client,
    id: HashOrNumber,
) -> Result<SealedHeader<<Client as HeadersClient>::Header>, Report>
where Client: HeadersClient, <Client as HeadersClient>::Header: BlockHeader,
Expand description

Get a single header from network