public class FeeDelegatedChainDataAnchoringWithRatio extends AbstractFeeDelegatedWithRatioTransaction
Modifier and Type | Class and Description |
---|---|
static class |
FeeDelegatedChainDataAnchoringWithRatio.Builder
FeeDelegatedChainDataAnchoringWithRatio Builder class
|
Constructor and Description |
---|
FeeDelegatedChainDataAnchoringWithRatio(FeeDelegatedChainDataAnchoringWithRatio.Builder builder)
Creates a FeeDelegatedChainDataAnchoringWithRatio instance.
|
FeeDelegatedChainDataAnchoringWithRatio(Klay klaytnCall,
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,
java.lang.String input)
Creates a FeeDelegatedChainDataAnchoringWithRatio instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj,
boolean checkSig)
Check equals txObj passed parameter and Current instance.
|
static FeeDelegatedChainDataAnchoringWithRatio |
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedChainDataAnchoringWithRatio byte array.
|
static FeeDelegatedChainDataAnchoringWithRatio |
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedChainDataAnchoringWithRatio string.
|
java.lang.String |
getCommonRLPEncodingForSignature()
Returns the RLP-encoded string to make the signature of this transaction.
|
java.lang.String |
getInput()
Getter function for input
|
java.lang.String |
getRLPEncoding()
Returns the RLP-encoded string of this transaction (i.e., rawTransaction).
|
java.lang.String |
getSenderTxHash()
Returns a senderTxHash of transaction
|
void |
setInput(java.lang.String input)
Setter function for input
|
getFeeRatio, getFeeRatioInteger, setFeeRatio, setFeeRatio
appendFeePayerSignatures, appendFeePayerSignatures, combineSignedRawTransactions, compareTxField, getFeePayer, getFeePayerSignatures, getRLPEncodingForFeePayerSignature, setFeePayer, setFeePayerSignatures, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer
appendSignatures, appendSignatures, compareTxField, fillTransaction, getChainId, getFrom, getGas, getGasPrice, getKeyType, getKlaytnCall, getNonce, getRawTransaction, getRLPEncodingForSignature, getSignatures, getTransactionHash, getType, refineSignature, setChainId, setChainId, setFrom, setGas, setGas, setGasPrice, setGasPrice, setKlaytnCall, setNonce, setNonce, setSignatures, setType, sign, sign, sign, sign, sign, sign, validateOptionalValues
public FeeDelegatedChainDataAnchoringWithRatio(FeeDelegatedChainDataAnchoringWithRatio.Builder builder)
builder
- FeeDelegatedChainDataAnchoringWithRatio.Builder instance.public FeeDelegatedChainDataAnchoringWithRatio(Klay klaytnCall, 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, java.lang.String input)
klaytnCall
- Klay RPC instancefrom
- 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.input
- The data of the service chain.public static FeeDelegatedChainDataAnchoringWithRatio decode(java.lang.String rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedChainDataAnchoringWithRatio string.public static FeeDelegatedChainDataAnchoringWithRatio decode(byte[] rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedChainDataAnchoringWithRatio byte array.public java.lang.String getRLPEncoding()
getRLPEncoding
in class AbstractTransaction
public java.lang.String getCommonRLPEncodingForSignature()
getCommonRLPEncodingForSignature
in class AbstractTransaction
public java.lang.String getSenderTxHash()
getSenderTxHash
in class AbstractTransaction
public boolean compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj, boolean checkSig)
compareTxField
in class AbstractFeeDelegatedWithRatioTransaction
txObj
- The AbstractFeeDelegatedWithRatioTransaction Object to comparecheckSig
- Check whether signatures field is equal.public java.lang.String getInput()
public void setInput(java.lang.String input)
input
- Data of the service chain.