reth::utils

Function get_single_header

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

Re-exported from reth_node_core, also to prevent a breaking change. See the comment on the reth_node_core::args re-export for more details. Get a single header from network