@cobo/cobo-waas2 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/OAuthApi.js +2 -2
- package/dist/api/TransactionsApi.js +0 -92
- package/dist/api/WalletsApi.js +50 -0
- package/dist/index.js +518 -7
- package/dist/model/AddressesEventData.js +13 -8
- package/dist/model/ApprovalDetail.js +160 -0
- package/dist/model/ApprovalResult.js +66 -0
- package/dist/model/ApprovalShowInfo.js +140 -0
- package/dist/model/ApprovalTemplate.js +114 -0
- package/dist/model/ApprovalTransactionResult.js +66 -0
- package/dist/model/ApprovalUserDetail.js +196 -0
- package/dist/model/AutoFuelType.js +5 -0
- package/dist/model/BalanceUpdateInfoEventData.js +13 -8
- package/dist/model/ChainsEventData.js +13 -8
- package/dist/model/CreatePaymentOrderRequest.js +7 -6
- package/dist/model/CreateSettlement.js +1 -2
- package/dist/model/CustodialWeb3TransferSource.js +2 -2
- package/dist/model/EstimatedEvmEip1559Fee.js +2 -2
- package/dist/model/EstimatedEvmLegacyFee.js +2 -2
- package/dist/model/EstimatedFILFee.js +2 -2
- package/dist/model/EstimatedFILFeeSlow.js +12 -12
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +2 -2
- package/dist/model/EstimatedSOLFeeSlow.js +11 -11
- package/dist/model/EstimatedUtxoFee.js +2 -2
- package/dist/model/EvmEip1559FeeBasePrice.js +0 -1
- package/dist/model/EvmEip1559FeeRate.js +2 -2
- package/dist/model/EvmLegacyFeeBasePrice.js +0 -1
- package/dist/model/EvmLegacyFeeRate.js +2 -2
- package/dist/model/FILBase.js +1 -1
- package/dist/model/FILPrice.js +3 -4
- package/dist/model/FeeRate.js +1 -1
- package/dist/model/FixedFeeRate.js +2 -2
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +156 -0
- package/dist/model/MPCVaultEventData.js +13 -8
- package/dist/model/MaxFeeAmount.js +0 -1
- package/dist/model/MaxTransferableValue.js +2 -2
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/PaymentOrderEventData.js +13 -8
- package/dist/model/PaymentRefundEventData.js +13 -8
- package/dist/model/PaymentSettlementEvent.js +13 -8
- package/dist/model/{ListTransactionApprovalDetails200Response.js → RoleDetail.js} +46 -27
- package/dist/model/SOLBase.js +2 -2
- package/dist/model/SOLComputeUnit.js +2 -3
- package/dist/model/SuspendedTokenEventData.js +225 -0
- package/dist/model/SuspendedTokenOperationType.js +61 -0
- package/dist/model/SwapActivity.js +29 -0
- package/dist/model/SwapActivityDetail.js +38 -0
- package/dist/model/TSSRequestWebhookEventData.js +13 -8
- package/dist/model/TokenListingEventData.js +13 -8
- package/dist/model/TokenizationActivityInfo.js +224 -0
- package/dist/model/TokenizationActivityStatus.js +66 -0
- package/dist/model/TokenizationAddressPermission.js +135 -0
- package/dist/model/TokenizationAllowlistActivationParams.js +124 -0
- package/dist/model/TokenizationAllowlistActivationRequest.js +180 -0
- package/dist/model/TokenizationAllowlistAddressNote.js +132 -0
- package/dist/model/TokenizationAppInitiator.js +87 -0
- package/dist/model/TokenizationBlocklistAddressNote.js +132 -0
- package/dist/model/TokenizationBurnEstimateFeeParams.js +187 -0
- package/dist/model/TokenizationBurnTokenParams.js +146 -0
- package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +125 -0
- package/dist/model/TokenizationBurnTokenRequest.js +202 -0
- package/dist/model/TokenizationContractCallEstimateFeeParams.js +167 -0
- package/dist/model/TokenizationContractCallParams.js +107 -0
- package/dist/model/TokenizationContractCallParamsData.js +164 -0
- package/dist/model/TokenizationContractCallRequest.js +182 -0
- package/dist/model/TokenizationContractCallType.js +56 -0
- package/dist/model/TokenizationERC20TokenParams.js +173 -0
- package/dist/model/TokenizationEstimateFeeRequest.js +113 -0
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +439 -0
- package/dist/model/TokenizationEvmContractCallParams.js +133 -0
- package/dist/model/TokenizationHoldingInfo.js +166 -0
- package/dist/model/TokenizationIssueEstimateFeeParams.js +176 -0
- package/dist/model/TokenizationIssueTokenParams.js +146 -0
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +183 -0
- package/dist/model/TokenizationIssuedTokenRequest.js +206 -0
- package/dist/model/TokenizationListActivitiesResponse.js +146 -0
- package/dist/model/TokenizationListEnabledChainsResponse.js +128 -0
- package/dist/model/TokenizationListHoldingsResponse.js +146 -0
- package/dist/model/TokenizationListTokenInfoResponse.js +146 -0
- package/dist/model/TokenizationMintEstimateFeeParams.js +187 -0
- package/dist/model/TokenizationMintTokenParams.js +146 -0
- package/dist/model/TokenizationMintTokenParamsMintsInner.js +125 -0
- package/dist/model/TokenizationMintTokenRequest.js +202 -0
- package/dist/model/TokenizationMpcOperationSource.js +136 -0
- package/dist/model/TokenizationOperationResponse.js +110 -0
- package/dist/model/TokenizationOperationSourceType.js +61 -0
- package/dist/model/TokenizationOperationType.js +96 -0
- package/dist/model/TokenizationPauseEstimateFeeParams.js +149 -0
- package/dist/model/TokenizationPauseTokenParams.js +113 -0
- package/dist/model/TokenizationPauseTokenRequest.js +164 -0
- package/dist/model/TokenizationStatus.js +71 -0
- package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +165 -0
- package/dist/model/TokenizationTokenDetailInfo.js +309 -0
- package/dist/model/TokenizationTokenInfo.js +223 -0
- package/dist/model/TokenizationTokenOperationSource.js +192 -0
- package/dist/model/TokenizationTokenPermission.js +147 -0
- package/dist/model/TokenizationTokenPermissionParams.js +166 -0
- package/dist/model/TokenizationTokenPermissionType.js +86 -0
- package/dist/model/TokenizationTokenPermissionsResponse.js +139 -0
- package/dist/model/TokenizationTokenStandard.js +56 -0
- package/dist/model/TokenizationUnpauseEstimateFeeParams.js +149 -0
- package/dist/model/TokenizationUnpauseTokenParams.js +113 -0
- package/dist/model/TokenizationUnpauseTokenRequest.js +164 -0
- package/dist/model/TokenizationUpdateAddressAction.js +61 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +202 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +157 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +123 -0
- package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +217 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +202 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +157 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +123 -0
- package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +217 -0
- package/dist/model/TokenizationWeb3OperationSource.js +136 -0
- package/dist/model/TokensEventData.js +13 -8
- package/dist/model/TopUpAddress.js +2 -2
- package/dist/model/TransactionEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionEvmLegacyFee.js +2 -2
- package/dist/model/TransactionFILFee.js +11 -11
- package/dist/model/TransactionFee.js +10 -10
- package/dist/model/TransactionFixedFee.js +2 -2
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionRequestEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
- package/dist/model/TransactionRequestFILFee.js +11 -11
- package/dist/model/TransactionRequestFee.js +6 -6
- package/dist/model/TransactionRequestFixedFee.js +2 -2
- package/dist/model/TransactionRequestSOLFee.js +9 -9
- package/dist/model/TransactionRequestUtxoFee.js +2 -2
- package/dist/model/TransactionSOLFee.js +11 -11
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionUtxoFee.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +13 -8
- package/dist/model/UtxoFeeBasePrice.js +0 -1
- package/dist/model/UtxoFeeRate.js +2 -2
- package/dist/model/WalletInfoEventData.js +13 -8
- package/dist/model/WebhookEvent.js +2 -2
- package/dist/model/WebhookEventData.js +49 -9
- package/dist/model/WebhookEventDataType.js +12 -7
- package/dist/model/WebhookEventLog.js +2 -2
- package/dist/model/WebhookEventType.js +20 -0
- package/docs/AddressesEventData.md +5 -3
- package/docs/ApprovalDetail.md +14 -0
- package/docs/ApprovalResult.md +14 -0
- package/docs/ApprovalShowInfo.md +13 -0
- package/docs/ApprovalTemplate.md +11 -0
- package/docs/ApprovalTransactionResult.md +14 -0
- package/docs/ApprovalUserDetail.md +18 -0
- package/docs/AutoFuelType.md +2 -0
- package/docs/BalanceUpdateInfoEventData.md +5 -3
- package/docs/ChainsEventData.md +5 -3
- package/docs/CreatePaymentOrderRequest.md +4 -4
- package/docs/CreateSettlement.md +2 -2
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/EstimatedEvmEip1559Fee.md +1 -1
- package/docs/EstimatedEvmLegacyFee.md +1 -1
- package/docs/EstimatedFILFee.md +1 -1
- package/docs/EstimatedFILFeeSlow.md +4 -4
- package/docs/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/EstimatedSOLFee.md +1 -1
- package/docs/EstimatedSOLFeeSlow.md +4 -4
- package/docs/EstimatedUtxoFee.md +1 -1
- package/docs/EvmEip1559FeeRate.md +1 -1
- package/docs/EvmLegacyFeeRate.md +1 -1
- package/docs/FILBase.md +1 -1
- package/docs/FILPrice.md +3 -3
- package/docs/FeeRate.md +1 -1
- package/docs/FixedFeeRate.md +1 -1
- package/docs/GetMaxTransferableValueWithFeeModelRequest.md +12 -0
- package/docs/MPCVaultEventData.md +5 -3
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +1 -1
- package/docs/PaymentOrderEventData.md +5 -3
- package/docs/PaymentRefundEventData.md +5 -3
- package/docs/PaymentSettlementEvent.md +5 -3
- package/docs/RoleDetail.md +11 -0
- package/docs/SOLBase.md +2 -2
- package/docs/SOLComputeUnit.md +2 -2
- package/docs/SuspendedTokenEventData.md +46 -0
- package/docs/SuspendedTokenOperationType.md +12 -0
- package/docs/SwapActivity.md +2 -0
- package/docs/SwapActivityDetail.md +2 -0
- package/docs/TSSRequestWebhookEventData.md +5 -3
- package/docs/TokenListingEventData.md +5 -3
- package/docs/TokenizationActivityInfo.md +18 -0
- package/docs/TokenizationActivityStatus.md +14 -0
- package/docs/TokenizationAddressPermission.md +11 -0
- package/docs/TokenizationAllowlistActivationParams.md +10 -0
- package/docs/TokenizationAllowlistActivationRequest.md +12 -0
- package/docs/TokenizationAllowlistAddressNote.md +11 -0
- package/docs/TokenizationAppInitiator.md +9 -0
- package/docs/TokenizationBlocklistAddressNote.md +11 -0
- package/docs/TokenizationBurnEstimateFeeParams.md +12 -0
- package/docs/TokenizationBurnTokenParams.md +10 -0
- package/docs/TokenizationBurnTokenParamsBurnsInner.md +10 -0
- package/docs/TokenizationBurnTokenRequest.md +12 -0
- package/docs/TokenizationContractCallEstimateFeeParams.md +12 -0
- package/docs/TokenizationContractCallParams.md +10 -0
- package/docs/TokenizationContractCallParamsData.md +11 -0
- package/docs/TokenizationContractCallRequest.md +12 -0
- package/docs/TokenizationContractCallType.md +10 -0
- package/docs/TokenizationERC20TokenParams.md +14 -0
- package/docs/TokenizationEstimateFeeRequest.md +9 -0
- package/docs/TokenizationEstimateFeeRequestOperationParams.md +19 -0
- package/docs/TokenizationEvmContractCallParams.md +11 -0
- package/docs/TokenizationHoldingInfo.md +13 -0
- package/docs/TokenizationIssueEstimateFeeParams.md +12 -0
- package/docs/TokenizationIssueTokenParams.md +11 -0
- package/docs/TokenizationIssueTokenParamsTokenParams.md +14 -0
- package/docs/TokenizationIssuedTokenRequest.md +13 -0
- package/docs/TokenizationListActivitiesResponse.md +10 -0
- package/docs/TokenizationListEnabledChainsResponse.md +10 -0
- package/docs/TokenizationListHoldingsResponse.md +10 -0
- package/docs/TokenizationListTokenInfoResponse.md +10 -0
- package/docs/TokenizationMintEstimateFeeParams.md +12 -0
- package/docs/TokenizationMintTokenParams.md +10 -0
- package/docs/TokenizationMintTokenParamsMintsInner.md +10 -0
- package/docs/TokenizationMintTokenRequest.md +12 -0
- package/docs/TokenizationMpcOperationSource.md +11 -0
- package/docs/TokenizationOperationResponse.md +9 -0
- package/docs/TokenizationOperationSourceType.md +12 -0
- package/docs/TokenizationOperationType.md +26 -0
- package/docs/TokenizationPauseEstimateFeeParams.md +11 -0
- package/docs/TokenizationPauseTokenParams.md +9 -0
- package/docs/TokenizationPauseTokenRequest.md +11 -0
- package/docs/TokenizationStatus.md +16 -0
- package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +12 -0
- package/docs/TokenizationTokenDetailInfo.md +19 -0
- package/docs/TokenizationTokenInfo.md +18 -0
- package/docs/TokenizationTokenOperationSource.md +11 -0
- package/docs/TokenizationTokenPermission.md +12 -0
- package/docs/TokenizationTokenPermissionParams.md +15 -0
- package/docs/TokenizationTokenPermissionType.md +22 -0
- package/docs/TokenizationTokenPermissionsResponse.md +10 -0
- package/docs/TokenizationTokenStandard.md +10 -0
- package/docs/TokenizationUnpauseEstimateFeeParams.md +11 -0
- package/docs/TokenizationUnpauseTokenParams.md +9 -0
- package/docs/TokenizationUnpauseTokenRequest.md +11 -0
- package/docs/TokenizationUpdateAddressAction.md +12 -0
- package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdateAllowlistAddressesParams.md +11 -0
- package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +10 -0
- package/docs/TokenizationUpdateAllowlistAddressesRequest.md +13 -0
- package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdateBlocklistAddressesParams.md +11 -0
- package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +10 -0
- package/docs/TokenizationUpdateBlocklistAddressesRequest.md +13 -0
- package/docs/TokenizationWeb3OperationSource.md +11 -0
- package/docs/TokensEventData.md +5 -3
- package/docs/TopUpAddress.md +1 -1
- package/docs/TransactionEvmEip1559Fee.md +2 -2
- package/docs/TransactionEvmLegacyFee.md +2 -2
- package/docs/TransactionFILFee.md +6 -6
- package/docs/TransactionFee.md +10 -10
- package/docs/TransactionFixedFee.md +2 -2
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
- package/docs/TransactionRequestEvmLegacyFee.md +1 -1
- package/docs/TransactionRequestFILFee.md +4 -4
- package/docs/TransactionRequestFee.md +6 -6
- package/docs/TransactionRequestFixedFee.md +1 -1
- package/docs/TransactionRequestSOLFee.md +3 -3
- package/docs/TransactionRequestUtxoFee.md +1 -1
- package/docs/TransactionSOLFee.md +6 -6
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionUtxoFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +5 -3
- package/docs/TransactionsApi.md +0 -106
- package/docs/UtxoFeeRate.md +1 -1
- package/docs/WalletInfoEventData.md +5 -3
- package/docs/WalletsApi.md +55 -0
- package/docs/WebhookEvent.md +1 -1
- package/docs/WebhookEventData.md +7 -3
- package/docs/WebhookEventDataType.md +5 -3
- package/docs/WebhookEventLog.md +1 -1
- package/docs/WebhookEventType.md +8 -0
- package/package.json +1 -1
- package/docs/ListTransactionApprovalDetails200Response.md +0 -9
|
@@ -144,13 +144,13 @@ TransactionFixedFee.prototype['max_fee_amount'] = undefined;
|
|
|
144
144
|
TransactionFixedFee.prototype['fee_type'] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* The token
|
|
147
|
+
* The token used to pay the transaction fee.
|
|
148
148
|
* @member {String} token_id
|
|
149
149
|
*/
|
|
150
150
|
TransactionFixedFee.prototype['token_id'] = undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
|
-
* The transaction fee.
|
|
153
|
+
* The actually charged transaction fee.
|
|
154
154
|
* @member {String} fee_used
|
|
155
155
|
*/
|
|
156
156
|
TransactionFixedFee.prototype['fee_used'] = undefined;
|
|
@@ -190,7 +190,7 @@ TransactionRbfSource.prototype['source_type'] = undefined;
|
|
|
190
190
|
TransactionRbfSource.prototype['wallet_id'] = undefined;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* Indicates the wallet address to be used as the source of funds. - For UTXO-based chains: both `address` and `included_utxos` are optional. If both `address` and `included_utxos` are provided, the UTXOs must belong to the specified address. If neither `address` nor `included_utxos` is provided, the system will select UTXOs from the wallet associated with `wallet_id`. For RBF transactions, please note the following: - If the original transaction did not specify `included_utxos`, the RBF transaction may omit `address`, `included_utxos`, or both. - If the original transaction specified `included_utxos`, the RBF transaction must specify either `address` or `included_utxos`, or both. - The `address` or `included_utxos` in the RBF transaction may differ from those in the original transaction. - For account-based chains: You need to provide `address` otherwise the token transfer will fail. However, when estimating fees for a transfer, `address` is not required.
|
|
194
194
|
* @member {String} address
|
|
195
195
|
*/
|
|
196
196
|
TransactionRbfSource.prototype['address'] = undefined;
|
|
@@ -39,7 +39,7 @@ var TransactionRequestEvmEip1559Fee = /*#__PURE__*/function () {
|
|
|
39
39
|
* @param max_fee_per_gas {String} The maximum gas fee per gas unit used on the chain, in wei.
|
|
40
40
|
* @param max_priority_fee_per_gas {String} The maximum priority fee per gas unit used, in wei. The maximum priority fee represents the highest amount of miner tips that you are willing to pay for your transaction.
|
|
41
41
|
* @param fee_type {module:model/FeeType}
|
|
42
|
-
* @param token_id {String} The token
|
|
42
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
43
43
|
*/
|
|
44
44
|
function TransactionRequestEvmEip1559Fee(max_fee_per_gas, max_priority_fee_per_gas, fee_type, token_id) {
|
|
45
45
|
_classCallCheck(this, TransactionRequestEvmEip1559Fee);
|
|
@@ -156,7 +156,7 @@ TransactionRequestEvmEip1559Fee.prototype['max_priority_fee_per_gas'] = undefine
|
|
|
156
156
|
TransactionRequestEvmEip1559Fee.prototype['fee_type'] = undefined;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The token
|
|
159
|
+
* The token used to pay the transaction fee.
|
|
160
160
|
* @member {String} token_id
|
|
161
161
|
*/
|
|
162
162
|
TransactionRequestEvmEip1559Fee.prototype['token_id'] = undefined;
|
|
@@ -38,7 +38,7 @@ var TransactionRequestEvmLegacyFee = /*#__PURE__*/function () {
|
|
|
38
38
|
* @implements module:model/EvmLegacyFeeBasePrice
|
|
39
39
|
* @param gas_price {String} The gas price, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions per gas unit used.
|
|
40
40
|
* @param fee_type {module:model/FeeType}
|
|
41
|
-
* @param token_id {String} The token
|
|
41
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
42
42
|
*/
|
|
43
43
|
function TransactionRequestEvmLegacyFee(gas_price, fee_type, token_id) {
|
|
44
44
|
_classCallCheck(this, TransactionRequestEvmLegacyFee);
|
|
@@ -141,7 +141,7 @@ TransactionRequestEvmLegacyFee.prototype['gas_price'] = undefined;
|
|
|
141
141
|
TransactionRequestEvmLegacyFee.prototype['fee_type'] = undefined;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* The token
|
|
144
|
+
* The token used to pay the transaction fee.
|
|
145
145
|
* @member {String} token_id
|
|
146
146
|
*/
|
|
147
147
|
TransactionRequestEvmLegacyFee.prototype['token_id'] = undefined;
|
|
@@ -33,13 +33,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
var TransactionRequestFILFee = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>TransactionRequestFILFee</code>.
|
|
36
|
-
* The preset properties to limit transaction fee. In the
|
|
36
|
+
* The preset properties to limit transaction fee. In the Filecoin fee model, the transaction fee is calculated using the minimum of your specified gas fee cap and the sum of the base fee and gas premium, then multiplied by the gas limit. This can be expressed as: Transaction fee = min(gas fee cap, base fee + gas premium) * gas limit. For more information about the Filecoin fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the gas fee cap, gas premium, and gas limit to control fee behavior and prioritization. Switch between the tabs to display the properties for different transaction fee models.
|
|
37
37
|
* @alias module:model/TransactionRequestFILFee
|
|
38
38
|
* @implements module:model/FILPrice
|
|
39
|
-
* @param gas_premium {String} An optional
|
|
40
|
-
* @param gas_fee_cap {String} The
|
|
39
|
+
* @param gas_premium {String} An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee.
|
|
40
|
+
* @param gas_fee_cap {String} The maximum gas price you are willing to pay per unit of gas.
|
|
41
41
|
* @param fee_type {module:model/FeeType}
|
|
42
|
-
* @param token_id {String} The token
|
|
42
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
43
43
|
*/
|
|
44
44
|
function TransactionRequestFILFee(gas_premium, gas_fee_cap, fee_type, token_id) {
|
|
45
45
|
_classCallCheck(this, TransactionRequestFILFee);
|
|
@@ -139,19 +139,19 @@ var TransactionRequestFILFee = /*#__PURE__*/function () {
|
|
|
139
139
|
TransactionRequestFILFee.RequiredProperties = ["gas_premium", "gas_fee_cap", "fee_type", "token_id"];
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
* An optional
|
|
142
|
+
* An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee.
|
|
143
143
|
* @member {String} gas_premium
|
|
144
144
|
*/
|
|
145
145
|
TransactionRequestFILFee.prototype['gas_premium'] = undefined;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* The
|
|
148
|
+
* The maximum gas price you are willing to pay per unit of gas.
|
|
149
149
|
* @member {String} gas_fee_cap
|
|
150
150
|
*/
|
|
151
151
|
TransactionRequestFILFee.prototype['gas_fee_cap'] = undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* The maximum amount of gas your transaction is allowed to consume.
|
|
155
155
|
* @member {String} gas_limit
|
|
156
156
|
*/
|
|
157
157
|
TransactionRequestFILFee.prototype['gas_limit'] = undefined;
|
|
@@ -162,24 +162,24 @@ TransactionRequestFILFee.prototype['gas_limit'] = undefined;
|
|
|
162
162
|
TransactionRequestFILFee.prototype['fee_type'] = undefined;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* The token
|
|
165
|
+
* The token used to pay the transaction fee.
|
|
166
166
|
* @member {String} token_id
|
|
167
167
|
*/
|
|
168
168
|
TransactionRequestFILFee.prototype['token_id'] = undefined;
|
|
169
169
|
|
|
170
170
|
// Implement FILPrice interface:
|
|
171
171
|
/**
|
|
172
|
-
* An optional
|
|
172
|
+
* An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee.
|
|
173
173
|
* @member {String} gas_premium
|
|
174
174
|
*/
|
|
175
175
|
_FILPrice["default"].prototype['gas_premium'] = undefined;
|
|
176
176
|
/**
|
|
177
|
-
* The
|
|
177
|
+
* The maximum gas price you are willing to pay per unit of gas.
|
|
178
178
|
* @member {String} gas_fee_cap
|
|
179
179
|
*/
|
|
180
180
|
_FILPrice["default"].prototype['gas_fee_cap'] = undefined;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* The maximum amount of gas your transaction is allowed to consume.
|
|
183
183
|
* @member {String} gas_limit
|
|
184
184
|
*/
|
|
185
185
|
_FILPrice["default"].prototype['gas_limit'] = undefined;
|
|
@@ -290,7 +290,7 @@ _defineProperty(TransactionRequestFee, "fromJSON", function (json_string) {
|
|
|
290
290
|
TransactionRequestFee.prototype['fee_type'] = undefined;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* The token
|
|
293
|
+
* The token used to pay the transaction fee.
|
|
294
294
|
* @member {String} token_id
|
|
295
295
|
*/
|
|
296
296
|
TransactionRequestFee.prototype['token_id'] = undefined;
|
|
@@ -302,7 +302,7 @@ TransactionRequestFee.prototype['token_id'] = undefined;
|
|
|
302
302
|
TransactionRequestFee.prototype['max_fee_amount'] = undefined;
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
*
|
|
305
|
+
* The maximum amount of gas your transaction is allowed to consume.
|
|
306
306
|
* @member {String} gas_limit
|
|
307
307
|
*/
|
|
308
308
|
TransactionRequestFee.prototype['gas_limit'] = undefined;
|
|
@@ -332,25 +332,25 @@ TransactionRequestFee.prototype['gas_price'] = undefined;
|
|
|
332
332
|
TransactionRequestFee.prototype['fee_rate'] = undefined;
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
|
-
* The
|
|
335
|
+
* The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
336
336
|
* @member {String} compute_unit_price
|
|
337
337
|
*/
|
|
338
338
|
TransactionRequestFee.prototype['compute_unit_price'] = undefined;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* The maximum number of compute units
|
|
341
|
+
* The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
342
342
|
* @member {String} compute_unit_limit
|
|
343
343
|
*/
|
|
344
344
|
TransactionRequestFee.prototype['compute_unit_limit'] = undefined;
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
|
-
* An optional
|
|
347
|
+
* An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee.
|
|
348
348
|
* @member {String} gas_premium
|
|
349
349
|
*/
|
|
350
350
|
TransactionRequestFee.prototype['gas_premium'] = undefined;
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
|
-
* The
|
|
353
|
+
* The maximum gas price you are willing to pay per unit of gas.
|
|
354
354
|
* @member {String} gas_fee_cap
|
|
355
355
|
*/
|
|
356
356
|
TransactionRequestFee.prototype['gas_fee_cap'] = undefined;
|
|
@@ -37,7 +37,7 @@ var TransactionRequestFixedFee = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/TransactionRequestFixedFee
|
|
38
38
|
* @implements module:model/MaxFeeAmount
|
|
39
39
|
* @param fee_type {module:model/FeeType}
|
|
40
|
-
* @param token_id {String} The token
|
|
40
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
41
41
|
*/
|
|
42
42
|
function TransactionRequestFixedFee(fee_type, token_id) {
|
|
43
43
|
_classCallCheck(this, TransactionRequestFixedFee);
|
|
@@ -132,7 +132,7 @@ TransactionRequestFixedFee.prototype['max_fee_amount'] = undefined;
|
|
|
132
132
|
TransactionRequestFixedFee.prototype['fee_type'] = undefined;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* The token
|
|
135
|
+
* The token used to pay the transaction fee.
|
|
136
136
|
* @member {String} token_id
|
|
137
137
|
*/
|
|
138
138
|
TransactionRequestFixedFee.prototype['token_id'] = undefined;
|
|
@@ -33,13 +33,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
var TransactionRequestSOLFee = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>TransactionRequestSOLFee</code>.
|
|
36
|
-
* The preset properties to limit transaction fee. In the
|
|
36
|
+
* The preset properties to limit transaction fee. In the Solana fee model, the transaction fee is calculated by adding the base fee to the product of the compute unit limit and the compute unit price. This can be expressed as: Transaction fee = base fee + (CU limit * CU price). For more information about the Solana fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify CU price and CU limit to adjust the priority and resource allocation of your transaction. Switch between the tabs to display the properties for different transaction fee models.
|
|
37
37
|
* @alias module:model/TransactionRequestSOLFee
|
|
38
38
|
* @implements module:model/SOLComputeUnit
|
|
39
|
-
* @param compute_unit_price {String} The
|
|
40
|
-
* @param compute_unit_limit {String} The maximum number of compute units
|
|
39
|
+
* @param compute_unit_price {String} The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
40
|
+
* @param compute_unit_limit {String} The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
41
41
|
* @param fee_type {module:model/FeeType}
|
|
42
|
-
* @param token_id {String} The token
|
|
42
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
43
43
|
*/
|
|
44
44
|
function TransactionRequestSOLFee(compute_unit_price, compute_unit_limit, fee_type, token_id) {
|
|
45
45
|
_classCallCheck(this, TransactionRequestSOLFee);
|
|
@@ -132,13 +132,13 @@ var TransactionRequestSOLFee = /*#__PURE__*/function () {
|
|
|
132
132
|
TransactionRequestSOLFee.RequiredProperties = ["compute_unit_price", "compute_unit_limit", "fee_type", "token_id"];
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* The
|
|
135
|
+
* The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
136
136
|
* @member {String} compute_unit_price
|
|
137
137
|
*/
|
|
138
138
|
TransactionRequestSOLFee.prototype['compute_unit_price'] = undefined;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* The maximum number of compute units
|
|
141
|
+
* The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
142
142
|
* @member {String} compute_unit_limit
|
|
143
143
|
*/
|
|
144
144
|
TransactionRequestSOLFee.prototype['compute_unit_limit'] = undefined;
|
|
@@ -149,19 +149,19 @@ TransactionRequestSOLFee.prototype['compute_unit_limit'] = undefined;
|
|
|
149
149
|
TransactionRequestSOLFee.prototype['fee_type'] = undefined;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
|
-
* The token
|
|
152
|
+
* The token used to pay the transaction fee.
|
|
153
153
|
* @member {String} token_id
|
|
154
154
|
*/
|
|
155
155
|
TransactionRequestSOLFee.prototype['token_id'] = undefined;
|
|
156
156
|
|
|
157
157
|
// Implement SOLComputeUnit interface:
|
|
158
158
|
/**
|
|
159
|
-
* The
|
|
159
|
+
* The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
160
160
|
* @member {String} compute_unit_price
|
|
161
161
|
*/
|
|
162
162
|
_SOLComputeUnit["default"].prototype['compute_unit_price'] = undefined;
|
|
163
163
|
/**
|
|
164
|
-
* The maximum number of compute units
|
|
164
|
+
* The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
165
165
|
* @member {String} compute_unit_limit
|
|
166
166
|
*/
|
|
167
167
|
_SOLComputeUnit["default"].prototype['compute_unit_limit'] = undefined;
|
|
@@ -37,7 +37,7 @@ var TransactionRequestUtxoFee = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/TransactionRequestUtxoFee
|
|
38
38
|
* @implements module:model/UtxoFeeBasePrice
|
|
39
39
|
* @param fee_type {module:model/FeeType}
|
|
40
|
-
* @param token_id {String} The token
|
|
40
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
41
41
|
*/
|
|
42
42
|
function TransactionRequestUtxoFee(fee_type, token_id) {
|
|
43
43
|
_classCallCheck(this, TransactionRequestUtxoFee);
|
|
@@ -139,7 +139,7 @@ TransactionRequestUtxoFee.prototype['fee_rate'] = undefined;
|
|
|
139
139
|
TransactionRequestUtxoFee.prototype['fee_type'] = undefined;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
* The token
|
|
142
|
+
* The token used to pay the transaction fee.
|
|
143
143
|
* @member {String} token_id
|
|
144
144
|
*/
|
|
145
145
|
TransactionRequestUtxoFee.prototype['token_id'] = undefined;
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
var TransactionSOLFee = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>TransactionSOLFee</code>.
|
|
37
|
-
* The transaction fee actually charged by the chain that uses the
|
|
37
|
+
* The transaction fee actually charged by the chain that uses the Solana fee model. In this model, the fee is calculated as: fee = base fee + (compute unit price * compute unit limit) + rent (if applicable). For more details, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). Switch between the tabs to display the properties for different transaction fee models.
|
|
38
38
|
* @alias module:model/TransactionSOLFee
|
|
39
39
|
* @implements module:model/SOLBase
|
|
40
40
|
* @implements module:model/SOLComputeUnit
|
|
@@ -158,25 +158,25 @@ var TransactionSOLFee = /*#__PURE__*/function () {
|
|
|
158
158
|
TransactionSOLFee.RequiredProperties = ["fee_type"];
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* A fixed fee charged per signature. The default is 5,000 lamports per signature.
|
|
162
162
|
* @member {String} base_fee
|
|
163
163
|
*/
|
|
164
164
|
TransactionSOLFee.prototype['base_fee'] = undefined;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* The fee charged
|
|
167
|
+
* The rent fee charged by the network to store non–rent-exempt accounts on-chain. It is deducted periodically until the account maintains the minimum balance required for rent exemption.
|
|
168
168
|
* @member {String} rent_amount
|
|
169
169
|
*/
|
|
170
170
|
TransactionSOLFee.prototype['rent_amount'] = undefined;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
* The
|
|
173
|
+
* The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
174
174
|
* @member {String} compute_unit_price
|
|
175
175
|
*/
|
|
176
176
|
TransactionSOLFee.prototype['compute_unit_price'] = undefined;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* The maximum number of compute units
|
|
179
|
+
* The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
180
180
|
* @member {String} compute_unit_limit
|
|
181
181
|
*/
|
|
182
182
|
TransactionSOLFee.prototype['compute_unit_limit'] = undefined;
|
|
@@ -187,13 +187,13 @@ TransactionSOLFee.prototype['compute_unit_limit'] = undefined;
|
|
|
187
187
|
TransactionSOLFee.prototype['fee_type'] = undefined;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* The token
|
|
190
|
+
* The token used to pay the transaction fee.
|
|
191
191
|
* @member {String} token_id
|
|
192
192
|
*/
|
|
193
193
|
TransactionSOLFee.prototype['token_id'] = undefined;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* The transaction fee.
|
|
196
|
+
* The actually charged transaction fee.
|
|
197
197
|
* @member {String} fee_used
|
|
198
198
|
*/
|
|
199
199
|
TransactionSOLFee.prototype['fee_used'] = undefined;
|
|
@@ -206,23 +206,23 @@ TransactionSOLFee.prototype['estimated_fee_used'] = undefined;
|
|
|
206
206
|
|
|
207
207
|
// Implement SOLBase interface:
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* A fixed fee charged per signature. The default is 5,000 lamports per signature.
|
|
210
210
|
* @member {String} base_fee
|
|
211
211
|
*/
|
|
212
212
|
_SOLBase["default"].prototype['base_fee'] = undefined;
|
|
213
213
|
/**
|
|
214
|
-
* The fee charged
|
|
214
|
+
* The rent fee charged by the network to store non–rent-exempt accounts on-chain. It is deducted periodically until the account maintains the minimum balance required for rent exemption.
|
|
215
215
|
* @member {String} rent_amount
|
|
216
216
|
*/
|
|
217
217
|
_SOLBase["default"].prototype['rent_amount'] = undefined;
|
|
218
218
|
// Implement SOLComputeUnit interface:
|
|
219
219
|
/**
|
|
220
|
-
* The
|
|
220
|
+
* The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
|
|
221
221
|
* @member {String} compute_unit_price
|
|
222
222
|
*/
|
|
223
223
|
_SOLComputeUnit["default"].prototype['compute_unit_price'] = undefined;
|
|
224
224
|
/**
|
|
225
|
-
* The maximum number of compute units
|
|
225
|
+
* The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload.
|
|
226
226
|
* @member {String} compute_unit_limit
|
|
227
227
|
*/
|
|
228
228
|
_SOLComputeUnit["default"].prototype['compute_unit_limit'] = undefined;
|
|
@@ -60,6 +60,11 @@ var TransactionSubStatus = exports["default"] = /*#__PURE__*/function () {
|
|
|
60
60
|
* @const
|
|
61
61
|
*/
|
|
62
62
|
_defineProperty(this, "RejectedCoboCheck", "RejectedCoboCheck");
|
|
63
|
+
/**
|
|
64
|
+
* value: "RejectedByCobo"
|
|
65
|
+
* @const
|
|
66
|
+
*/
|
|
67
|
+
_defineProperty(this, "RejectedByCobo", "RejectedByCobo");
|
|
63
68
|
/**
|
|
64
69
|
* value: "RejectedWhiteList"
|
|
65
70
|
* @const
|
|
@@ -151,13 +151,13 @@ TransactionUtxoFee.prototype['fee_rate'] = undefined;
|
|
|
151
151
|
TransactionUtxoFee.prototype['fee_type'] = undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* The token
|
|
154
|
+
* The token used to pay the transaction fee.
|
|
155
155
|
* @member {String} token_id
|
|
156
156
|
*/
|
|
157
157
|
TransactionUtxoFee.prototype['token_id'] = undefined;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* The transaction fee.
|
|
160
|
+
* The actually charged transaction fee.
|
|
161
161
|
* @member {String} fee_used
|
|
162
162
|
*/
|
|
163
163
|
TransactionUtxoFee.prototype['fee_used'] = undefined;
|
|
@@ -48,7 +48,7 @@ var TransactionWebhookEventData = /*#__PURE__*/function () {
|
|
|
48
48
|
* @alias module:model/TransactionWebhookEventData
|
|
49
49
|
* @implements module:model/WebhookEventDataType
|
|
50
50
|
* @implements module:model/Transaction
|
|
51
|
-
* @param data_type {module:model/TransactionWebhookEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
51
|
+
* @param data_type {module:model/TransactionWebhookEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
52
52
|
* @param transaction_id {String} The transaction ID.
|
|
53
53
|
* @param wallet_id {String} For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source.
|
|
54
54
|
* @param status {module:model/TransactionStatus}
|
|
@@ -344,7 +344,7 @@ var TransactionWebhookEventData = /*#__PURE__*/function () {
|
|
|
344
344
|
TransactionWebhookEventData.RequiredProperties = ["data_type", "transaction_id", "wallet_id", "status", "source", "destination", "initiator_type", "created_timestamp", "updated_timestamp"];
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
347
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
348
348
|
* @member {module:model/TransactionWebhookEventData.DataTypeEnum} data_type
|
|
349
349
|
*/
|
|
350
350
|
TransactionWebhookEventData.prototype['data_type'] = undefined;
|
|
@@ -525,7 +525,7 @@ TransactionWebhookEventData.prototype['updated_timestamp'] = undefined;
|
|
|
525
525
|
|
|
526
526
|
// Implement WebhookEventDataType interface:
|
|
527
527
|
/**
|
|
528
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
528
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
529
529
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
530
530
|
*/
|
|
531
531
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -720,11 +720,6 @@ TransactionWebhookEventData['DataTypeEnum'] = {
|
|
|
720
720
|
* @const
|
|
721
721
|
*/
|
|
722
722
|
"TokenListing": "TokenListing",
|
|
723
|
-
/**
|
|
724
|
-
* value: "BalanceUpdateInfo"
|
|
725
|
-
* @const
|
|
726
|
-
*/
|
|
727
|
-
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
728
723
|
/**
|
|
729
724
|
* value: "PaymentOrder"
|
|
730
725
|
* @const
|
|
@@ -740,6 +735,16 @@ TransactionWebhookEventData['DataTypeEnum'] = {
|
|
|
740
735
|
* @const
|
|
741
736
|
*/
|
|
742
737
|
"PaymentSettlement": "PaymentSettlement",
|
|
738
|
+
/**
|
|
739
|
+
* value: "BalanceUpdateInfo"
|
|
740
|
+
* @const
|
|
741
|
+
*/
|
|
742
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
743
|
+
/**
|
|
744
|
+
* value: "SuspendedToken"
|
|
745
|
+
* @const
|
|
746
|
+
*/
|
|
747
|
+
"SuspendedToken": "SuspendedToken",
|
|
743
748
|
/**
|
|
744
749
|
* value: "unknown_default_open_api"
|
|
745
750
|
* @const
|
|
@@ -28,7 +28,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
var UtxoFeeBasePrice = /*#__PURE__*/function () {
|
|
29
29
|
/**
|
|
30
30
|
* Constructs a new <code>UtxoFeeBasePrice</code>.
|
|
31
|
-
* The transaction fee rate for UTXO-based chains (such as Bitcoin).
|
|
32
31
|
* @alias module:model/UtxoFeeBasePrice
|
|
33
32
|
*/
|
|
34
33
|
function UtxoFeeBasePrice() {
|
|
@@ -36,7 +36,7 @@ var UtxoFeeRate = /*#__PURE__*/function () {
|
|
|
36
36
|
* The transaction fee rate for UTXO-based chains.
|
|
37
37
|
* @alias module:model/UtxoFeeRate
|
|
38
38
|
* @param fee_type {module:model/FeeType}
|
|
39
|
-
* @param token_id {String} The token
|
|
39
|
+
* @param token_id {String} The token used to pay the transaction fee.
|
|
40
40
|
* @param recommended {module:model/UtxoFeeBasePrice}
|
|
41
41
|
*/
|
|
42
42
|
function UtxoFeeRate(fee_type, token_id, recommended) {
|
|
@@ -148,7 +148,7 @@ UtxoFeeRate.RequiredProperties = ["fee_type", "token_id", "recommended"];
|
|
|
148
148
|
UtxoFeeRate.prototype['fee_type'] = undefined;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
|
-
* The token
|
|
151
|
+
* The token used to pay the transaction fee.
|
|
152
152
|
* @member {String} token_id
|
|
153
153
|
*/
|
|
154
154
|
UtxoFeeRate.prototype['token_id'] = undefined;
|
|
@@ -35,7 +35,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
35
35
|
* Constructs a new <code>WalletInfoEventData</code>.
|
|
36
36
|
* @alias module:model/WalletInfoEventData
|
|
37
37
|
* @implements module:model/WebhookEventDataType
|
|
38
|
-
* @param data_type {module:model/WalletInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
38
|
+
* @param data_type {module:model/WalletInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
39
39
|
*/
|
|
40
40
|
function WalletInfoEventData(data_type) {
|
|
41
41
|
_classCallCheck(this, WalletInfoEventData);
|
|
@@ -118,7 +118,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
118
118
|
WalletInfoEventData.RequiredProperties = ["data_type"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
121
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
122
122
|
* @member {module:model/WalletInfoEventData.DataTypeEnum} data_type
|
|
123
123
|
*/
|
|
124
124
|
WalletInfoEventData.prototype['data_type'] = undefined;
|
|
@@ -130,7 +130,7 @@ WalletInfoEventData.prototype['wallet'] = undefined;
|
|
|
130
130
|
|
|
131
131
|
// Implement WebhookEventDataType interface:
|
|
132
132
|
/**
|
|
133
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `
|
|
133
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
|
|
134
134
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
135
135
|
*/
|
|
136
136
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -181,11 +181,6 @@ WalletInfoEventData['DataTypeEnum'] = {
|
|
|
181
181
|
* @const
|
|
182
182
|
*/
|
|
183
183
|
"TokenListing": "TokenListing",
|
|
184
|
-
/**
|
|
185
|
-
* value: "BalanceUpdateInfo"
|
|
186
|
-
* @const
|
|
187
|
-
*/
|
|
188
|
-
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
189
184
|
/**
|
|
190
185
|
* value: "PaymentOrder"
|
|
191
186
|
* @const
|
|
@@ -201,6 +196,16 @@ WalletInfoEventData['DataTypeEnum'] = {
|
|
|
201
196
|
* @const
|
|
202
197
|
*/
|
|
203
198
|
"PaymentSettlement": "PaymentSettlement",
|
|
199
|
+
/**
|
|
200
|
+
* value: "BalanceUpdateInfo"
|
|
201
|
+
* @const
|
|
202
|
+
*/
|
|
203
|
+
"BalanceUpdateInfo": "BalanceUpdateInfo",
|
|
204
|
+
/**
|
|
205
|
+
* value: "SuspendedToken"
|
|
206
|
+
* @const
|
|
207
|
+
*/
|
|
208
|
+
"SuspendedToken": "SuspendedToken",
|
|
204
209
|
/**
|
|
205
210
|
* value: "unknown_default_open_api"
|
|
206
211
|
* @const
|
|
@@ -37,7 +37,7 @@ var WebhookEvent = /*#__PURE__*/function () {
|
|
|
37
37
|
* The webhook event payload.
|
|
38
38
|
* @alias module:model/WebhookEvent
|
|
39
39
|
* @param url {String} The webhook endpoint URL.
|
|
40
|
-
* @param created_timestamp {Number} The time when the event
|
|
40
|
+
* @param created_timestamp {Number} The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
41
41
|
* @param type {module:model/WebhookEventType}
|
|
42
42
|
* @param data {module:model/WebhookEventData}
|
|
43
43
|
*/
|
|
@@ -157,7 +157,7 @@ WebhookEvent.prototype['event_id'] = undefined;
|
|
|
157
157
|
WebhookEvent.prototype['url'] = undefined;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* The time when the event
|
|
160
|
+
* The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
|
|
161
161
|
* @member {Number} created_timestamp
|
|
162
162
|
*/
|
|
163
163
|
WebhookEvent.prototype['created_timestamp'] = undefined;
|