Fee Delegation
FeeDelegatedValueTransfer
FeeDelegatedValueTransfer
는 수수료 위임 KLAY 전송 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedValueTransfer
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedValueTransfer
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedValueTransfer
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedValueTransfer
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedValueTransfer.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.feeDelegatedValueTransfer({...})
, please change it to caver.transaction.feeDelegatedValueTransfer.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.
signatures
Array
(optional) An array of signatures.
feePayerSignatures
Array
(선택 사항) 수수료 납부자의 서명의 배열입니다.
feePayer
string
(선택 사항) 수수료 납부자의 주소입니다.
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
(선택 사항) Klaytn 블록체인의 체인 ID입니다. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
FeeDelegatedValueTransferMemo
FeeDelegatedValueTransferMemo
는 수수료 위임 KLAY 전송 메모 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedValueTransferMemo
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedValueTransferMemo
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedValueTransferMemo
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedValueTransferMemo
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedValueTransferMemo.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.feeDelegatedValueTransferMemo({...})
, please change it to caver.transaction.feeDelegatedValueTransferMemo.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.
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
(선택 사항) Klaytn의 체인 ID입니다. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
FeeDelegatedAccountUpdate
FeeDelegatedAccountUpdate
는 수수료 위임 계정 업데이트 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedAccountUpdate
를 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedAccountUpdate
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedAccountUpdate
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedAccountUpdate
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedAccountUpdate.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.feeDelegatedAccountUpdate({...})
, please change it to caver.transaction.feeDelegatedAccountUpdate.create({...})
.
properties
from
string
The address of the sender.
account
[Account]
계정 업데이트에 필요한 정보를 포함하고 있는 [Account] 인스턴스입니다.
gas
string
The maximum amount of transaction fee the transaction is allowed to use.
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. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
각 AccountKey
에 대해 [Account] 인스턴스를 생성하는 방법은 Getting Started - Account Update 또는 caver.account.create를 참고하세요.
Example
FeeDelegatedSmartContractDeploy
FeeDelegatedSmartContractDeploy
는 수수료 위임 스마트 컨트랙트 배포 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedSmartContractDeploy
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedSmartContractDeploy
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedSmartContractDeploy
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedSmartContractDeploy
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedSmartContractDeploy.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.feeDelegatedSmartContractDeploy({...})
, please change it to caver.transaction.feeDelegatedSmartContractDeploy.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.
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. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
FeeDelegatedSmartContractExecution
FeeDelegatedSmartContractExecution
는 수수료 위임 스마트 컨트랙트 실행 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedSmartContractExecution
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedSmartContractExecution
는 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedSmartContractExecution
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedSmartContractExecution
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedSmartContractExecution.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.feeDelegatedSmartContractExecution({...})
, please change it to caver.transaction.feeDelegatedSmartContractExecution.create({...})
.
properties
from
string
The address of the 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. caver.abi.encodeFunctionCall를 통해 엔코딩된 문자열을 얻을 수 있습니다.
gas
string
The maximum amount of transaction fee the transaction is allowed to use.
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. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
FeeDelegatedCancel
FeeDelegatedCancel
은 수수료 위임 취소 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedCancel
을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedCancel
은 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedCancel
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedCancel
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedCancel.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.feeDelegatedCancel({...})
, please change it to caver.transaction.feeDelegatedCancel.create({...})
.
properties
from
string
The address of the sender.
gas
string
The maximum amount of transaction fee the transaction is allowed to use.
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. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
FeeDelegatedChainDataAnchoring
FeeDelegatedChainDataAnchoring
은 수수료 위임 체인 데이터 앵커링 트랜잭션을 나타냅니다. transactionObject
는 FeeDelegatedChainDataAnchoring
트랜잭션을 생성하기 위해 아래와 같은 속성들을 가질 수 있습니다.
FeeDelegatedChainDataAnchoring
은 멤버변수로서 아래와 같은 속성들을 가지고 있습니다. 선택 사항
인 속성들은 사용자가 FeeDelegatedChainDataAnchoring
트랜잭션을 생성할 때 transactionObject
에 선택적으로 주어질 수 있는 속성들을 뜻합니다.
NOTE: You can create an instance of FeeDelegatedChainDataAnchoring
from RLP-encoded strings. Please refer to the below example. NOTE: caver.transaction.feeDelegatedChainDataAnchoring.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.feeDelegatedChainDataAnchoring({...})
, please change it to caver.transaction.feeDelegatedChainDataAnchoring.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.
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. If omitted, caver.rpc.klay.getChainId
will be used to set chainId.
Example
Last updated