Class Transaction
java.lang.Object
org.web3j.protocol.core.methods.response.Transaction
- Direct Known Subclasses:
EthBlock.TransactionObject
Transaction object used by both
EthTransaction and EthBlock.-
Constructor Summary
ConstructorsConstructorDescriptionTransaction(String hash, String nonce, String blockHash, String blockNumber, String transactionIndex, String from, String to, String value, String gas, String gasPrice, String input, String creates, String publicKey, String raw, String r, String s, long v, String type, String maxFeePerGas, String maxPriorityFeePerGas, List accessList) Deprecated.Transaction(String hash, String nonce, String blockHash, String blockNumber, String chainId, String transactionIndex, String from, String to, String value, String gas, String gasPrice, String input, String creates, String publicKey, String raw, String r, String s, long v, String type, String maxFeePerGas, String maxPriorityFeePerGas, List accessList) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFrom()getGas()getHash()getInput()getNonce()getR()getRaw()getS()getTo()getType()longgetV()getValue()inthashCode()voidsetAccessList(List<AccessListObject> accessList) voidsetBlockHash(String blockHash) voidsetBlockNumber(String blockNumber) voidsetChainId(String chainId) voidsetCreates(String creates) voidvoidvoidsetGasPrice(String gasPrice) voidvoidvoidsetMaxFeePerGas(String maxFeePerGas) voidsetMaxPriorityFeePerGas(String maxPriorityFeePerGas) voidvoidsetPublicKey(String publicKey) voidvoidvoidvoidvoidsetTransactionIndex(String transactionIndex) voidvoidvoid
-
Constructor Details
-
Transaction
public Transaction() -
Transaction
@Deprecated public Transaction(String hash, String nonce, String blockHash, String blockNumber, String transactionIndex, String from, String to, String value, String gas, String gasPrice, String input, String creates, String publicKey, String raw, String r, String s, long v, String type, String maxFeePerGas, String maxPriorityFeePerGas, List accessList) Deprecated.Use constructor with ChainId -
Transaction
public Transaction(String hash, String nonce, String blockHash, String blockNumber, String chainId, String transactionIndex, String from, String to, String value, String gas, String gasPrice, String input, String creates, String publicKey, String raw, String r, String s, long v, String type, String maxFeePerGas, String maxPriorityFeePerGas, List accessList)
-
-
Method Details
-
setChainId
-
getHash
-
setHash
-
getNonce
-
setNonce
-
getNonceRaw
-
getBlockHash
-
setBlockHash
-
getBlockNumber
-
setBlockNumber
-
getBlockNumberRaw
-
getTransactionIndex
-
setTransactionIndex
-
getTransactionIndexRaw
-
getFrom
-
setFrom
-
getTo
-
setTo
-
getValue
-
setValue
-
getValueRaw
-
getGasPrice
-
setGasPrice
-
getGasPriceRaw
-
getGas
-
setGas
-
getGasRaw
-
getInput
-
setInput
-
getCreates
-
setCreates
-
getPublicKey
-
setPublicKey
-
getRaw
-
setRaw
-
getR
-
setR
-
getS
-
setS
-
getV
public long getV() -
setV
-
getChainId
-
getChainIdRaw
-
getType
-
setType
-
getMaxFeePerGas
-
getMaxFeePerGasRaw
-
setMaxFeePerGas
-
getMaxPriorityFeePerGasRaw
-
getMaxPriorityFeePerGas
-
setMaxPriorityFeePerGas
-
getAccessList
-
setAccessList
-
equals
-
hashCode
public int hashCode()
-