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

retrieveBlockBodyBytes

suspend fun retrieveBlockBodyBytes(blockHash: Bytes): Bytes? (source)

Retrieves a block body into the repository as its serialized RLP bytes representation.

Parameters

blockHash - the hash of the block stored

Return
a future with the bytes if found