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

findBy

fun findBy(field: BlockHeaderFields, value: Bytes): List<Hash> (source)
fun findBy(field: BlockHeaderFields, value: Long): List<Hash> (source)
fun findBy(field: BlockHeaderFields, value: Gas): List<Hash> (source)
fun findBy(field: BlockHeaderFields, value: UInt256): List<Hash> (source)
fun findBy(field: BlockHeaderFields, value: Address): List<Hash> (source)
fun findBy(field: BlockHeaderFields, value: Hash): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: Bytes): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: Int): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: Long): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: Gas): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: UInt256): List<Hash> (source)
fun findBy(field: TransactionReceiptFields, value: Address): List<Hash> (source)
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.