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

retrieveBlock

suspend fun retrieveBlock(blockHash: Bytes): Block? (source)

Retrieves a block into the repository.

Parameters

blockHash - the hash of the block stored

Return
a future with the block if found