Partial Fee Delegation
FeeDelegatedValueTransferWithRatio
FeeDelegatedValueTransferWithRatio
는 수수료 부분 위임 KLAY 전송 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedValueTransferWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedValueTransferWithRatio
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 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
(선택 사항) Fee payer가 부담하게될 트랜잭션 수수료의 비율입니다. 유효한 범위는 1에서 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
FeeDelegatedValueTransferWithRatio
는 수수료 부분 위임 KLAY 전송 메모 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedValueTransferMemoWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedValueTransferMemoWithRatio
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedValueTransferMemoWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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
는 수수료 부분 위임 계정 업데이트 트랜잭션을 나타냅니다. transactionObject
는 <FeeDelegatedAccountUpdateWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedAccountUpdateWithRatio
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedAccountUpdateWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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
는 부분 수수료 위임 스마트 컨트랙트 배포 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedSmartContractDeployWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedSmartContractDeployWithRatio
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedSmartContractDeployWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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
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: '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
는 부분 수수료 위임 스마트 컨트랙트 실행 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedSmartContractExecutionWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedSmartContractExecutionWithRatio
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedSmartContractExecutionWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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
발신자의 주소입니다.
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: '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
는 수수료 부분 위임 취소 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedCancelWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedCancelWithRatio
은 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedCancelWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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
는 수수료 부분 위임 체인 데이터 앵커링 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedChainDataAnchoringWithRatio
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedChainDataAnchoringWithRatio
은 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedChainDataAnchoringWithRatio
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
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