Class Log

  • Direct Known Subclasses:
    EthLog.LogObject

    public class Log
    extends java.lang.Object
    Log object used by EthLog and EthGetTransactionReceipt.

    It's not clear in the docs If only a list of hashes are returned for filters created with eth_newBlockFilter or eth_newPendingTransactionFilter.

    • Constructor Detail

      • Log

        public Log()
      • Log

        public Log​(boolean removed,
                   java.lang.String logIndex,
                   java.lang.String transactionIndex,
                   java.lang.String transactionHash,
                   java.lang.String blockHash,
                   java.lang.String blockNumber,
                   java.lang.String address,
                   java.lang.String data,
                   java.lang.String type,
                   java.util.List<java.lang.String> topics)
    • Method Detail

      • isRemoved

        public boolean isRemoved()
      • setRemoved

        public void setRemoved​(boolean removed)
      • getLogIndex

        public java.math.BigInteger getLogIndex()
      • getLogIndexRaw

        public java.lang.String getLogIndexRaw()
      • setLogIndex

        public void setLogIndex​(java.lang.String logIndex)
      • getTransactionIndex

        public java.math.BigInteger getTransactionIndex()
      • getTransactionIndexRaw

        public java.lang.String getTransactionIndexRaw()
      • setTransactionIndex

        public void setTransactionIndex​(java.lang.String transactionIndex)
      • getTransactionHash

        public java.lang.String getTransactionHash()
      • setTransactionHash

        public void setTransactionHash​(java.lang.String transactionHash)
      • getBlockHash

        public java.lang.String getBlockHash()
      • setBlockHash

        public void setBlockHash​(java.lang.String blockHash)
      • getBlockNumber

        public java.math.BigInteger getBlockNumber()
      • getBlockNumberRaw

        public java.lang.String getBlockNumberRaw()
      • setBlockNumber

        public void setBlockNumber​(java.lang.String blockNumber)
      • getAddress

        public java.lang.String getAddress()
      • setAddress

        public void setAddress​(java.lang.String address)
      • getData

        public java.lang.String getData()
      • setData

        public void setData​(java.lang.String data)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • getTopics

        public java.util.List<java.lang.String> getTopics()
      • setTopics

        public void setTopics​(java.util.List<java.lang.String> topics)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object