tuweni / org.apache.tuweni.eth / TransactionReceipt / <init>

<init>

TransactionReceipt(stateRoot: Bytes32!, cumulativeGasUsed: Long, bloomFilter: LogsBloomFilter!, logs: MutableList<Log!>!)

Creates an instance of a state root-encoded transaction receipt.

Parameters

stateRoot - Bytes32!: the state root for the world state after the transaction has been processed

cumulativeGasUsed - Long: the total amount of gas consumed in the block after this transaction

bloomFilter - LogsBloomFilter!: the bloom filter of the logs

logs - MutableList<Log!>!: the logs generated within the transaction

TransactionReceipt(status: Int, cumulativeGasUsed: Long, bloomFilter: LogsBloomFilter!, logs: MutableList<Log!>!)

Creates an instance of a status-encoded transaction receipt.

Parameters

status - Int: the status code for the transaction (1 for success and 0 for failure)

cumulativeGasUsed - Long: the total amount of gas consumed in the block after this transaction

bloomFilter - LogsBloomFilter!: the bloom filter of the logs

logs - MutableList<Log!>!: the logs generated within the transaction