Class Transaction
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.Transaction
-
- Direct Known Subclasses:
EthBlock.TransactionObject
public class Transaction extends java.lang.Object
Transaction object used by bothEthTransaction
andEthBlock
.
-
-
Constructor Summary
Constructors Constructor Description Transaction()
Transaction(java.lang.String hash, java.lang.String nonce, java.lang.String blockHash, java.lang.String blockNumber, java.lang.String transactionIndex, java.lang.String from, java.lang.String to, java.lang.String value, java.lang.String gas, java.lang.String gasPrice, java.lang.String input, java.lang.String creates, java.lang.String publicKey, java.lang.String raw, java.lang.String r, java.lang.String s, long v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getBlockHash()
java.math.BigInteger
getBlockNumber()
java.lang.String
getBlockNumberRaw()
java.lang.Long
getChainId()
java.lang.String
getCreates()
java.lang.String
getFrom()
java.math.BigInteger
getGas()
java.math.BigInteger
getGasPrice()
java.lang.String
getGasPriceRaw()
java.lang.String
getGasRaw()
java.lang.String
getHash()
java.lang.String
getInput()
java.math.BigInteger
getNonce()
java.lang.String
getNonceRaw()
java.lang.String
getPublicKey()
java.lang.String
getR()
java.lang.String
getRaw()
java.lang.String
getS()
java.lang.String
getTo()
java.math.BigInteger
getTransactionIndex()
java.lang.String
getTransactionIndexRaw()
long
getV()
java.math.BigInteger
getValue()
java.lang.String
getValueRaw()
int
hashCode()
void
setBlockHash(java.lang.String blockHash)
void
setBlockNumber(java.lang.String blockNumber)
void
setCreates(java.lang.String creates)
void
setFrom(java.lang.String from)
void
setGas(java.lang.String gas)
void
setGasPrice(java.lang.String gasPrice)
void
setHash(java.lang.String hash)
void
setInput(java.lang.String input)
void
setNonce(java.lang.String nonce)
void
setPublicKey(java.lang.String publicKey)
void
setR(java.lang.String r)
void
setRaw(java.lang.String raw)
void
setS(java.lang.String s)
void
setTo(java.lang.String to)
void
setTransactionIndex(java.lang.String transactionIndex)
void
setV(java.lang.Object v)
void
setValue(java.lang.String value)
-
-
-
Constructor Detail
-
Transaction
public Transaction()
-
Transaction
public Transaction(java.lang.String hash, java.lang.String nonce, java.lang.String blockHash, java.lang.String blockNumber, java.lang.String transactionIndex, java.lang.String from, java.lang.String to, java.lang.String value, java.lang.String gas, java.lang.String gasPrice, java.lang.String input, java.lang.String creates, java.lang.String publicKey, java.lang.String raw, java.lang.String r, java.lang.String s, long v)
-
-
Method Detail
-
getHash
public java.lang.String getHash()
-
setHash
public void setHash(java.lang.String hash)
-
getNonce
public java.math.BigInteger getNonce()
-
getNonceRaw
public java.lang.String getNonceRaw()
-
setNonce
public void setNonce(java.lang.String nonce)
-
getBlockHash
public java.lang.String getBlockHash()
-
setBlockHash
public void setBlockHash(java.lang.String blockHash)
-
getBlockNumber
public java.math.BigInteger getBlockNumber()
-
getBlockNumberRaw
public java.lang.String getBlockNumberRaw()
-
setBlockNumber
public void setBlockNumber(java.lang.String blockNumber)
-
getTransactionIndex
public java.math.BigInteger getTransactionIndex()
-
getTransactionIndexRaw
public java.lang.String getTransactionIndexRaw()
-
setTransactionIndex
public void setTransactionIndex(java.lang.String transactionIndex)
-
getFrom
public java.lang.String getFrom()
-
setFrom
public void setFrom(java.lang.String from)
-
getTo
public java.lang.String getTo()
-
setTo
public void setTo(java.lang.String to)
-
getValue
public java.math.BigInteger getValue()
-
getValueRaw
public java.lang.String getValueRaw()
-
setValue
public void setValue(java.lang.String value)
-
getGasPrice
public java.math.BigInteger getGasPrice()
-
getGasPriceRaw
public java.lang.String getGasPriceRaw()
-
setGasPrice
public void setGasPrice(java.lang.String gasPrice)
-
getGas
public java.math.BigInteger getGas()
-
getGasRaw
public java.lang.String getGasRaw()
-
setGas
public void setGas(java.lang.String gas)
-
getInput
public java.lang.String getInput()
-
setInput
public void setInput(java.lang.String input)
-
getCreates
public java.lang.String getCreates()
-
setCreates
public void setCreates(java.lang.String creates)
-
getPublicKey
public java.lang.String getPublicKey()
-
setPublicKey
public void setPublicKey(java.lang.String publicKey)
-
getRaw
public java.lang.String getRaw()
-
setRaw
public void setRaw(java.lang.String raw)
-
getR
public java.lang.String getR()
-
setR
public void setR(java.lang.String r)
-
getS
public java.lang.String getS()
-
setS
public void setS(java.lang.String s)
-
getV
public long getV()
-
getChainId
public java.lang.Long getChainId()
-
setV
public void setV(java.lang.Object v)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-