Interface TransactionReceipt


  • public interface TransactionReceipt
    A transaction receipt, containing information pertaining a transaction execution.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.tuweni.bytes.Bytes getBloomFilter()
      Returns the Bytes for the logs generated by the transaction
      long getCumulativeGasUsed()
      Returns the total amount of gas consumed in the block after the transaction has been processed.
      java.util.List<? extends Log> getLogs()
      Returns the logs generated by the transaction.
      java.util.Optional<org.apache.tuweni.bytes.Bytes> getRevertReason()
      Returns the ABI-encoded revert reason for the failed transaction (if applicable)
      int getStatus()
      Returns the status code for the status-encoded transaction receipt
    • Method Detail

      • 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

        java.util.List<? extends Log> getLogs()
        Returns the logs generated by the transaction.
        Returns:
        the logs generated by the transaction
      • getBloomFilter

        org.apache.tuweni.bytes.Bytes 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

        java.util.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)