reth_node_core::utils

Function get_single_header

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

Get a single header from network