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
value
string
The amount of KLAY in peb to be transferred. You can use caver.utils.toPeb
.
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
gasPrice
string
(optional) A multiplier to get how much the sender will pay in tokens. If omitted, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
value
string
The amount of KLAY in peb to be transferred. You can use caver.utils.toPeb
.
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
gasPrice
string
(optional) A multiplier to get how much the sender will pay in tokens. If omitted, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
gasPrice
string
(optional) A multiplier to get how much the sender will pay in tokens. If omitted, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
from
string
The address of the sender.
input
string
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: '0x0'
) The amount of KLAY in peb to be transferred. You can use caver.utils.toPeb
.
to
string
(optional, default: '0x'
) Address to which the smart contract is deployed. Currently, this value cannot be defined. Specifying the address will be supported in the future.
humanReadable
boolean
(optional, default: false
) This must be false since human-readable address is not supported yet.
codeFormat
string
(optional, default: 'EVM'
) The code format of smart contract code. The supported value, for now, is EVM only. This value is converted to hex string after the assignment(e.g> EVM
is converted to 0x0
) internally.
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
gasPrice
string
(optional) A multiplier to get how much the sender will pay in tokens. If omitted, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
from
string
The address of sender.
to
string
The address of the smart contract account to be executed.
input
string
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: '0x0'
) The amount of KLAY in peb to be transferred. You can use caver.utils.toPeb
.
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
gasPrice
string
(optional) A multiplier to get how much the sender will pay in tokens. If omitted, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
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, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
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
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, caver.rpc.klay.getTransactionCount(address, 'pending')
will be used to set nonce.
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, caver.rpc.klay.getGasPrice
will be used to set gasPrice.
chainId
string
(optional) The chain id of the Klaytn network. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
Last updated