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

storeTransactionReceipt

suspend fun storeTransactionReceipt(transactionReceipt: TransactionReceipt, txIndex: Int, txHash: Bytes, blockHash: Bytes): Unit (source)

Stores a transaction receipt in the repository.

Parameters

transactionReceipt - the transaction receipt to store

txIndex - the index of the transaction in the block

txHash - the hash of the transaction

blockHash - the hash of the block that this transaction belongs to