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
ConstructorDescriptionTransaction
(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 TypeMethodDescriptionboolean
getFrom()
getGas()
getHash()
getInput()
getNonce()
getR()
getRaw()
getS()
getTo()
getType()
long
getV()
getValue()
int
hashCode()
void
setAccessList
(List<AccessListObject> accessList) void
setBlockHash
(String blockHash) void
setBlockNumber
(String blockNumber) void
setChainId
(String chainId) void
setCreates
(String creates) void
void
void
setGasPrice
(String gasPrice) void
void
void
setMaxFeePerGas
(String maxFeePerGas) void
setMaxPriorityFeePerGas
(String maxPriorityFeePerGas) void
void
setPublicKey
(String publicKey) void
void
void
void
void
setTransactionIndex
(String transactionIndex) void
void
void
-
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()
-