@cobo/cobo-waas2 1.17.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 +113 -7
- package/dist/ApiClient.js +1 -1
- package/dist/api/FeeStationApi.js +2 -2
- package/dist/api/OAuthApi.js +12 -12
- package/dist/api/OrganizationsApi.js +79 -0
- package/dist/api/PaymentApi.js +233 -16
- package/dist/api/TransactionsApi.js +2 -94
- package/dist/api/WalletsApi.js +55 -2
- package/dist/index.js +717 -10
- package/dist/model/Account.js +174 -0
- package/dist/model/AcquiringType.js +61 -0
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/AddressesEventData.js +13 -3
- 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/BalanceUpdateInfo.js +170 -0
- package/dist/model/BalanceUpdateInfoEventData.js +302 -0
- package/dist/model/BankAccount.js +2 -2
- package/dist/model/ChainsEventData.js +13 -3
- package/dist/model/CreateMerchantRequest.js +13 -0
- package/dist/model/CreatePaymentOrderRequest.js +16 -6
- package/dist/model/CreateRefundRequest.js +9 -11
- package/dist/model/CreateSettlement.js +7 -27
- package/dist/model/CreateSettlementRequestRequest.js +27 -0
- package/dist/model/CryptoAddress.js +7 -7
- package/dist/model/CustodialTransferDestination.js +1 -1
- package/dist/model/CustodialWeb3TransferSource.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +1 -1
- package/dist/model/EstimatedEvmEip1559Fee.js +2 -2
- package/dist/model/EstimatedEvmLegacyFee.js +2 -2
- package/dist/model/EstimatedFILFee.js +170 -0
- package/dist/model/EstimatedFILFeeSlow.js +186 -0
- package/dist/model/EstimatedFee.js +69 -13
- package/dist/model/EstimatedFixedFee.js +2 -2
- package/dist/model/EstimatedSOLFee.js +170 -0
- package/dist/model/EstimatedSOLFeeSlow.js +184 -0
- 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/ExchangePermissionToken201Response.js +4 -4
- package/dist/model/ExchangePermissionTokenRequest.js +2 -2
- package/dist/model/FILBase.js +88 -0
- package/dist/model/FILPrice.js +113 -0
- package/dist/model/FeeRate.js +1 -1
- package/dist/model/FeeType.js +10 -0
- package/dist/model/FixedFeeRate.js +2 -2
- package/dist/model/GetExchangeRate200Response.js +2 -2
- package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +156 -0
- package/dist/model/GraphQLError.js +135 -0
- package/dist/model/GraphQLErrorLocationsInner.js +92 -0
- package/dist/model/GraphQLRequest.js +135 -0
- package/dist/model/GraphQLResponse.js +119 -0
- package/dist/model/{ListTransactionApprovalDetails200Response.js → ListTopUpPayers200Response.js} +37 -21
- package/dist/model/ListTopUpPayers200ResponseDataInner.js +189 -0
- package/dist/model/MPCVaultEventData.js +13 -3
- package/dist/model/MaxFeeAmount.js +0 -1
- package/dist/model/MaxTransferableValue.js +2 -2
- package/dist/model/Merchant.js +15 -2
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/Order.js +12 -3
- package/dist/model/PayerAccount.js +189 -0
- package/dist/model/PaymentOrderEventData.js +32 -9
- package/dist/model/PaymentRefundEventData.js +71 -11
- package/dist/model/PaymentSettlementEvent.js +19 -9
- package/dist/model/RefreshPermissionTokenRequest.js +2 -2
- package/dist/model/Refund.js +39 -4
- package/dist/model/RefundStatus.js +5 -0
- package/dist/model/RoleDetail.js +126 -0
- package/dist/model/SOLBase.js +101 -0
- package/dist/model/SOLComputeUnit.js +100 -0
- package/dist/model/Settlement.js +3 -3
- package/dist/model/SettlementDetail.js +15 -6
- package/dist/model/SettlementInfo.js +11 -2
- 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 +68 -0
- package/dist/model/SwapActivitySigners.js +110 -0
- package/dist/model/SwapQuote.js +17 -4
- package/dist/model/SwapSingingStatus.js +71 -0
- package/dist/model/TSSRequestWebhookEventData.js +13 -3
- package/dist/model/TokenListingEventData.js +13 -3
- 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/{TransactionMessageSignBTCEIP191Destination.js → TokenizationAllowlistAddressNote.js} +46 -36
- 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 -3
- package/dist/model/TopUpAddress.js +230 -0
- package/dist/model/TransactionCoboCategory.js +20 -0
- package/dist/model/TransactionDestination.js +10 -38
- package/dist/model/TransactionEvmCalldataInfo.js +1 -1
- package/dist/model/TransactionEvmEip1559Fee.js +2 -2
- package/dist/model/TransactionEvmLegacyFee.js +2 -2
- package/dist/model/TransactionFILFee.js +229 -0
- package/dist/model/TransactionFee.js +109 -11
- 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 +186 -0
- package/dist/model/TransactionRequestFee.js +90 -10
- package/dist/model/TransactionRequestFixedFee.js +2 -2
- package/dist/model/TransactionRequestSOLFee.js +168 -0
- package/dist/model/TransactionRequestUtxoFee.js +2 -2
- package/dist/model/TransactionSOLFee.js +229 -0
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionTransferToWalletDestination.js +1 -1
- package/dist/model/TransactionUtxoFee.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +13 -3
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/UpdateMerchantByIdRequest.js +13 -0
- package/dist/model/UpdateRefundByIdRequest.js +110 -0
- package/dist/model/UpdateTopUpAddress.js +141 -0
- package/dist/model/UtxoFeeBasePrice.js +0 -1
- package/dist/model/UtxoFeeRate.js +2 -2
- package/dist/model/WalletInfoEventData.js +13 -3
- package/dist/model/WebhookEvent.js +2 -2
- package/dist/model/WebhookEventData.js +123 -13
- package/dist/model/WebhookEventDataType.js +12 -2
- package/dist/model/WebhookEventLog.js +2 -2
- package/dist/model/WebhookEventType.js +35 -0
- package/docs/Account.md +14 -0
- package/docs/AcquiringType.md +12 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressesEventData.md +5 -1
- 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/BalanceUpdateInfo.md +13 -0
- package/docs/BalanceUpdateInfoEventData.md +49 -0
- package/docs/BankAccount.md +2 -2
- package/docs/ChainsEventData.md +5 -1
- package/docs/CreateMerchantRequest.md +1 -0
- package/docs/CreatePaymentOrderRequest.md +5 -4
- package/docs/CreateRefundRequest.md +5 -5
- package/docs/CreateSettlement.md +7 -9
- package/docs/CreateSettlementRequestRequest.md +3 -0
- package/docs/CryptoAddress.md +5 -5
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimatedEvmEip1559Fee.md +1 -1
- package/docs/EstimatedEvmLegacyFee.md +1 -1
- package/docs/EstimatedFILFee.md +13 -0
- package/docs/EstimatedFILFeeSlow.md +12 -0
- package/docs/EstimatedFee.md +4 -4
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/EstimatedSOLFee.md +13 -0
- package/docs/EstimatedSOLFeeSlow.md +12 -0
- package/docs/EstimatedUtxoFee.md +1 -1
- package/docs/EvmEip1559FeeRate.md +1 -1
- package/docs/EvmLegacyFeeRate.md +1 -1
- package/docs/ExchangePermissionToken201Response.md +4 -4
- package/docs/ExchangePermissionTokenRequest.md +1 -1
- package/docs/FILBase.md +9 -0
- package/docs/FILPrice.md +11 -0
- package/docs/FeeRate.md +1 -1
- package/docs/FeeStationApi.md +1 -1
- package/docs/FeeType.md +4 -0
- package/docs/FixedFeeRate.md +1 -1
- package/docs/GetExchangeRate200Response.md +1 -1
- package/docs/GetMaxTransferableValueWithFeeModelRequest.md +12 -0
- package/docs/GraphQLError.md +11 -0
- package/docs/GraphQLErrorLocationsInner.md +10 -0
- package/docs/GraphQLRequest.md +11 -0
- package/docs/GraphQLResponse.md +10 -0
- package/docs/ListTopUpPayers200Response.md +10 -0
- package/docs/ListTopUpPayers200ResponseDataInner.md +14 -0
- package/docs/MPCVaultEventData.md +5 -1
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/Merchant.md +3 -2
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +8 -8
- package/docs/Order.md +4 -3
- package/docs/OrganizationsApi.md +55 -0
- package/docs/PayerAccount.md +14 -0
- package/docs/PaymentApi.md +230 -6
- package/docs/PaymentOrderEventData.md +9 -4
- package/docs/PaymentRefundEventData.md +12 -5
- package/docs/PaymentSettlementEvent.md +8 -4
- package/docs/RefreshPermissionTokenRequest.md +1 -1
- package/docs/Refund.md +7 -4
- package/docs/RefundStatus.md +2 -0
- package/docs/RoleDetail.md +11 -0
- package/docs/SOLBase.md +10 -0
- package/docs/SOLComputeUnit.md +10 -0
- package/docs/Settlement.md +3 -3
- package/docs/SettlementDetail.md +7 -6
- package/docs/SettlementInfo.md +3 -2
- package/docs/SuspendedTokenEventData.md +46 -0
- package/docs/SuspendedTokenOperationType.md +12 -0
- package/docs/SwapActivity.md +2 -0
- package/docs/SwapActivityDetail.md +3 -0
- package/docs/SwapActivitySigners.md +11 -0
- package/docs/SwapQuote.md +3 -2
- package/docs/SwapSingingStatus.md +16 -0
- package/docs/TSSRequestWebhookEventData.md +5 -1
- package/docs/TokenListingEventData.md +5 -1
- 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 -1
- package/docs/TopUpAddress.md +18 -0
- package/docs/TransactionCoboCategory.md +8 -0
- package/docs/TransactionDestination.md +2 -2
- package/docs/TransactionEvmCalldataInfo.md +1 -1
- package/docs/TransactionEvmEip1559Fee.md +2 -2
- package/docs/TransactionEvmLegacyFee.md +2 -2
- package/docs/TransactionFILFee.md +16 -0
- package/docs/TransactionFee.md +10 -3
- 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 +13 -0
- package/docs/TransactionRequestFee.md +6 -2
- package/docs/TransactionRequestFixedFee.md +1 -1
- package/docs/TransactionRequestSOLFee.md +12 -0
- package/docs/TransactionRequestUtxoFee.md +1 -1
- package/docs/TransactionSOLFee.md +16 -0
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionTransferToWalletDestination.md +1 -1
- package/docs/TransactionUtxoFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +5 -1
- package/docs/TransactionsApi.md +1 -107
- package/docs/TransferDestination.md +2 -2
- package/docs/UpdateMerchantByIdRequest.md +1 -0
- package/docs/UpdateRefundByIdRequest.md +9 -0
- package/docs/UpdateTopUpAddress.md +11 -0
- package/docs/UtxoFeeRate.md +1 -1
- package/docs/WalletInfoEventData.md +5 -1
- package/docs/WalletsApi.md +58 -1
- package/docs/WebhookEvent.md +1 -1
- package/docs/WebhookEventData.md +18 -5
- package/docs/WebhookEventDataType.md +5 -1
- package/docs/WebhookEventLog.md +1 -1
- package/docs/WebhookEventType.md +14 -0
- package/package.json +1 -1
- package/docs/ListTransactionApprovalDetails200Response.md +0 -9
- package/docs/TransactionMessageSignBTCEIP191Destination.md +0 -10
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**chain_id** | **String** | The ID of the chain on which the smart contract is
|
|
7
|
+
**chain_id** | **String** | The ID of the chain on which the smart contract is issued. | [optional]
|
|
8
8
|
**address** | **String** | The address of the smart contract. | [optional]
|
|
9
9
|
**name** | **String** | The name of the smart contract. | [optional]
|
|
10
10
|
**impl_address** | **String** | The address of the implementation smart contract. This property is applicable only when the specified smart contract is a proxy contract. | [optional]
|
|
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**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. | [optional]
|
|
9
9
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. | [optional]
|
|
10
10
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
11
|
-
**token_id** | **String** | The token
|
|
11
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
12
12
|
**effective_gas_price** | **String** | The gas price (gas fee per gas unit) on the chain, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions. | [optional]
|
|
13
|
-
**fee_used** | **String** | The transaction fee. | [optional]
|
|
13
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
14
14
|
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
15
15
|
**gas_used** | **String** | The number of gas units used in the transaction. | [optional]
|
|
16
16
|
|
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**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. | [optional]
|
|
8
8
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. | [optional]
|
|
9
9
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
10
|
-
**token_id** | **String** | The token
|
|
11
|
-
**fee_used** | **String** | The transaction fee. | [optional]
|
|
10
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
11
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
12
12
|
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
13
13
|
**gas_used** | **String** | The gas units used in the transaction. | [optional]
|
|
14
14
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# CoboWaas2.TransactionFILFee
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**gas_base** | **String** | The minimum fee required for a transaction to be included in a block. The base fee is dynamically adjusted based on network congestion to maintain target block utilization. It is burned rather than paid to miners, reducing the total Filecoin supply over time. | [optional]
|
|
8
|
+
**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. | [optional]
|
|
9
|
+
**gas_fee_cap** | **String** | The maximum gas price you are willing to pay per unit of gas. | [optional]
|
|
10
|
+
**gas_limit** | **String** | The maximum amount of gas your transaction is allowed to consume. | [optional]
|
|
11
|
+
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
12
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
13
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
14
|
+
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
15
|
+
|
|
16
|
+
|
package/docs/TransactionFee.md
CHANGED
|
@@ -5,16 +5,23 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
8
|
-
**token_id** | **String** | The token
|
|
8
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
9
9
|
**effective_gas_price** | **String** | The gas price (gas fee per gas unit) on the chain, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions. | [optional]
|
|
10
|
-
**fee_used** | **String** | The transaction fee. | [optional]
|
|
10
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
11
11
|
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
12
12
|
**gas_used** | **String** | The gas units used in the transaction. | [optional]
|
|
13
13
|
**max_fee_per_gas** | **String** | The maximum gas fee per gas unit used on the chain, in wei. | [optional]
|
|
14
14
|
**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. | [optional]
|
|
15
|
-
**gas_limit** | **String** | The
|
|
15
|
+
**gas_limit** | **String** | The maximum amount of gas your transaction is allowed to consume. | [optional]
|
|
16
16
|
**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. | [optional]
|
|
17
17
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
18
18
|
**fee_rate** | **String** | The fee rate in sat/vByte. The fee rate represents the satoshis you are willing to pay for each byte of data that your transaction will consume on the blockchain. | [optional]
|
|
19
|
+
**base_fee** | **String** | A fixed fee charged per signature. The default is 5,000 lamports per signature. | [optional]
|
|
20
|
+
**rent_amount** | **String** | 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. | [optional]
|
|
21
|
+
**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. | [optional]
|
|
22
|
+
**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. | [optional]
|
|
23
|
+
**gas_base** | **String** | The minimum fee required for a transaction to be included in a block. The base fee is dynamically adjusted based on network congestion to maintain target block utilization. It is burned rather than paid to miners, reducing the total Filecoin supply over time. | [optional]
|
|
24
|
+
**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. | [optional]
|
|
25
|
+
**gas_fee_cap** | **String** | The maximum gas price you are willing to pay per unit of gas. | [optional]
|
|
19
26
|
|
|
20
27
|
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
|
-
**token_id** | **String** | The token
|
|
10
|
-
**fee_used** | **String** | The transaction fee. | [optional]
|
|
9
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
10
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
11
11
|
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
12
12
|
|
|
13
13
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**source_type** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
|
-
**address** | **String** |
|
|
9
|
+
**address** | **String** | 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. | [optional]
|
|
10
10
|
**included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
11
11
|
**excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
12
12
|
**mpc_used_key_share_holder_group** | [**MpcSigningGroup**](MpcSigningGroup.md) | | [optional]
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**max_fee_per_gas** | **String** | The maximum gas fee per gas unit used on the chain, in wei. |
|
|
8
8
|
**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. |
|
|
9
9
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
10
|
-
**token_id** | **String** | The token
|
|
10
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
11
11
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. | [optional]
|
|
12
12
|
|
|
13
13
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**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. |
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
|
-
**token_id** | **String** | The token
|
|
9
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
10
10
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.TransactionRequestFILFee
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**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. |
|
|
8
|
+
**gas_fee_cap** | **String** | The maximum gas price you are willing to pay per unit of gas. |
|
|
9
|
+
**gas_limit** | **String** | The maximum amount of gas your transaction is allowed to consume. | [optional]
|
|
10
|
+
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
11
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
12
|
+
|
|
13
|
+
|
|
@@ -5,12 +5,16 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
8
|
-
**token_id** | **String** | The token
|
|
8
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
9
9
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
10
|
-
**gas_limit** | **String** | The
|
|
10
|
+
**gas_limit** | **String** | The maximum amount of gas your transaction is allowed to consume. | [optional]
|
|
11
11
|
**max_fee_per_gas** | **String** | The maximum gas fee per gas unit used on the chain, in wei. |
|
|
12
12
|
**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. |
|
|
13
13
|
**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. |
|
|
14
14
|
**fee_rate** | **String** | The fee rate in sat/vByte. The fee rate represents the satoshis you are willing to pay for each byte of data that your transaction will consume on the blockchain. | [optional]
|
|
15
|
+
**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. |
|
|
16
|
+
**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. |
|
|
17
|
+
**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. |
|
|
18
|
+
**gas_fee_cap** | **String** | The maximum gas price you are willing to pay per unit of gas. |
|
|
15
19
|
|
|
16
20
|
|
|
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
|
-
**token_id** | **String** | The token
|
|
9
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.TransactionRequestSOLFee
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**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. |
|
|
8
|
+
**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. |
|
|
9
|
+
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
10
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
11
|
+
|
|
12
|
+
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_rate** | **String** | The fee rate in sat/vByte. The fee rate represents the satoshis you are willing to pay for each byte of data that your transaction will consume on the blockchain. | [optional]
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
|
-
**token_id** | **String** | The token
|
|
9
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
10
10
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# CoboWaas2.TransactionSOLFee
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**base_fee** | **String** | A fixed fee charged per signature. The default is 5,000 lamports per signature. | [optional]
|
|
8
|
+
**rent_amount** | **String** | 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. | [optional]
|
|
9
|
+
**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. | [optional]
|
|
10
|
+
**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. | [optional]
|
|
11
|
+
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
12
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
13
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
14
|
+
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
15
|
+
|
|
16
|
+
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**account_output** | [**TransactionTransferToAddressDestinationAccountOutput**](TransactionTransferToAddressDestinationAccountOutput.md) | | [optional]
|
|
9
9
|
**utxo_outputs** | [**[TransactionTransferToAddressDestinationUtxoOutputsInner]**](TransactionTransferToAddressDestinationUtxoOutputsInner.md) | | [optional]
|
|
10
10
|
**change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
|
|
11
|
-
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. | [optional]
|
|
12
|
-
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. | [optional]
|
|
11
|
+
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. If both `force_internal` and `force_external` are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
12
|
+
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. If both `force_internal` and `force_external` are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
|
-
**trading_account_type** | **String** | The trading account type.
|
|
9
|
+
**trading_account_type** | **String** | The trading account type. This field is only applicable when `destination_type` is `ExchangeWallet`. | [optional]
|
|
10
10
|
**exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
|
|
11
11
|
**amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
|
|
12
12
|
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_rate** | **String** | The fee rate in sat/vByte. The fee rate represents the satoshis you are willing to pay for each byte of data that your transaction will consume on the blockchain. | [optional]
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
|
-
**token_id** | **String** | The token
|
|
10
|
-
**fee_used** | **String** | The transaction fee. | [optional]
|
|
9
|
+
**token_id** | **String** | The token used to pay the transaction fee. | [optional]
|
|
10
|
+
**fee_used** | **String** | The actually charged transaction fee. | [optional]
|
|
11
11
|
**estimated_fee_used** | **String** | The estimated transaction fee. | [optional]
|
|
12
12
|
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
13
13
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | 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. |
|
|
7
|
+
**data_type** | **String** | 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. |
|
|
8
8
|
**transaction_id** | **String** | The transaction ID. |
|
|
9
9
|
**cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
|
|
10
10
|
**request_id** | **String** | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
@@ -64,6 +64,10 @@ Name | Type | Description | Notes
|
|
|
64
64
|
|
|
65
65
|
* `PaymentSettlement` (value: `"PaymentSettlement"`)
|
|
66
66
|
|
|
67
|
+
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
68
|
+
|
|
69
|
+
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
70
|
+
|
|
67
71
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
68
72
|
|
|
69
73
|
|
package/docs/TransactionsApi.md
CHANGED
|
@@ -12,9 +12,7 @@ Method | HTTP request | Description
|
|
|
12
12
|
[**createTransferTransaction**](TransactionsApi.md#createTransferTransaction) | **POST** /transactions/transfer | Transfer token
|
|
13
13
|
[**dropTransactionById**](TransactionsApi.md#dropTransactionById) | **POST** /transactions/{transaction_id}/drop | Drop transaction
|
|
14
14
|
[**estimateFee**](TransactionsApi.md#estimateFee) | **POST** /transactions/estimate_fee | Estimate transaction fee
|
|
15
|
-
[**getTransactionApprovalDetail**](TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval details
|
|
16
15
|
[**getTransactionById**](TransactionsApi.md#getTransactionById) | **GET** /transactions/{transaction_id} | Get transaction information
|
|
17
|
-
[**listTransactionApprovalDetails**](TransactionsApi.md#listTransactionApprovalDetails) | **GET** /transactions/approval_details | List transaction approval details
|
|
18
16
|
[**listTransactions**](TransactionsApi.md#listTransactions) | **GET** /transactions | List all transactions
|
|
19
17
|
[**resendTransactionById**](TransactionsApi.md#resendTransactionById) | **POST** /transactions/{transaction_id}/resend | Resend transaction
|
|
20
18
|
[**signAndBroadcastTransactionById**](TransactionsApi.md#signAndBroadcastTransactionById) | **POST** /transactions/{transaction_id}/sign_and_broadcast | Sign and broadcast transaction
|
|
@@ -440,56 +438,6 @@ Name | Type | Description | Notes
|
|
|
440
438
|
- **Accept**: application/json
|
|
441
439
|
|
|
442
440
|
|
|
443
|
-
## getTransactionApprovalDetail
|
|
444
|
-
|
|
445
|
-
> TransactionApprovalDetail getTransactionApprovalDetail(transaction_id)
|
|
446
|
-
|
|
447
|
-
Get transaction approval details
|
|
448
|
-
|
|
449
|
-
This operation retrieves detailed approval information about a specified transaction.
|
|
450
|
-
|
|
451
|
-
### Example
|
|
452
|
-
|
|
453
|
-
```javascript
|
|
454
|
-
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
455
|
-
// Initialize the API client
|
|
456
|
-
const apiClient = CoboWaas2.ApiClient.instance
|
|
457
|
-
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
458
|
-
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
459
|
-
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
460
|
-
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
461
|
-
// Call the API
|
|
462
|
-
const apiInstance = new CoboWaas2.TransactionsApi();
|
|
463
|
-
const transaction_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
464
|
-
apiInstance.getTransactionApprovalDetail(transaction_id).then((data) => {
|
|
465
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
466
|
-
}, (error) => {
|
|
467
|
-
console.error(error);
|
|
468
|
-
});
|
|
469
|
-
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
### Parameters
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
Name | Type | Description | Notes
|
|
476
|
-
------------- | ------------- | ------------- | -------------
|
|
477
|
-
**transaction_id** | **String**| The transaction ID. |
|
|
478
|
-
|
|
479
|
-
### Return type
|
|
480
|
-
|
|
481
|
-
[**TransactionApprovalDetail**](TransactionApprovalDetail.md)
|
|
482
|
-
|
|
483
|
-
### Authorization
|
|
484
|
-
|
|
485
|
-
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
486
|
-
|
|
487
|
-
### HTTP request headers
|
|
488
|
-
|
|
489
|
-
- **Content-Type**: Not defined
|
|
490
|
-
- **Accept**: application/json
|
|
491
|
-
|
|
492
|
-
|
|
493
441
|
## getTransactionById
|
|
494
442
|
|
|
495
443
|
> TransactionDetail getTransactionById(transaction_id)
|
|
@@ -540,60 +488,6 @@ Name | Type | Description | Notes
|
|
|
540
488
|
- **Accept**: application/json
|
|
541
489
|
|
|
542
490
|
|
|
543
|
-
## listTransactionApprovalDetails
|
|
544
|
-
|
|
545
|
-
> ListTransactionApprovalDetails200Response listTransactionApprovalDetails(opts)
|
|
546
|
-
|
|
547
|
-
List transaction approval details
|
|
548
|
-
|
|
549
|
-
This operation retrieves detailed approval information for all transactions.
|
|
550
|
-
|
|
551
|
-
### Example
|
|
552
|
-
|
|
553
|
-
```javascript
|
|
554
|
-
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
555
|
-
// Initialize the API client
|
|
556
|
-
const apiClient = CoboWaas2.ApiClient.instance
|
|
557
|
-
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
558
|
-
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
559
|
-
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
560
|
-
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
561
|
-
// Call the API
|
|
562
|
-
const apiInstance = new CoboWaas2.TransactionsApi();
|
|
563
|
-
const opts = {
|
|
564
|
-
'transaction_ids': "f47ac10b-58cc-4372-a567-0e02b2c3d479,557918d2-632a-4fe1-932f-315711f05fe3",
|
|
565
|
-
'cobo_ids': "20231213122855000000000000000000,20231213122955000000000000000000"
|
|
566
|
-
};
|
|
567
|
-
apiInstance.listTransactionApprovalDetails(opts).then((data) => {
|
|
568
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
569
|
-
}, (error) => {
|
|
570
|
-
console.error(error);
|
|
571
|
-
});
|
|
572
|
-
|
|
573
|
-
```
|
|
574
|
-
|
|
575
|
-
### Parameters
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
Name | Type | Description | Notes
|
|
579
|
-
------------- | ------------- | ------------- | -------------
|
|
580
|
-
**transaction_ids** | **String**| A list of transaction IDs, separated by comma. | [optional]
|
|
581
|
-
**cobo_ids** | **String**| A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction. | [optional]
|
|
582
|
-
|
|
583
|
-
### Return type
|
|
584
|
-
|
|
585
|
-
[**ListTransactionApprovalDetails200Response**](ListTransactionApprovalDetails200Response.md)
|
|
586
|
-
|
|
587
|
-
### Authorization
|
|
588
|
-
|
|
589
|
-
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
590
|
-
|
|
591
|
-
### HTTP request headers
|
|
592
|
-
|
|
593
|
-
- **Content-Type**: Not defined
|
|
594
|
-
- **Accept**: application/json
|
|
595
|
-
|
|
596
|
-
|
|
597
491
|
## listTransactions
|
|
598
492
|
|
|
599
493
|
> ListTransactions200Response listTransactions(opts)
|
|
@@ -668,7 +562,7 @@ Name | Type | Description | Notes
|
|
|
668
562
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
669
563
|
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
670
564
|
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
671
|
-
**direction** | **String**| The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. | [optional] [default to '
|
|
565
|
+
**direction** | **String**| The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. | [optional] [default to 'ASC']
|
|
672
566
|
|
|
673
567
|
### Return type
|
|
674
568
|
|
|
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
|
|
10
10
|
**change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
|
|
11
11
|
**change_output_type** | **String** | The position of the change output in the transaction's outputs. Possible values are: - `Last`: The change output is placed at the end of the transaction's outputs. - `First`: The change output is placed at the beginning of the transaction's outputs. | [optional]
|
|
12
|
-
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional]
|
|
13
|
-
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [optional]
|
|
12
|
+
**force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
13
|
+
**force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. | [optional]
|
|
14
14
|
**wallet_id** | **String** | The wallet ID. |
|
|
15
15
|
**amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
|
|
16
16
|
**trading_account_type** | **String** | The trading account type. |
|
|
@@ -5,5 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | The merchant name. | [optional]
|
|
8
|
+
**developer_fee_rate** | **String** | The developer fee rate applied to this merchant. Expressed as a string in decimal format where \"0.1\" represents 10%. This fee is deducted from the payment amount and only applies to top-up transactions. | [optional]
|
|
8
9
|
|
|
9
10
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.UpdateTopUpAddress
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**merchant_id** | **String** | The merchant ID. |
|
|
8
|
+
**token_id** | **String** | The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format `{CHAIN}_{TOKEN}`. Supported values include: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT` |
|
|
9
|
+
**custom_payer_id** | **String** | Unique customer identifier on the merchant side, used to allocate a dedicated top-up address |
|
|
10
|
+
|
|
11
|
+
|
package/docs/UtxoFeeRate.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
8
|
-
**token_id** | **String** | The token
|
|
8
|
+
**token_id** | **String** | The token used to pay the transaction fee. |
|
|
9
9
|
**slow** | [**UtxoFeeBasePrice**](UtxoFeeBasePrice.md) | | [optional]
|
|
10
10
|
**recommended** | [**UtxoFeeBasePrice**](UtxoFeeBasePrice.md) | |
|
|
11
11
|
**fast** | [**UtxoFeeBasePrice**](UtxoFeeBasePrice.md) | | [optional]
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | 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. |
|
|
7
|
+
**data_type** | **String** | 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. |
|
|
8
8
|
**wallet** | [**WalletInfo**](WalletInfo.md) | | [optional]
|
|
9
9
|
|
|
10
10
|
|
|
@@ -34,6 +34,10 @@ Name | Type | Description | Notes
|
|
|
34
34
|
|
|
35
35
|
* `PaymentSettlement` (value: `"PaymentSettlement"`)
|
|
36
36
|
|
|
37
|
+
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
38
|
+
|
|
39
|
+
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
40
|
+
|
|
37
41
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
38
42
|
|
|
39
43
|
|
package/docs/WalletsApi.md
CHANGED
|
@@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|
|
14
14
|
[**deleteWalletById**](WalletsApi.md#deleteWalletById) | **POST** /wallets/{wallet_id}/delete | Delete wallet
|
|
15
15
|
[**getChainById**](WalletsApi.md#getChainById) | **GET** /wallets/chains/{chain_id} | Get chain information
|
|
16
16
|
[**getMaxTransferableValue**](WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
|
|
17
|
+
[**getMaxTransferableValueWithFeeModel**](WalletsApi.md#getMaxTransferableValueWithFeeModel) | **POST** /wallets/{wallet_id}/max_transferable_value_with_fee_model | Estimate maximum transferable value
|
|
17
18
|
[**getTokenById**](WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
|
|
18
19
|
[**getTokenListingRequestByRequestId**](WalletsApi.md#getTokenListingRequestByRequestId) | **GET** /wallets/tokens/listing_requests/{request_id} | Get token listing request
|
|
19
20
|
[**getWalletById**](WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
|
|
@@ -561,6 +562,60 @@ Name | Type | Description | Notes
|
|
|
561
562
|
- **Accept**: application/json
|
|
562
563
|
|
|
563
564
|
|
|
565
|
+
## getMaxTransferableValueWithFeeModel
|
|
566
|
+
|
|
567
|
+
> MaxTransferableValue getMaxTransferableValueWithFeeModel(wallet_id, opts)
|
|
568
|
+
|
|
569
|
+
Estimate maximum transferable value
|
|
570
|
+
|
|
571
|
+
This operation estimates the maximum transferable value from a wallet or a specific wallet address, based on the specified fee settings. The `to_address` property is required because it affects the fee calculation. <Note>This operation is applicable to Custodial Wallets (Web3 Wallets) and MPC Wallets only.</Note>
|
|
572
|
+
|
|
573
|
+
### Example
|
|
574
|
+
|
|
575
|
+
```javascript
|
|
576
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
577
|
+
// Initialize the API client
|
|
578
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
579
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
580
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
581
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
582
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
583
|
+
// Call the API
|
|
584
|
+
const apiInstance = new CoboWaas2.WalletsApi();
|
|
585
|
+
const wallet_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
586
|
+
const opts = {
|
|
587
|
+
'GetMaxTransferableValueWithFeeModelRequest': new CoboWaas2.GetMaxTransferableValueWithFeeModelRequest()
|
|
588
|
+
};
|
|
589
|
+
apiInstance.getMaxTransferableValueWithFeeModel(wallet_id, opts).then((data) => {
|
|
590
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
591
|
+
}, (error) => {
|
|
592
|
+
console.error(error);
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
### Parameters
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
Name | Type | Description | Notes
|
|
601
|
+
------------- | ------------- | ------------- | -------------
|
|
602
|
+
**wallet_id** | **String**| The wallet ID. |
|
|
603
|
+
**GetMaxTransferableValueWithFeeModelRequest** | [**GetMaxTransferableValueWithFeeModelRequest**](GetMaxTransferableValueWithFeeModelRequest.md)| The request body for retrieving the maximum transferable value from a specified wallet. | [optional]
|
|
604
|
+
|
|
605
|
+
### Return type
|
|
606
|
+
|
|
607
|
+
[**MaxTransferableValue**](MaxTransferableValue.md)
|
|
608
|
+
|
|
609
|
+
### Authorization
|
|
610
|
+
|
|
611
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
612
|
+
|
|
613
|
+
### HTTP request headers
|
|
614
|
+
|
|
615
|
+
- **Content-Type**: application/json
|
|
616
|
+
- **Accept**: application/json
|
|
617
|
+
|
|
618
|
+
|
|
564
619
|
## getTokenById
|
|
565
620
|
|
|
566
621
|
> ExtendedTokenInfo getTokenById(token_id)
|
|
@@ -901,7 +956,7 @@ Name | Type | Description | Notes
|
|
|
901
956
|
|
|
902
957
|
List enabled tokens
|
|
903
958
|
|
|
904
|
-
This operation retrieves all the tokens that can be used by your organization. You can filter the result by wallet type, subtype, and
|
|
959
|
+
This operation retrieves all the tokens that can be used by your organization. You can filter the result by wallet type, subtype, chain IDs, and token IDs. If you do not specify a wallet type, this operation returns a combination of tokens that can be used by your organization for each wallet type.
|
|
905
960
|
|
|
906
961
|
### Example
|
|
907
962
|
|
|
@@ -919,6 +974,7 @@ const opts = {
|
|
|
919
974
|
'wallet_type': new CoboWaas2.WalletType(),
|
|
920
975
|
'wallet_subtype': new CoboWaas2.WalletSubtype(),
|
|
921
976
|
'chain_ids': "BTC,ETH",
|
|
977
|
+
'token_ids': "ETH_USDT,ETH_USDC",
|
|
922
978
|
'limit': 10,
|
|
923
979
|
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
924
980
|
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
@@ -939,6 +995,7 @@ Name | Type | Description | Notes
|
|
|
939
995
|
**wallet_type** | [**WalletType**](.md)| The wallet type. - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction) | [optional]
|
|
940
996
|
**wallet_subtype** | [**WalletSubtype**](.md)| The wallet subtype. - `Asset`: Custodial Wallets (Asset Wallets) - `Web3`: Custodial Wallets (Web3 Wallets) - `Main`: Exchange Wallets (Main Account) - `Sub`: Exchange Wallets (Sub Account) - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets) - `User-Controlled`: MPC Wallets (User-Controlled Wallets) - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet}) | [optional]
|
|
941
997
|
**chain_ids** | **String**| A list of chain IDs, separated by comma. The chain ID is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). | [optional]
|
|
998
|
+
**token_ids** | **String**| A list of token IDs, separated by comma. The token ID is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). | [optional]
|
|
942
999
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
943
1000
|
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
944
1001
|
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
package/docs/WebhookEvent.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**event_id** | **String** | The event ID. | [optional]
|
|
8
8
|
**url** | **String** | The webhook endpoint URL. |
|
|
9
|
-
**created_timestamp** | **Number** | The time when the event
|
|
9
|
+
**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. |
|
|
10
10
|
**type** | [**WebhookEventType**](WebhookEventType.md) | |
|
|
11
11
|
**data** | [**WebhookEventData**](WebhookEventData.md) | |
|
|
12
12
|
**status** | [**WebhookEventStatus**](WebhookEventStatus.md) | | [optional]
|