tuweni / org.apache.tuweni.eth.repository / BlockchainIndexReader / findByHashOrNumber

findByHashOrNumber

abstract fun findByHashOrNumber(hashOrNumber: Bytes): List<Hash> (source)

Finds hashes of blocks by hash or number.

Parameters

hashOrNumber - the hash of a block header, or its number as a 32-byte word

Return
the matching block header hashes.