Package org.web3j.tx.response
Class EmptyTransactionReceipt
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.TransactionReceipt
-
- org.web3j.tx.response.EmptyTransactionReceipt
-
public class EmptyTransactionReceipt extends TransactionReceipt
An empty transaction receipt object containing only the transaction hash. This is to support theQueuingTransactionReceiptProcessor
andNoOpProcessor
.
-
-
Constructor Summary
Constructors Constructor Description EmptyTransactionReceipt(java.lang.String transactionHash)
-
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
getRoot()
java.lang.String
getStatus()
java.lang.String
getTo()
java.lang.String
getTransactionHash()
java.math.BigInteger
getTransactionIndex()
java.lang.String
getTransactionIndexRaw()
int
hashCode()
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
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)
-
Methods inherited from class org.web3j.protocol.core.methods.response.TransactionReceipt
getRevertReason, isStatusOK, setRevertReason, toString
-
-
-
-
Method Detail
-
getTransactionHash
public java.lang.String getTransactionHash()
- Overrides:
getTransactionHash
in classTransactionReceipt
-
setTransactionHash
public void setTransactionHash(java.lang.String transactionHash)
- Overrides:
setTransactionHash
in classTransactionReceipt
-
getTransactionIndex
public java.math.BigInteger getTransactionIndex()
- Overrides:
getTransactionIndex
in classTransactionReceipt
-
getTransactionIndexRaw
public java.lang.String getTransactionIndexRaw()
- Overrides:
getTransactionIndexRaw
in classTransactionReceipt
-
setTransactionIndex
public void setTransactionIndex(java.lang.String transactionIndex)
- Overrides:
setTransactionIndex
in classTransactionReceipt
-
getBlockHash
public java.lang.String getBlockHash()
- Overrides:
getBlockHash
in classTransactionReceipt
-
setBlockHash
public void setBlockHash(java.lang.String blockHash)
- Overrides:
setBlockHash
in classTransactionReceipt
-
getBlockNumber
public java.math.BigInteger getBlockNumber()
- Overrides:
getBlockNumber
in classTransactionReceipt
-
getBlockNumberRaw
public java.lang.String getBlockNumberRaw()
- Overrides:
getBlockNumberRaw
in classTransactionReceipt
-
setBlockNumber
public void setBlockNumber(java.lang.String blockNumber)
- Overrides:
setBlockNumber
in classTransactionReceipt
-
getCumulativeGasUsed
public java.math.BigInteger getCumulativeGasUsed()
- Overrides:
getCumulativeGasUsed
in classTransactionReceipt
-
getCumulativeGasUsedRaw
public java.lang.String getCumulativeGasUsedRaw()
- Overrides:
getCumulativeGasUsedRaw
in classTransactionReceipt
-
setCumulativeGasUsed
public void setCumulativeGasUsed(java.lang.String cumulativeGasUsed)
- Overrides:
setCumulativeGasUsed
in classTransactionReceipt
-
getGasUsed
public java.math.BigInteger getGasUsed()
- Overrides:
getGasUsed
in classTransactionReceipt
-
getGasUsedRaw
public java.lang.String getGasUsedRaw()
- Overrides:
getGasUsedRaw
in classTransactionReceipt
-
setGasUsed
public void setGasUsed(java.lang.String gasUsed)
- Overrides:
setGasUsed
in classTransactionReceipt
-
getContractAddress
public java.lang.String getContractAddress()
- Overrides:
getContractAddress
in classTransactionReceipt
-
setContractAddress
public void setContractAddress(java.lang.String contractAddress)
- Overrides:
setContractAddress
in classTransactionReceipt
-
getRoot
public java.lang.String getRoot()
- Overrides:
getRoot
in classTransactionReceipt
-
setRoot
public void setRoot(java.lang.String root)
- Overrides:
setRoot
in classTransactionReceipt
-
getStatus
public java.lang.String getStatus()
- Overrides:
getStatus
in classTransactionReceipt
-
setStatus
public void setStatus(java.lang.String status)
- Overrides:
setStatus
in classTransactionReceipt
-
getFrom
public java.lang.String getFrom()
- Overrides:
getFrom
in classTransactionReceipt
-
setFrom
public void setFrom(java.lang.String from)
- Overrides:
setFrom
in classTransactionReceipt
-
getTo
public java.lang.String getTo()
- Overrides:
getTo
in classTransactionReceipt
-
setTo
public void setTo(java.lang.String to)
- Overrides:
setTo
in classTransactionReceipt
-
getLogs
public java.util.List<Log> getLogs()
- Overrides:
getLogs
in classTransactionReceipt
-
setLogs
public void setLogs(java.util.List<Log> logs)
- Overrides:
setLogs
in classTransactionReceipt
-
getLogsBloom
public java.lang.String getLogsBloom()
- Overrides:
getLogsBloom
in classTransactionReceipt
-
setLogsBloom
public void setLogsBloom(java.lang.String logsBloom)
- Overrides:
setLogsBloom
in classTransactionReceipt
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classTransactionReceipt
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTransactionReceipt
-
-