Class TransactionReceipt
java.lang.Object
org.web3j.protocol.core.methods.response.TransactionReceipt
- Direct Known Subclasses:
EmptyTransactionReceipt
TransactionReceipt object used by
EthGetTransactionReceipt
.-
Constructor Summary
ConstructorsConstructorDescriptionTransactionReceipt
(String transactionHash, String transactionIndex, String blockHash, String blockNumber, String cumulativeGasUsed, String gasUsed, String contractAddress, String root, String status, String from, String to, List<Log> logs, String logsBloom, String revertReason, String type, String effectiveGasPrice) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFrom()
getLogs()
getRoot()
getTo()
getType()
int
hashCode()
boolean
void
setBlockHash
(String blockHash) void
setBlockNumber
(String blockNumber) void
setContractAddress
(String contractAddress) void
setCumulativeGasUsed
(String cumulativeGasUsed) void
setEffectiveGasPrice
(String effectiveGasPrice) void
void
setGasUsed
(String gasUsed) void
void
setLogsBloom
(String logsBloom) void
setRevertReason
(String revertReason) void
void
void
void
setTransactionHash
(String transactionHash) void
setTransactionIndex
(String transactionIndex) void
toString()
-
Constructor Details
-
TransactionReceipt
public TransactionReceipt() -
TransactionReceipt
public TransactionReceipt(String transactionHash, String transactionIndex, String blockHash, String blockNumber, String cumulativeGasUsed, String gasUsed, String contractAddress, String root, String status, String from, String to, List<Log> logs, String logsBloom, String revertReason, String type, String effectiveGasPrice)
-
-
Method Details
-
getTransactionHash
-
setTransactionHash
-
getTransactionIndex
-
getTransactionIndexRaw
-
setTransactionIndex
-
getBlockHash
-
setBlockHash
-
getBlockNumber
-
getBlockNumberRaw
-
setBlockNumber
-
getCumulativeGasUsed
-
getCumulativeGasUsedRaw
-
setCumulativeGasUsed
-
getGasUsed
-
getGasUsedRaw
-
setGasUsed
-
getContractAddress
-
setContractAddress
-
getRoot
-
setRoot
-
getStatus
-
setStatus
-
isStatusOK
public boolean isStatusOK() -
getFrom
-
setFrom
-
getTo
-
setTo
-
getLogs
-
setLogs
-
getLogsBloom
-
setLogsBloom
-
getRevertReason
-
setRevertReason
-
getType
-
setType
-
getEffectiveGasPrice
-
setEffectiveGasPrice
-
equals
-
hashCode
public int hashCode() -
toString
-