Interface TransactionReceipt
public interface TransactionReceipt
A transaction receipt, containing information pertaining to a transaction execution.
-
Method Summary
Modifier and TypeMethodDescriptionorg.hyperledger.besu.datatypes.LogsBloomFilterReturns the Bytes for the logs generated by the transactionlongReturns the total amount of gas consumed in the block after the transaction has been processed.getLogs()Returns the logs generated by the transaction.Optional<org.apache.tuweni.bytes.Bytes> Returns the ABI-encoded revert reason for the failed transaction (if applicable)intReturns the status code for the status-encoded transaction receipt
-
Method Details
-
getCumulativeGasUsed
long getCumulativeGasUsed()Returns the total amount of gas consumed in the block after the transaction has been processed.- Returns:
- the total amount of gas consumed in the block after the transaction has been processed
-
getLogs
-
getBloomFilter
org.hyperledger.besu.datatypes.LogsBloomFilter getBloomFilter()Returns the Bytes for the logs generated by the transaction- Returns:
- the Bytes for the logs generated by the transaction
-
getStatus
int getStatus()Returns the status code for the status-encoded transaction receipt- Returns:
- the status code if the transaction receipt is status-encoded; otherwise
-1
-
getRevertReason
Optional<org.apache.tuweni.bytes.Bytes> getRevertReason()Returns the ABI-encoded revert reason for the failed transaction (if applicable)- Returns:
- the ABI-encoded revert reason for the failed transaction (if applicable)
-