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

findBy

abstract fun findBy(field: BlockHeaderFields, value: Bytes): List<Hash> (source)
abstract fun findBy(field: BlockHeaderFields, value: Long): List<Hash> (source)
abstract fun findBy(field: BlockHeaderFields, value: Gas): List<Hash> (source)
abstract fun findBy(field: BlockHeaderFields, value: UInt256): List<Hash> (source)
abstract fun findBy(field: BlockHeaderFields, value: Address): List<Hash> (source)
abstract fun findBy(field: BlockHeaderFields, value: Hash): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Bytes): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Int): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Long): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Gas): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: UInt256): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Address): List<Hash> (source)
abstract fun findBy(field: TransactionReceiptFields, value: Hash): List<Hash> (source)

Find exact matches for a field.

Parameters

field - the name of the field

value - the value of the field.

Return
the matching block header hashes.