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