Class TransactionReceipt
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.TransactionReceipt
-
- Direct Known Subclasses:
EmptyTransactionReceipt
public class TransactionReceipt extends java.lang.Object
TransactionReceipt object used byEthGetTransactionReceipt
.
-
-
Constructor Summary
Constructors Constructor Description TransactionReceipt()
TransactionReceipt(java.lang.String transactionHash, java.lang.String transactionIndex, java.lang.String blockHash, java.lang.String blockNumber, java.lang.String cumulativeGasUsed, java.lang.String gasUsed, java.lang.String contractAddress, java.lang.String root, java.lang.String status, java.lang.String from, java.lang.String to, java.util.List<Log> logs, java.lang.String logsBloom, java.lang.String revertReason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getBlockHash()
java.math.BigInteger
getBlockNumber()
java.lang.String
getBlockNumberRaw()
java.lang.String
getContractAddress()
java.math.BigInteger
getCumulativeGasUsed()
java.lang.String
getCumulativeGasUsedRaw()
java.lang.String
getFrom()
java.math.BigInteger
getGasUsed()
java.lang.String
getGasUsedRaw()
java.util.List<Log>
getLogs()
java.lang.String
getLogsBloom()
java.lang.String
getRevertReason()
java.lang.String
getRoot()
java.lang.String
getStatus()
java.lang.String
getTo()
java.lang.String
getTransactionHash()
java.math.BigInteger
getTransactionIndex()
java.lang.String
getTransactionIndexRaw()
int
hashCode()
boolean
isStatusOK()
void
setBlockHash(java.lang.String blockHash)
void
setBlockNumber(java.lang.String blockNumber)
void
setContractAddress(java.lang.String contractAddress)
void
setCumulativeGasUsed(java.lang.String cumulativeGasUsed)
void
setFrom(java.lang.String from)
void
setGasUsed(java.lang.String gasUsed)
void
setLogs(java.util.List<Log> logs)
void
setLogsBloom(java.lang.String logsBloom)
void
setRevertReason(java.lang.String revertReason)
void
setRoot(java.lang.String root)
void
setStatus(java.lang.String status)
void
setTo(java.lang.String to)
void
setTransactionHash(java.lang.String transactionHash)
void
setTransactionIndex(java.lang.String transactionIndex)
java.lang.String
toString()
-
-
-
Constructor Detail
-
TransactionReceipt
public TransactionReceipt()
-
TransactionReceipt
public TransactionReceipt(java.lang.String transactionHash, java.lang.String transactionIndex, java.lang.String blockHash, java.lang.String blockNumber, java.lang.String cumulativeGasUsed, java.lang.String gasUsed, java.lang.String contractAddress, java.lang.String root, java.lang.String status, java.lang.String from, java.lang.String to, java.util.List<Log> logs, java.lang.String logsBloom, java.lang.String revertReason)
-
-
Method Detail
-
getTransactionHash
public java.lang.String getTransactionHash()
-
setTransactionHash
public void setTransactionHash(java.lang.String transactionHash)
-
getTransactionIndex
public java.math.BigInteger getTransactionIndex()
-
getTransactionIndexRaw
public java.lang.String getTransactionIndexRaw()
-
setTransactionIndex
public void setTransactionIndex(java.lang.String transactionIndex)
-
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)
-
getCumulativeGasUsed
public java.math.BigInteger getCumulativeGasUsed()
-
getCumulativeGasUsedRaw
public java.lang.String getCumulativeGasUsedRaw()
-
setCumulativeGasUsed
public void setCumulativeGasUsed(java.lang.String cumulativeGasUsed)
-
getGasUsed
public java.math.BigInteger getGasUsed()
-
getGasUsedRaw
public java.lang.String getGasUsedRaw()
-
setGasUsed
public void setGasUsed(java.lang.String gasUsed)
-
getContractAddress
public java.lang.String getContractAddress()
-
setContractAddress
public void setContractAddress(java.lang.String contractAddress)
-
getRoot
public java.lang.String getRoot()
-
setRoot
public void setRoot(java.lang.String root)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
isStatusOK
public boolean isStatusOK()
-
getFrom
public java.lang.String getFrom()
-
setFrom
public void setFrom(java.lang.String from)
-
getTo
public java.lang.String getTo()
-
setTo
public void setTo(java.lang.String to)
-
getLogs
public java.util.List<Log> getLogs()
-
setLogs
public void setLogs(java.util.List<Log> logs)
-
getLogsBloom
public java.lang.String getLogsBloom()
-
setLogsBloom
public void setLogsBloom(java.lang.String logsBloom)
-
getRevertReason
public java.lang.String getRevertReason()
-
setRevertReason
public void setRevertReason(java.lang.String revertReason)
-
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
-
-