eth-repository / org.apache.tuweni.eth.repository / BlockchainIndex / indexTransactionReceipt

indexTransactionReceipt

fun indexTransactionReceipt(txReceipt: TransactionReceipt, txIndex: Int, txHash: Hash, blockHash: Hash): Unit (source)

Overrides BlockchainIndexWriter.indexTransactionReceipt

Indexes a transaction receipt.

Parameters

txReceipt - the transaction receipt to index

txIndex - the index of the transaction in the block

txHash - the hash of the transaction

blockHash - the hash of the block