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 TypeMethodDescriptionbooleangetFrom()getLogs()getRoot()getTo()getType()inthashCode()booleanvoidsetBlockHash(String blockHash) voidsetBlockNumber(String blockNumber) voidsetContractAddress(String contractAddress) voidsetCumulativeGasUsed(String cumulativeGasUsed) voidsetEffectiveGasPrice(String effectiveGasPrice) voidvoidsetGasUsed(String gasUsed) voidvoidsetLogsBloom(String logsBloom) voidsetRevertReason(String revertReason) voidvoidvoidvoidsetTransactionHash(String transactionHash) voidsetTransactionIndex(String transactionIndex) voidtoString()
-
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
-