tuweni / org.apache.tuweni.eth.repository / BlockchainRepository / retrieveBlockHeader

retrieveBlockHeader

suspend fun retrieveBlockHeader(blockHash: Bytes): BlockHeader? (source)

Retrieves a block header into the repository.

Parameters

blockHash - the hash of the block stored

Return
a future with the block header if found