Interface LogWithMetadata


public interface LogWithMetadata
A Log entry from a transaction execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hyperledger.besu.datatypes.Hash
    Gets block hash.
    long
    Gets block number.
    org.apache.tuweni.bytes.Bytes
    The data, of possibly unlimited length, for this log entry.
    org.hyperledger.besu.datatypes.Address
    The address of the contract writing this log message.
    int
    Gets log index.
    List<org.hyperledger.besu.datatypes.LogTopic>
    The list of 32 byte log topics, possibly empty.
    org.hyperledger.besu.datatypes.Hash
    Gets transaction hash.
    int
    Gets transaction index.
    boolean
    Is removed.
  • Method Details

    • getLogger

      org.hyperledger.besu.datatypes.Address getLogger()
      The address of the contract writing this log message.
      Returns:
      The loggers address.
    • getTopics

      List<org.hyperledger.besu.datatypes.LogTopic> getTopics()
      The list of 32 byte log topics, possibly empty.
      Returns:
      The list, possibly zero length, of log topics.
    • getData

      org.apache.tuweni.bytes.Bytes getData()
      The data, of possibly unlimited length, for this log entry.
      Returns:
      The log data.
    • getLogIndex

      int getLogIndex()
      Gets log index.
      Returns:
      the log index
    • getBlockNumber

      long getBlockNumber()
      Gets block number.
      Returns:
      the block number
    • getBlockHash

      org.hyperledger.besu.datatypes.Hash getBlockHash()
      Gets block hash.
      Returns:
      the block hash
    • getTransactionHash

      org.hyperledger.besu.datatypes.Hash getTransactionHash()
      Gets transaction hash.
      Returns:
      the transaction hash
    • getTransactionIndex

      int getTransactionIndex()
      Gets transaction index.
      Returns:
      the transaction index
    • isRemoved

      boolean isRemoved()
      Is removed.
      Returns:
      the boolean