Class FeeDelegatedValueTransferWithRatioWrapper
- java.lang.Object
-
- com.klaytn.caver.transaction.type.wrapper.FeeDelegatedValueTransferWithRatioWrapper
-
public class FeeDelegatedValueTransferWithRatioWrapper extends java.lang.Object
Represents a FeeDelegatedValueTransferWithRatioWrapper 1. This class wraps all of static methods of FeeDelegatedValueTransferWithRatio 2. This class should be accessed via `caver.transaction.feeDelegatedValueTransferWithRatio`
-
-
Constructor Summary
Constructors Constructor Description FeeDelegatedValueTransferWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedValueTransferWithRatioWrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeeDelegatedValueTransferWithRatio
create(byte[] rlpEncoded)
Creates a FeeDelegatedValueTransferWithRatio instance derived from a RLP-encoded FeeDelegatedValueTransferWithRatio byte array.FeeDelegatedValueTransferWithRatio
create(FeeDelegatedValueTransferWithRatio.Builder builder)
Creates a FeeDelegatedValueTransferWithRatio instance using FeeDelegatedValueTransferWithRatio.BuilderFeeDelegatedValueTransferWithRatio
create(java.lang.String rlpEncoded)
Creates a FeeDelegatedValueTransferWithRatio instance derived from a RLP-encoded FeeDelegatedValueTransferWithRatio string.FeeDelegatedValueTransferWithRatio
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, java.lang.String to, java.lang.String value)
Creates a FeeDelegatedValueTransferWithRatio instance.FeeDelegatedValueTransferWithRatio
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedValueTransferWithRatio byte array.FeeDelegatedValueTransferWithRatio
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedValueTransferWithRatio string.
-
-
-
Constructor Detail
-
FeeDelegatedValueTransferWithRatioWrapper
public FeeDelegatedValueTransferWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedValueTransferWithRatioWrapper instance.- Parameters:
klaytnCall
- Klay RPC instance
-
-
Method Detail
-
create
public FeeDelegatedValueTransferWithRatio create(java.lang.String rlpEncoded)
Creates a FeeDelegatedValueTransferWithRatio instance derived from a RLP-encoded FeeDelegatedValueTransferWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedValueTransferWithRatio string- Returns:
- FeeDelegatedValueTransferWithRatio
-
create
public FeeDelegatedValueTransferWithRatio create(byte[] rlpEncoded)
Creates a FeeDelegatedValueTransferWithRatio instance derived from a RLP-encoded FeeDelegatedValueTransferWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedValueTransferWithRatio byte array.- Returns:
- FeeDelegatedValueTransferWithRatio
-
create
public FeeDelegatedValueTransferWithRatio create(FeeDelegatedValueTransferWithRatio.Builder builder)
Creates a FeeDelegatedValueTransferWithRatio instance using FeeDelegatedValueTransferWithRatio.Builder- Parameters:
builder
- FeeDelegatedValueTransferWithRatio.Builder- Returns:
- FeeDelegatedValueTransferWithRatio
-
create
public FeeDelegatedValueTransferWithRatio 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, java.lang.String to, java.lang.String value)
Creates a FeeDelegatedValueTransferWithRatio 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 ID.signatures
- A sender signature list.feePayer
- A fee payer address.feePayerSignatures
- A fee payer signature list.feeRatio
- A fee ratio of the fee payer.to
- The account address that will receive the transferred value.value
- The amount of KLAY in peb to be transferred.- Returns:
- FeeDelegatedValueTransferWithRatio
-
decode
public FeeDelegatedValueTransferWithRatio decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedValueTransferWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedValueTransferWithRatio string.- Returns:
- FeeDelegatedValueTransferWithRatio
-
decode
public FeeDelegatedValueTransferWithRatio decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedValueTransferWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedValueTransferWithRatio byte array.- Returns:
- FeeDelegatedValueTransferWithRatio
-
-