Package org.hyperledger.besu.plugin.data
Interface LogWithMetadata
-
public interface LogWithMetadata
A Log entry from a transaction execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hash
getBlockHash()
long
getBlockNumber()
org.apache.tuweni.bytes.Bytes
getData()
The data, of possibly unlimited length, for this log entry.Address
getLogger()
The address of the contract writing this log message.int
getLogIndex()
java.util.List<? extends org.apache.tuweni.bytes.Bytes32>
getTopics()
The list of 32 byte log topics, possibly empty.Hash
getTransactionHash()
int
getTransactionIndex()
boolean
isRemoved()
-
-
-
Method Detail
-
getLogger
Address getLogger()
The address of the contract writing this log message.- Returns:
- The loggers address.
-
getTopics
java.util.List<? extends org.apache.tuweni.bytes.Bytes32> 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()
-
getBlockNumber
long getBlockNumber()
-
getBlockHash
Hash getBlockHash()
-
getTransactionHash
Hash getTransactionHash()
-
getTransactionIndex
int getTransactionIndex()
-
isRemoved
boolean isRemoved()
-
-