new FeeDelegatedTransactionPaidByKASApi()
- Version:
- 1.0
FeeDelegatedTransactionPaidByKAS service.
Methods
fDAccountUpdateTransactionResponse(xChainId, opts, callback)
FDAccountUpdateTransactionResponse Create a transaction for updating Klaytn account keys using the KAS global fee delegation account. For details about different Klaytn account keys, refer to Klaytn Docs.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDAccountUpdateTransactionResponseCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDAnchorTransaction(xChainId, opts, callback)
FDAnchorTransaction Create a transaction for anchoring blockchain data using the KAS global fee delegation account.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDAnchorTransactionCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDCancelTransactionResponse(xChainId, opts, callback)
FDCancelTransactionResponse Create a transaction for canceling a pending transaction for a transfer to Klaytn using the KAS global fee delegation account. Either a nonce or transaction hash is required for cancellation.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDCancelTransactionResponseCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDContractDeployTransaction(xChainId, opts, callback)
FDContractDeployTransaction Create a transaction for deploying contracts using the KAS global fee delegation account.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDContractDeployTransactionCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDContractExecutionTransaction(xChainId, opts, callback)
FDContractExecutionTransaction Create a transaction for executing a deloyed contract function using the KAS global fee delegation account.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDContractExecutionTransactionCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDProcessRLP(xChainId, opts, callback)
FDProcessRLP Create a transaction using the rlp(SigRLP or TxHashRLP) with global fee payer account. Rlp value from transaction API is TxHashRLP format which contains signatures. SigRLP which does not contain signatures can easily be made from caver.
If you want to make SigRLP, you can use methodgetRLPEncodingForSignature()
of certain transaction object. If you want to make TxHashRLP, you can use method getRLPEncoding()
of certain transaction object. If you give SigRLP in rlp value, we sign the trasnaction using from
address in your account pool. If you need detail description about SigRLP, TxHashRLP of each of transaction, you can refer Klaytn Docs.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDProcessRLPCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
fDValueTransferTransaction(xChainId, opts, callback)
FDValueTransferTransaction Create a transaction for transferring KLAYs with and without a memo using the KAS global fee delegation account.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn chain network ID (1001 or 8217) |
||||||
opts |
Object | Optional parameters Properties
|
||||||
callback |
FeeDelegatedTransactionPaidByKASApi~fDValueTransferTransactionCallback | The callback function, accepting three arguments: error, data, response data is of type: FDTransactionResult |
Type Definitions
fDAccountUpdateTransactionResponseCallback(error, data, response)
Callback function to receive the result of the fDAccountUpdateTransactionResponse operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDAnchorTransactionCallback(error, data, response)
Callback function to receive the result of the fDAnchorTransaction operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDCancelTransactionResponseCallback(error, data, response)
Callback function to receive the result of the fDCancelTransactionResponse operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDContractDeployTransactionCallback(error, data, response)
Callback function to receive the result of the fDContractDeployTransaction operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDContractExecutionTransactionCallback(error, data, response)
Callback function to receive the result of the fDContractExecutionTransaction operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDProcessRLPCallback(error, data, response)
Callback function to receive the result of the fDProcessRLP operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |
fDValueTransferTransactionCallback(error, data, response)
Callback function to receive the result of the fDValueTransferTransaction operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
FDTransactionResult | The data returned by the service call. |
response |
String | The complete HTTP response. |