public abstract class AbstractFeeDelegatedWithRatioTransaction extends AbstractFeeDelegatedTransaction
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFeeDelegatedWithRatioTransaction.Builder<B extends AbstractFeeDelegatedWithRatioTransaction.Builder>
AbstractFeeDelegatedWithRatioTransaction Builder class.
|
Constructor and Description |
---|
AbstractFeeDelegatedWithRatioTransaction(AbstractFeeDelegatedWithRatioTransaction.Builder builder)
Create an AbstractFeeDelegatedWithRatioTransaction instance
|
AbstractFeeDelegatedWithRatioTransaction(Klay klaytnCall,
java.lang.String type,
java.lang.String from,
java.lang.String nonce,
java.lang.String gas,
java.lang.String gasPrice,
java.lang.String chainId,
java.util.List<SignatureData> signatures,
java.lang.String feePayer,
java.util.List<SignatureData> feePayerSignatures,
java.lang.String feeRatio)
Create an AbstractFeeDelegatedWithRatioTransaction instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj,
boolean checkSig)
Check equals txObj passed parameter and current instance.
|
java.lang.String |
getFeeRatio()
Getter function for feeRatio.
|
java.math.BigInteger |
getFeeRatioInteger() |
void |
setFeeRatio(java.math.BigInteger feeRatio)
Setter function for feeRatio.
|
void |
setFeeRatio(java.lang.String feeRatio)
Setter function for feeRatio.
|
appendFeePayerSignatures, appendFeePayerSignatures, combineSignedRawTransactions, compareTxField, getFeePayer, getFeePayerSignatures, getRLPEncodingForFeePayerSignature, setFeePayer, setFeePayerSignatures, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer
appendSignatures, appendSignatures, compareTxField, fillTransaction, getChainId, getCommonRLPEncodingForSignature, getFrom, getGas, getGasPrice, getKeyType, getKlaytnCall, getNonce, getRawTransaction, getRLPEncoding, getRLPEncodingForSignature, getSenderTxHash, getSignatures, getTransactionHash, getType, refineSignature, setChainId, setChainId, setFrom, setGas, setGas, setGasPrice, setGasPrice, setKlaytnCall, setNonce, setNonce, setSignatures, setType, sign, sign, sign, sign, sign, sign, validateOptionalValues
public AbstractFeeDelegatedWithRatioTransaction(AbstractFeeDelegatedWithRatioTransaction.Builder builder)
builder
- AbstractFeeDelegatedWithRatioTransaction.Builder instance.public AbstractFeeDelegatedWithRatioTransaction(Klay klaytnCall, java.lang.String type, java.lang.String from, java.lang.String nonce, java.lang.String gas, java.lang.String gasPrice, java.lang.String chainId, java.util.List<SignatureData> signatures, java.lang.String feePayer, java.util.List<SignatureData> feePayerSignatures, java.lang.String feeRatio)
klaytnCall
- Klay RPC instancetype
- Transaction's type stringfrom
- The address of the sender.nonce
- A value used to uniquely identify a sender’s transaction.gas
- The maximum amount of gas the transaction is allowed to use.gasPrice
- A unit price of gas in peb the sender will pay for a transaction fee.chainId
- Network IDsignatures
- A signature listfeePayer
- The address of the fee payer.feePayerSignatures
- The fee payers's signatures.feeRatio
- A fee ratio of the fee payer.public boolean compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj, boolean checkSig)
txObj
- The AbstractFeeDelegatedWithRatioTransaction Object to comparecheckSig
- Check whether signatures field is equal.public java.lang.String getFeeRatio()
public java.math.BigInteger getFeeRatioInteger()
public void setFeeRatio(java.lang.String feeRatio)
feeRatio
- A fee ratio of the fee payer.public void setFeeRatio(java.math.BigInteger feeRatio)
feeRatio
- A fee ratio of the fee payer.