Class FeeDelegatedAccountUpdateWrapper
- java.lang.Object
-
- com.klaytn.caver.transaction.type.wrapper.FeeDelegatedAccountUpdateWrapper
-
public class FeeDelegatedAccountUpdateWrapper extends java.lang.Object
Represents a FeeDelegatedAccountUpdateWrapper 1. This class wraps all of static methods of FeeDelegatedAccountUpdate 2. This class should be accessed via `caver.transaction.feeDelegatedAccountUpdate`
-
-
Constructor Summary
Constructors Constructor Description FeeDelegatedAccountUpdateWrapper(Klay klaytnCall)
Creates a FeeDelegatedAccountUpdateWrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeeDelegatedAccountUpdate
create(byte[] rlpEncoded)
Creates a FeeDelegatedAccountUpdate instance derived from a RLP-encoded FeeDelegatedAccountUpdate byte array.FeeDelegatedAccountUpdate
create(FeeDelegatedAccountUpdate.Builder builder)
Creates a FeeDelegatedAccountUpdate instance using FeeDelegatedAccountUpdate.BuilderFeeDelegatedAccountUpdate
create(java.lang.String rlpEncoded)
Creates a FeeDelegatedAccountUpdate instance derived from a RLP-encoded FeeDelegatedAccountUpdate string.FeeDelegatedAccountUpdate
create(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.FeeDelegatedAccountUpdate
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate byte array.FeeDelegatedAccountUpdate
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate string.
-
-
-
Constructor Detail
-
FeeDelegatedAccountUpdateWrapper
public FeeDelegatedAccountUpdateWrapper(Klay klaytnCall)
Creates a FeeDelegatedAccountUpdateWrapper instance.- Parameters:
klaytnCall
- Klay RPC instance
-
-
Method Detail
-
create
public FeeDelegatedAccountUpdate create(java.lang.String rlpEncoded)
Creates a FeeDelegatedAccountUpdate instance derived from a RLP-encoded FeeDelegatedAccountUpdate string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate string- Returns:
- FeeDelegatedAccountUpdate
-
create
public FeeDelegatedAccountUpdate create(byte[] rlpEncoded)
Creates a FeeDelegatedAccountUpdate instance derived from a RLP-encoded FeeDelegatedAccountUpdate byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate byte array.- Returns:
- FeeDelegatedAccountUpdate
-
create
public FeeDelegatedAccountUpdate create(FeeDelegatedAccountUpdate.Builder builder)
Creates a FeeDelegatedAccountUpdate instance using FeeDelegatedAccountUpdate.Builder- Parameters:
builder
- FeeDelegatedAccountUpdate.Builder- Returns:
- FeeDelegatedAccountUpdate
-
create
public FeeDelegatedAccountUpdate create(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.- Parameters:
from
- 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.- Returns:
- FeeDelegatedAccountUpdate
-
decode
public FeeDelegatedAccountUpdate decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate string.- Returns:
- FeeDelegatedAccountUpdate
-
decode
public FeeDelegatedAccountUpdate decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdate byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdate byte array.- Returns:
- FeeDelegatedAccountUpdate
-
-