Class FeeDelegatedSmartContractExecutionWrapper
- java.lang.Object
-
- com.klaytn.caver.transaction.type.wrapper.FeeDelegatedSmartContractExecutionWrapper
-
public class FeeDelegatedSmartContractExecutionWrapper extends java.lang.Object
Represents a FeeDelegatedSmartContractExecutionWrapper 1. This class wraps all of static methods of FeeDelegatedSmartContractExecution 2. This class should be accessed via `caver.transaction.feeDelegatedSmartContractExecution`
-
-
Constructor Summary
Constructors Constructor Description FeeDelegatedSmartContractExecutionWrapper(Klay klaytnCall)
Creates a FeeDelegatedSmartContractExecutionWrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeeDelegatedSmartContractExecution
create(byte[] rlpEncoded)
Creates a FeeDelegatedSmartContractExecution instance derived from a RLP-encoded FeeDelegatedSmartContractExecution byte array.FeeDelegatedSmartContractExecution
create(FeeDelegatedSmartContractExecution.Builder builder)
Creates a FeeDelegatedSmartContractExecution instance using FeeDelegatedSmartContractExecution.BuilderFeeDelegatedSmartContractExecution
create(java.lang.String rlpEncoded)
Creates a FeeDelegatedSmartContractExecution instance derived from a RLP-encoded FeeDelegatedSmartContractExecution string.FeeDelegatedSmartContractExecution
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 to, java.lang.String value, java.lang.String input)
Creates a FeeDelegatedSmartContractExecution instanceFeeDelegatedSmartContractExecution
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecution byte array.FeeDelegatedSmartContractExecution
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecution string.
-
-
-
Constructor Detail
-
FeeDelegatedSmartContractExecutionWrapper
public FeeDelegatedSmartContractExecutionWrapper(Klay klaytnCall)
Creates a FeeDelegatedSmartContractExecutionWrapper instance.- Parameters:
klaytnCall
- Klay RPC instance
-
-
Method Detail
-
create
public FeeDelegatedSmartContractExecution create(java.lang.String rlpEncoded)
Creates a FeeDelegatedSmartContractExecution instance derived from a RLP-encoded FeeDelegatedSmartContractExecution string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecution string- Returns:
- FeeDelegatedSmartContractExecution
-
create
public FeeDelegatedSmartContractExecution create(byte[] rlpEncoded)
Creates a FeeDelegatedSmartContractExecution instance derived from a RLP-encoded FeeDelegatedSmartContractExecution byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecution byte array.- Returns:
- FeeDelegatedSmartContractExecution
-
create
public FeeDelegatedSmartContractExecution create(FeeDelegatedSmartContractExecution.Builder builder)
Creates a FeeDelegatedSmartContractExecution instance using FeeDelegatedSmartContractExecution.Builder- Parameters:
builder
- FeeDelegatedSmartContractExecution.Builder- Returns:
- FeeDelegatedSmartContractExecution
-
create
public FeeDelegatedSmartContractExecution 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 to, java.lang.String value, java.lang.String input)
Creates a FeeDelegatedSmartContractExecution 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.to
- The account address that will receive the transferred value.value
- The amount of KLAY in peb to be transferred.input
- The data attached to the transaction, used for transaction execution.- Returns:
- FeeDelegatedSmartContractExecution
-
decode
public FeeDelegatedSmartContractExecution decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecution string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecution string.- Returns:
- FeeDelegatedSmartContractExecution
-
decode
public FeeDelegatedSmartContractExecution decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecution byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecution byte array.- Returns:
- FeeDelegatedSmartContractExecution
-
-