public class FeeDelegatedAccountUpdate extends AbstractFeeDelegatedTransaction
Modifier and Type | Class and Description |
---|---|
static class |
FeeDelegatedAccountUpdate.Builder
FeeDelegatedAccountUpdate Builder class.
|
Constructor and Description |
---|
FeeDelegatedAccountUpdate(FeeDelegatedAccountUpdate.Builder builder)
Creates a FeeDelegatedAccountUpdate instance.
|
FeeDelegatedAccountUpdate(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,
Account account)
Creates a FeeDelegatedAccountUpdate instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTxField(AbstractFeeDelegatedTransaction txObj,
boolean checkSig)
Check equals txObj passed parameter and Current instance.
|
static FeeDelegatedAccountUpdate |
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate byte array.
|
static FeeDelegatedAccountUpdate |
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate string.
|
Account |
getAccount()
Getter function for Account
|
java.lang.String |
getCommonRLPEncodingForSignature()
Returns the RLP-encoded string to make the signature of this transaction.
|
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 |
setAccount(Account account)
Setter function for Account
|
appendFeePayerSignatures, appendFeePayerSignatures, combineSignedRawTransactions, 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 FeeDelegatedAccountUpdate(FeeDelegatedAccountUpdate.Builder builder)
builder
- FeeDelegatedAccountUpdate.Builder instance.public FeeDelegatedAccountUpdate(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, Account account)
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
- A fee payer address.feePayerSignatures
- A fee payer signature list.account
- An account instance includes account key to be updated to the account in the network.public static FeeDelegatedAccountUpdate decode(java.lang.String rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate string.public static FeeDelegatedAccountUpdate decode(byte[] rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate 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(AbstractFeeDelegatedTransaction txObj, boolean checkSig)
compareTxField
in class AbstractFeeDelegatedTransaction
txObj
- The AbstractFeeDelegatedTransaction Object to comparecheckSig
- Check whether signatures field is equal.public Account getAccount()
public void setAccount(Account account)
account
- Account instance