tuweni / org.apache.tuweni.devp2p.eth / EthClient / requestBlockHeader

requestBlockHeader

open fun requestBlockHeader(blockHash: Hash, connection: WireConnection): AsyncResult<BlockHeader> (source)

Requests a block header

Parameters

blockHash - the block hash

connection - the connection to use

Return
a handle to the completion of the operation