Class FeeDelegatedAccountUpdateWithRatioWrapper
- java.lang.Object
-
- com.klaytn.caver.transaction.type.wrapper.FeeDelegatedAccountUpdateWithRatioWrapper
-
public class FeeDelegatedAccountUpdateWithRatioWrapper extends java.lang.Object
Represents a FeeDelegatedAccountUpdateWithRatioWrapper 1. This class wraps all of static methods of FeeDelegatedAccountUpdateWithRatio 2. This class should be accessed via `caver.transaction.feeDelegatedAccountUpdateWithRatio`
-
-
Constructor Summary
Constructors Constructor Description FeeDelegatedAccountUpdateWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedAccountUpdateWithRatioWrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeeDelegatedAccountUpdateWithRatio
create(byte[] rlpEncoded)
Creates a FeeDelegatedAccountUpdateWithRatio instance derived from a RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.FeeDelegatedAccountUpdateWithRatio
create(FeeDelegatedAccountUpdateWithRatio.Builder builder)
Creates a FeeDelegatedAccountUpdateWithRatio instance using FeeDelegatedAccountUpdateWithRatio.BuilderFeeDelegatedAccountUpdateWithRatio
create(java.lang.String rlpEncoded)
Creates a FeeDelegatedAccountUpdateWithRatio instance derived from a RLP-encoded FeeDelegatedAccountUpdateWithRatio string.FeeDelegatedAccountUpdateWithRatio
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, java.lang.String feeRatio, Account account)
Creates a FeeDelegatedAccountUpdateWithRatio instance.FeeDelegatedAccountUpdateWithRatio
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.FeeDelegatedAccountUpdateWithRatio
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdateWithRatio string.
-
-
-
Constructor Detail
-
FeeDelegatedAccountUpdateWithRatioWrapper
public FeeDelegatedAccountUpdateWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedAccountUpdateWithRatioWrapper instance.- Parameters:
klaytnCall
- Klay RPC instance
-
-
Method Detail
-
create
public FeeDelegatedAccountUpdateWithRatio create(java.lang.String rlpEncoded)
Creates a FeeDelegatedAccountUpdateWithRatio instance derived from a RLP-encoded FeeDelegatedAccountUpdateWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdateWithRatio string- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
create
public FeeDelegatedAccountUpdateWithRatio create(byte[] rlpEncoded)
Creates a FeeDelegatedAccountUpdateWithRatio instance derived from a RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
create
public FeeDelegatedAccountUpdateWithRatio create(FeeDelegatedAccountUpdateWithRatio.Builder builder)
Creates a FeeDelegatedAccountUpdateWithRatio instance using FeeDelegatedAccountUpdateWithRatio.Builder- Parameters:
builder
- FeeDelegatedAccountUpdateWithRatio.Builder- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
create
public FeeDelegatedAccountUpdateWithRatio 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, java.lang.String feeRatio, Account account)
Creates a FeeDelegatedAccountUpdateWithRatio 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.feeRatio
- A fee ratio of the fee payer.account
- An account instance includes account key to be updated to the account in the network.- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
decode
public FeeDelegatedAccountUpdateWithRatio decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdateWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdateWithRatio string.- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
decode
public FeeDelegatedAccountUpdateWithRatio decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedAccountUpdateWithRatio byte array.- Returns:
- FeeDelegatedAccountUpdateWithRatio
-
-