Package org.web3j.tx.response
Class EmptyTransactionReceipt
java.lang.Object
org.web3j.protocol.core.methods.response.TransactionReceipt
org.web3j.tx.response.EmptyTransactionReceipt
An empty transaction receipt object containing only the transaction hash. This is to support the
QueuingTransactionReceiptProcessor
and NoOpProcessor
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFrom()
getLogs()
getRoot()
getTo()
int
hashCode()
void
setBlockHash
(String blockHash) void
setBlockNumber
(String blockNumber) void
setContractAddress
(String contractAddress) void
setCumulativeGasUsed
(String cumulativeGasUsed) void
void
setGasUsed
(String gasUsed) void
void
setLogsBloom
(String logsBloom) void
void
void
void
setTransactionHash
(String transactionHash) void
setTransactionIndex
(String transactionIndex) Methods inherited from class org.web3j.protocol.core.methods.response.TransactionReceipt
getEffectiveGasPrice, getRevertReason, getType, isStatusOK, setEffectiveGasPrice, setRevertReason, setType, toString
-
Constructor Details
-
EmptyTransactionReceipt
-
-
Method Details
-
getTransactionHash
- Overrides:
getTransactionHash
in classTransactionReceipt
-
setTransactionHash
- Overrides:
setTransactionHash
in classTransactionReceipt
-
getTransactionIndex
- Overrides:
getTransactionIndex
in classTransactionReceipt
-
getTransactionIndexRaw
- Overrides:
getTransactionIndexRaw
in classTransactionReceipt
-
setTransactionIndex
- Overrides:
setTransactionIndex
in classTransactionReceipt
-
getBlockHash
- Overrides:
getBlockHash
in classTransactionReceipt
-
setBlockHash
- Overrides:
setBlockHash
in classTransactionReceipt
-
getBlockNumber
- Overrides:
getBlockNumber
in classTransactionReceipt
-
getBlockNumberRaw
- Overrides:
getBlockNumberRaw
in classTransactionReceipt
-
setBlockNumber
- Overrides:
setBlockNumber
in classTransactionReceipt
-
getCumulativeGasUsed
- Overrides:
getCumulativeGasUsed
in classTransactionReceipt
-
getCumulativeGasUsedRaw
- Overrides:
getCumulativeGasUsedRaw
in classTransactionReceipt
-
setCumulativeGasUsed
- Overrides:
setCumulativeGasUsed
in classTransactionReceipt
-
getGasUsed
- Overrides:
getGasUsed
in classTransactionReceipt
-
getGasUsedRaw
- Overrides:
getGasUsedRaw
in classTransactionReceipt
-
setGasUsed
- Overrides:
setGasUsed
in classTransactionReceipt
-
getContractAddress
- Overrides:
getContractAddress
in classTransactionReceipt
-
setContractAddress
- Overrides:
setContractAddress
in classTransactionReceipt
-
getRoot
- Overrides:
getRoot
in classTransactionReceipt
-
setRoot
- Overrides:
setRoot
in classTransactionReceipt
-
getStatus
- Overrides:
getStatus
in classTransactionReceipt
-
setStatus
- Overrides:
setStatus
in classTransactionReceipt
-
getFrom
- Overrides:
getFrom
in classTransactionReceipt
-
setFrom
- Overrides:
setFrom
in classTransactionReceipt
-
getTo
- Overrides:
getTo
in classTransactionReceipt
-
setTo
- Overrides:
setTo
in classTransactionReceipt
-
getLogs
- Overrides:
getLogs
in classTransactionReceipt
-
setLogs
- Overrides:
setLogs
in classTransactionReceipt
-
getLogsBloom
- Overrides:
getLogsBloom
in classTransactionReceipt
-
setLogsBloom
- Overrides:
setLogsBloom
in classTransactionReceipt
-
equals
- Overrides:
equals
in classTransactionReceipt
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTransactionReceipt
-