ValueTransfer
instead.@Deprecated public class TxTypeValueTransfer extends AbstractTxType
TxType.Type
Modifier | Constructor and Description |
---|---|
protected |
TxTypeValueTransfer(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String from)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TxTypeValueTransfer |
createTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String from)
Deprecated.
|
static TxTypeValueTransfer |
decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.
decode transaction hash from sender to reconstruct transaction with fee payer signature.
|
static TxTypeValueTransfer |
decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.
|
TxType.Type |
getType()
Deprecated.
This method is overridden as VALUE_TRANSFER type.
|
java.util.List<org.web3j.rlp.RlpType> |
rlpValues()
Deprecated.
create RlpType List which contains nonce, gas price, gas limit, to, value and from.
|
addSenderSignatureData, addSenderSignatureData, addSenderSignatureData, addSignatureData, addSignatureData, getEcKeyPairsForSenderSign, getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNewSenderSignatureDataSet, getNonce, getSenderSignatureData, getSenderSignatureDataSet, getSignatureData, getTo, getValue, setSenderSignatureData, sign
protected TxTypeValueTransfer(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from)
public static TxTypeValueTransfer createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from)
public static TxTypeValueTransfer decodeFromRawTransaction(byte[] rawTransaction)
rawTransaction
- RLP-encoded signed transaction from senderpublic static TxTypeValueTransfer decodeFromRawTransaction(java.lang.String rawTransaction)
rawTransaction
- RLP-encoded signed transaction from senderpublic TxType.Type getType()
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
rlpValues
in interface TxType
rlpValues
in class AbstractTxType