public class LegacyTransaction extends java.lang.Object implements ITransaction
| Constructor and Description |
|---|
LegacyTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String data) |
LegacyTransaction(TransactionType type,
java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String data)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.web3j.rlp.RlpType> |
asRlpValues(Sign.SignatureData signatureData) |
static LegacyTransaction |
createContractTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String init) |
static LegacyTransaction |
createEtherTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value) |
static LegacyTransaction |
createTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String data) |
static LegacyTransaction |
createTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.lang.String data) |
java.lang.String |
getData() |
java.math.BigInteger |
getGasLimit() |
java.math.BigInteger |
getGasPrice() |
java.math.BigInteger |
getNonce() |
java.lang.String |
getTo() |
TransactionType |
getType() |
java.math.BigInteger |
getValue() |
public LegacyTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String data)
@Deprecated public LegacyTransaction(TransactionType type, java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String data)
public java.util.List<org.web3j.rlp.RlpType> asRlpValues(Sign.SignatureData signatureData)
asRlpValues in interface ITransactionpublic static LegacyTransaction createContractTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String init)
public static LegacyTransaction createEtherTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value)
public static LegacyTransaction createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.lang.String data)
public static LegacyTransaction createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String data)
public java.math.BigInteger getNonce()
getNonce in interface ITransactionpublic java.math.BigInteger getGasPrice()
getGasPrice in interface ITransactionpublic java.math.BigInteger getGasLimit()
getGasLimit in interface ITransactionpublic java.lang.String getTo()
getTo in interface ITransactionpublic java.math.BigInteger getValue()
getValue in interface ITransactionpublic java.lang.String getData()
getData in interface ITransactionpublic TransactionType getType()
getType in interface ITransaction