Class Log
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.Log
-
- Direct Known Subclasses:
EthLog.LogObject
public class Log extends java.lang.Object
Log object used byEthLog
andEthGetTransactionReceipt
.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 Summary
Constructors Constructor Description Log()
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAddress()
java.lang.String
getBlockHash()
java.math.BigInteger
getBlockNumber()
java.lang.String
getBlockNumberRaw()
java.lang.String
getData()
java.math.BigInteger
getLogIndex()
java.lang.String
getLogIndexRaw()
java.util.List<java.lang.String>
getTopics()
java.lang.String
getTransactionHash()
java.math.BigInteger
getTransactionIndex()
java.lang.String
getTransactionIndexRaw()
java.lang.String
getType()
int
hashCode()
boolean
isRemoved()
void
setAddress(java.lang.String address)
void
setBlockHash(java.lang.String blockHash)
void
setBlockNumber(java.lang.String blockNumber)
void
setData(java.lang.String data)
void
setLogIndex(java.lang.String logIndex)
void
setRemoved(boolean removed)
void
setTopics(java.util.List<java.lang.String> topics)
void
setTransactionHash(java.lang.String transactionHash)
void
setTransactionIndex(java.lang.String transactionIndex)
void
setType(java.lang.String type)
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-