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

retrieveChainHeadHeader

suspend fun retrieveChainHeadHeader(): BlockHeader (source)

Retrieves the block header identified as the chain head.

Return
the current chain head header, or the genesis block if no chain head is present.