Partial Fee Delegation
FeeDelegatedValueTransferWithRatio
FeeDelegatedValueTransferWithRatio
represents a fee delegated value transfer with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedValueTransferWithRatio
transaction.
FeeDelegatedValueTransferWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedValueTransfer
transaction.
NOTE: You can create an instance of FeeDelegatedValueTransferWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedValueTransferWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedValueTransferWithRatio({...})
, please change it to caver.transaction.feeDelegatedValueTransferWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
value | string | The amount of KLAY in peb to be transferred. You can use |
from | string | The address of the sender. |
to | string | The account address that will receive the transferred value. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
FeeDelegatedValueTransferMemoWithRatio
FeeDelegatedValueTransferMemoWithRatio
represents a fee delegated value transfer memo with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedValueTransferMemoWithRatio
transaction.
FeeDelegatedValueTransferMemoWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedValueTransferMemoWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedValueTransferMemoWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedValueTransferMemoWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedValueTransferMemoWithRatio({...})
, please change it to caver.transaction.feeDelegatedValueTransferMemoWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
value | string | The amount of KLAY in peb to be transferred. You can use |
from | string | The address of the sender. |
to | string | The account address that will receive the transferred value. |
input | string | Data attached to the transaction. The message should be passed to this property. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
FeeDelegatedAccountUpdateWithRatio
FeeDelegatedAccountUpdateWithRatio
represents a fee delegated account update with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedAccountUpdateWithRatio
transaction.
FeeDelegatedAccountUpdateWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedAccountUpdateWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedAccountUpdateWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedAccountUpdateWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedAccountUpdateWithRatio({...})
, please change it to caver.transaction.feeDelegatedAccountUpdateWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
from | string | The address of the sender. |
account | [Account] | An [Account] instance that contains the information needed to update your account. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
For how to create an [Account] instance for each AccountKey
type, refer to Getting Started - Account Update or caver.account.create.
Example
FeeDelegatedSmartContractDeployWithRatio
FeeDelegatedSmartContractDeployWithRatio
represents a fee delegated smart contract deploy with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedSmartContractDeployWithRatio
transaction.
FeeDelegatedSmartContractDeployWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedSmartContractDeployWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedSmartContractDeployWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedSmartContractDeployWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedSmartContractDeployWithRatio({...})
, please change it to caver.transaction.feeDelegatedSmartContractDeployWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
from | string | The address of the sender. |
input | string | Data attached to the transaction. The byte code of the smart contract to be deployed and its arguments. You can get this through caver.abi.encodeContractDeploy. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
value | string | (optional, default: |
to | string | (optional, default: |
humanReadable | boolean | (optional, default: |
codeFormat | string | (optional, default: |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
FeeDelegatedSmartContractExecutionWithRatio
FeeDelegatedSmartContractExecutionWithRatio
represents a fee delegated smart contract execution with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedSmartContractExecutionWithRatio
transaction.
FeeDelegatedSmartContractExecutionWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedSmartContractExecutionWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedSmartContractExecutionWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedSmartContractExecutionWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedSmartContractExecutionWithRatio({...})
, please change it to caver.transaction.feeDelegatedSmartContractExecutionWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
from | string | The address of sender. |
to | string | The address of the smart contract account to be executed. |
input | string | Data attached to the transaction, used for transaction execution. The input is an encoded string that indicates a function to call and parameters to be passed to this function. You can get this encoded string through caver.abi.encodeFunctionCall. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
value | string | (optional, default: |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
FeeDelegatedCancelWithRatio
FeeDelegatedCancelWithRatio
represents a fee delegated cancel with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedCancelWithRatio
transaction.
FeeDelegatedCancelWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedCancelWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedCancelWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedCancelWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedCancelWithRatio({...})
, please change it to caver.transaction.feeDelegatedCancelWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
from | string | The address of the sender. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
FeeDelegatedChainDataAnchoringWithRatio
FeeDelegatedChainDataAnchoringWithRatio
represents a fee delegated chain data anchoring with ratio transaction. The transactionObject
can have properties below to create a FeeDelegatedChainDataAnchoringWithRatio
transaction.
FeeDelegatedChainDataAnchoringWithRatio
has the properties below as its member variables. Properties marked as optional
refer to properties that can be optionally defined in transactionObject
when the user creates FeeDelegatedChainDataAnchoringWithRatio
transaction.
NOTE: You can create an instance of FeeDelegatedChainDataAnchoringWithRatio
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedChainDataAnchoringWithRatio.create
is supported since caver-js v1.6.1.
NOTE: As of caver-js v1.8.1-rc.4, creating transactions is only supported using the create
function. If you've been creating transactions using a constructor like new caver.transaction.feeDelegatedChainDataAnchoringWithRatio({...})
, please change it to caver.transaction.feeDelegatedChainDataAnchoringWithRatio.create({...})
.
properties
Name | Type | Description |
---|---|---|
from | string | The address of the sender. |
input | string | Data of the service chain. |
gas | string | The maximum amount of transaction fee the transaction is allowed to use. |
feeRatio | string | The ratio that constitutes the proportion of the transaction fee the fee payer will be burdened with. The valid range of this ratio is between 1 and 99. The ratio of 0, or 100 and above are not allowed. |
nonce | string | (optional) A value used to uniquely identify a sender’s transaction. If omitted, |
signatures | Array | (optional) An array of signatures. |
feePayerSignatures | Array | (optional) An array of feePayerSignatures. |
feePayer | string | (optional) The address of fee payer. |
gasPrice | string | (optional) A multiplier to get how much the sender will pay in tokens. If omitted, |
chainId | string | (optional) The chain id of the Klaytn network. If omitted, |
Example
Last updated