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

retrieveChainHead

suspend fun retrieveChainHead(): Block (source)

Retrieves the block identified as the chain head.

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