@cobo/cobo-waas2 1.12.0 → 1.13.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 +54 -18
- package/dist/ApiClient.js +1 -1
- package/dist/api/FeeStationApi.js +18 -18
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/WalletsApi.js +8 -8
- package/dist/index.js +260 -43
- package/dist/model/ActivityExtra.js +0 -23
- package/dist/model/AddressEncoding.js +15 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/BTCBIP137MessageSignDestination.js +122 -0
- package/dist/model/BTCBIP322MessageSignDestination.js +122 -0
- package/dist/model/BabylonStakingActivityDetailExtra.js +0 -39
- package/dist/model/{ListSwapActivities200Response.js → BankAccount.js} +51 -51
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CosmosAdr36MessageSignDestination.js +122 -0
- package/dist/model/CosmosContractCallDestination.js +152 -0
- package/dist/model/CosmosContractCallMessage.js +126 -0
- package/dist/model/CreateSettlement.js +174 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/{CreateSwapActivityRequest.js → Merchant.js} +45 -58
- package/dist/model/MessageSignDestination.js +111 -9
- package/dist/model/MessageSignDestinationType.js +15 -0
- package/dist/model/Order.js +306 -0
- package/dist/model/OrderStatus.js +76 -0
- package/dist/model/PaymentTransaction.js +201 -0
- package/dist/model/RefreshAddressBalancesByTokenRequest.js +2 -3
- package/dist/model/Refund.js +237 -0
- package/dist/model/RefundStatus.js +76 -0
- package/dist/model/RefundType.js +61 -0
- package/dist/model/SettleRequestStatus.js +76 -0
- package/dist/model/SettleStatus.js +76 -0
- package/dist/model/Settlement.js +168 -0
- package/dist/model/SettlementDetail.js +184 -0
- package/dist/model/SettlementInfo.js +175 -0
- package/dist/model/SettlementType.js +61 -0
- package/dist/model/SwapActivity.js +36 -5
- package/dist/model/SwapActivityStatus.js +66 -0
- package/dist/model/SwapActivityType.js +61 -0
- package/dist/model/SwapQuote.js +21 -34
- package/dist/model/{CreateSwapQuoteRequest.js → SwapToken.js} +73 -60
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListing.js +230 -0
- package/dist/model/TokenListingEventData.js +363 -0
- package/dist/model/TokenListingRequestSource.js +61 -0
- package/dist/model/TokenListingRequestStatus.js +66 -0
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/Transaction.js +22 -5
- package/dist/model/TransactionBIP137Destination.js +122 -0
- package/dist/model/TransactionBIP322Destination.js +122 -0
- package/dist/model/TransactionBabylonBusinessInfo.js +138 -0
- package/dist/model/TransactionBabylonTxParameters.js +168 -0
- package/dist/model/TransactionCoreStakeInfo.js +168 -0
- package/dist/model/TransactionCosmosAdr36Destination.js +122 -0
- package/dist/model/TransactionCosmosContractDestination.js +152 -0
- package/dist/model/{ListEnableTokenPairs200Response.js → TransactionCosmosMessage.js} +54 -51
- package/dist/model/TransactionDestination.js +172 -8
- package/dist/model/TransactionDestinationType.js +20 -0
- package/dist/model/TransactionDetail.js +29 -7
- package/dist/model/TransactionDetails.js +29 -7
- package/dist/model/TransactionExtra.js +278 -0
- package/dist/model/TransactionExtraType.js +66 -0
- package/dist/model/TransactionFuelingInfo.js +3 -3
- package/dist/model/TransactionMessageSignBTCEIP191Destination.js +122 -0
- package/dist/model/TransactionRbfSource.js +37 -9
- package/dist/model/TransactionSelectedUtxo.js +2 -2
- package/dist/model/TransactionSubStatus.js +45 -0
- package/dist/model/TransactionWebhookEventData.js +37 -10
- package/dist/model/UpdateCustodialWalletParams.js +6 -4
- package/dist/model/UpdateExchangeWalletParams.js +6 -4
- package/dist/model/UpdateMpcWalletParams.js +6 -4
- package/dist/model/UpdateSmartContractWalletParams.js +6 -4
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +81 -18
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/ActivityExtra.md +0 -4
- package/docs/AddressEncoding.md +6 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/BTCBIP137MessageSignDestination.md +10 -0
- package/docs/BTCBIP322MessageSignDestination.md +10 -0
- package/docs/BabylonStakingActivityDetailExtra.md +0 -4
- package/docs/BankAccount.md +10 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/CosmosAdr36MessageSignDestination.md +10 -0
- package/docs/CosmosContractCallDestination.md +11 -0
- package/docs/CosmosContractCallMessage.md +10 -0
- package/docs/CreateSettlement.md +14 -0
- package/docs/FeeStationApi.md +13 -13
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/Merchant.md +11 -0
- package/docs/MessageSignDestination.md +3 -0
- package/docs/MessageSignDestinationType.md +6 -0
- package/docs/Order.md +23 -0
- package/docs/OrderStatus.md +18 -0
- package/docs/PaymentTransaction.md +16 -0
- package/docs/RefreshAddressBalancesByTokenRequest.md +1 -1
- package/docs/Refund.md +17 -0
- package/docs/RefundStatus.md +18 -0
- package/docs/RefundType.md +12 -0
- package/docs/SettleRequestStatus.md +18 -0
- package/docs/SettleStatus.md +18 -0
- package/docs/Settlement.md +12 -0
- package/docs/SettlementDetail.md +15 -0
- package/docs/SettlementInfo.md +14 -0
- package/docs/SettlementType.md +12 -0
- package/docs/SwapActivity.md +4 -1
- package/docs/SwapActivityStatus.md +14 -0
- package/docs/SwapActivityType.md +12 -0
- package/docs/SwapQuote.md +3 -4
- package/docs/SwapToken.md +14 -0
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListing.md +19 -0
- package/docs/TokenListingEventData.md +45 -0
- package/docs/TokenListingRequestSource.md +12 -0
- package/docs/TokenListingRequestStatus.md +14 -0
- package/docs/TokensEventData.md +3 -1
- package/docs/Transaction.md +4 -3
- package/docs/TransactionBIP137Destination.md +10 -0
- package/docs/TransactionBIP322Destination.md +10 -0
- package/docs/TransactionBabylonBusinessInfo.md +11 -0
- package/docs/TransactionBabylonTxParameters.md +15 -0
- package/docs/TransactionCoreStakeInfo.md +14 -0
- package/docs/TransactionCosmosAdr36Destination.md +10 -0
- package/docs/TransactionCosmosContractDestination.md +11 -0
- package/docs/TransactionCosmosMessage.md +10 -0
- package/docs/TransactionDestination.md +4 -0
- package/docs/TransactionDestinationType.md +8 -0
- package/docs/TransactionDetail.md +4 -3
- package/docs/TransactionDetails.md +4 -3
- package/docs/TransactionExtra.md +21 -0
- package/docs/TransactionExtraType.md +14 -0
- package/docs/TransactionFuelingInfo.md +2 -2
- package/docs/TransactionMessageSignBTCEIP191Destination.md +10 -0
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionSelectedUtxo.md +2 -2
- package/docs/TransactionSubStatus.md +18 -0
- package/docs/TransactionWebhookEventData.md +7 -4
- package/docs/TransactionsApi.md +1 -1
- package/docs/UpdateCustodialWalletParams.md +1 -1
- package/docs/UpdateExchangeWalletParams.md +1 -1
- package/docs/UpdateMpcWalletParams.md +1 -1
- package/docs/UpdateSmartContractWalletParams.md +1 -1
- package/docs/UpdateWalletParams.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +5 -5
- package/docs/WebhookEventData.md +16 -8
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
- package/dist/api/SwapsApi.js +0 -360
- package/dist/model/CreateSwapQuote201Response.js +0 -264
- package/dist/model/SwapTokenPair.js +0 -100
- package/docs/CreateSwapActivityRequest.md +0 -12
- package/docs/CreateSwapQuote201Response.md +0 -17
- package/docs/CreateSwapQuoteRequest.md +0 -13
- package/docs/ListEnableTokenPairs200Response.md +0 -10
- package/docs/ListSwapActivities200Response.md +0 -10
- package/docs/SwapTokenPair.md +0 -10
- package/docs/SwapsApi.md +0 -348
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
|
|
|
15
15
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
16
16
|
|
|
17
17
|
- API version: v2
|
|
18
|
-
- Package version: 1.
|
|
18
|
+
- Package version: 1.13.0
|
|
19
19
|
- Generator version: 7.6.0
|
|
20
20
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
21
21
|
For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
|
|
@@ -81,10 +81,10 @@ Class | Method | HTTP request | Description
|
|
|
81
81
|
*CoboWaas2.DevelopersWebhooksApi* | [**retryWebhookEventById**](docs/DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
82
82
|
*CoboWaas2.DevelopersWebhooksApi* | [**triggerTestWebhookEvent**](docs/DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
83
83
|
*CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
84
|
-
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get
|
|
85
|
-
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List
|
|
86
|
-
*CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all
|
|
87
|
-
*CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List token balances
|
|
84
|
+
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
|
|
85
|
+
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
86
|
+
*CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
|
|
87
|
+
*CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List Fee Station token balances
|
|
88
88
|
*CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
|
|
89
89
|
*CoboWaas2.OAuthApi* | [**refreshToken**](docs/OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
|
|
90
90
|
*CoboWaas2.PrimeBrokerApi* | [**changeGuardPubkey**](docs/PrimeBrokerApi.md#changeGuardPubkey) | **PUT** /prime_broker/user/{user_id}/guard_pubkey | Change Guard pubkey binding
|
|
@@ -113,12 +113,6 @@ Class | Method | HTTP request | Description
|
|
|
113
113
|
*CoboWaas2.StakingsApi* | [**listStakingActivities**](docs/StakingsApi.md#listStakingActivities) | **GET** /stakings/activities | List staking activities
|
|
114
114
|
*CoboWaas2.StakingsApi* | [**listStakingPools**](docs/StakingsApi.md#listStakingPools) | **GET** /stakings/pools | List staking pools
|
|
115
115
|
*CoboWaas2.StakingsApi* | [**listStakings**](docs/StakingsApi.md#listStakings) | **GET** /stakings | List staking positions
|
|
116
|
-
*CoboWaas2.SwapsApi* | [**createSwapActivity**](docs/SwapsApi.md#createSwapActivity) | **POST** /swaps/swap | Create Swap Activity
|
|
117
|
-
*CoboWaas2.SwapsApi* | [**createSwapQuote**](docs/SwapsApi.md#createSwapQuote) | **POST** /swaps/quote | Create Swap Quote
|
|
118
|
-
*CoboWaas2.SwapsApi* | [**getSwapActivity**](docs/SwapsApi.md#getSwapActivity) | **GET** /swaps/activities/{activity_id} | Get Swap Activity Details
|
|
119
|
-
*CoboWaas2.SwapsApi* | [**getSwapQuote**](docs/SwapsApi.md#getSwapQuote) | **GET** /swaps/quote | Get Current Swap Rate
|
|
120
|
-
*CoboWaas2.SwapsApi* | [**listEnableTokenPairs**](docs/SwapsApi.md#listEnableTokenPairs) | **GET** /swaps/enabled_pairs | List Supported Token Pairs
|
|
121
|
-
*CoboWaas2.SwapsApi* | [**listSwapActivities**](docs/SwapsApi.md#listSwapActivities) | **GET** /swaps/activities | List Swap Activities
|
|
122
116
|
*CoboWaas2.TransactionsApi* | [**broadcastSignedTransactions**](docs/TransactionsApi.md#broadcastSignedTransactions) | **POST** /transactions/broadcast | Broadcast signed transactions
|
|
123
117
|
*CoboWaas2.TransactionsApi* | [**cancelTransactionById**](docs/TransactionsApi.md#cancelTransactionById) | **POST** /transactions/{transaction_id}/cancel | Cancel transaction
|
|
124
118
|
*CoboWaas2.TransactionsApi* | [**checkLoopTransfers**](docs/TransactionsApi.md#checkLoopTransfers) | **GET** /transactions/check_loop_transfers | Check Cobo Loop transfers
|
|
@@ -159,7 +153,7 @@ Class | Method | HTTP request | Description
|
|
|
159
153
|
*CoboWaas2.WalletsApi* | [**listUtxos**](docs/WalletsApi.md#listUtxos) | **GET** /wallets/{wallet_id}/utxos | List UTXOs
|
|
160
154
|
*CoboWaas2.WalletsApi* | [**listWallets**](docs/WalletsApi.md#listWallets) | **GET** /wallets | List all wallets
|
|
161
155
|
*CoboWaas2.WalletsApi* | [**lockUtxos**](docs/WalletsApi.md#lockUtxos) | **POST** /wallets/{wallet_id}/utxos/lock | Lock UTXOs
|
|
162
|
-
*CoboWaas2.WalletsApi* | [**refreshAddressBalancesByToken**](docs/WalletsApi.md#refreshAddressBalancesByToken) | **PUT** /wallets/{wallet_id}/tokens/{token_id}/refresh_address_balances |
|
|
156
|
+
*CoboWaas2.WalletsApi* | [**refreshAddressBalancesByToken**](docs/WalletsApi.md#refreshAddressBalancesByToken) | **PUT** /wallets/{wallet_id}/tokens/{token_id}/refresh_address_balances | Refresh address balances by token
|
|
163
157
|
*CoboWaas2.WalletsApi* | [**unlockUtxos**](docs/WalletsApi.md#unlockUtxos) | **POST** /wallets/{wallet_id}/utxos/unlock | Unlock UTXOs
|
|
164
158
|
*CoboWaas2.WalletsApi* | [**updateWalletById**](docs/WalletsApi.md#updateWalletById) | **PUT** /wallets/{wallet_id} | Update wallet
|
|
165
159
|
*CoboWaas2.WalletsExchangeWalletApi* | [**listAssetBalancesForExchangeWallet**](docs/WalletsExchangeWalletApi.md#listAssetBalancesForExchangeWallet) | **GET** /wallets/{wallet_id}/exchanges/assets | List asset balances
|
|
@@ -215,6 +209,8 @@ Class | Method | HTTP request | Description
|
|
|
215
209
|
- [CoboWaas2.AssetBalance](docs/AssetBalance.md)
|
|
216
210
|
- [CoboWaas2.AssetInfo](docs/AssetInfo.md)
|
|
217
211
|
- [CoboWaas2.AutoFuelType](docs/AutoFuelType.md)
|
|
212
|
+
- [CoboWaas2.BTCBIP137MessageSignDestination](docs/BTCBIP137MessageSignDestination.md)
|
|
213
|
+
- [CoboWaas2.BTCBIP322MessageSignDestination](docs/BTCBIP322MessageSignDestination.md)
|
|
218
214
|
- [CoboWaas2.BTCEIP191MessageSignDestination](docs/BTCEIP191MessageSignDestination.md)
|
|
219
215
|
- [CoboWaas2.BabylonAirdropPop](docs/BabylonAirdropPop.md)
|
|
220
216
|
- [CoboWaas2.BabylonAirdropRegistration](docs/BabylonAirdropRegistration.md)
|
|
@@ -228,6 +224,7 @@ Class | Method | HTTP request | Description
|
|
|
228
224
|
- [CoboWaas2.BabylonStakingRegistration](docs/BabylonStakingRegistration.md)
|
|
229
225
|
- [CoboWaas2.BabylonValidator](docs/BabylonValidator.md)
|
|
230
226
|
- [CoboWaas2.Balance](docs/Balance.md)
|
|
227
|
+
- [CoboWaas2.BankAccount](docs/BankAccount.md)
|
|
231
228
|
- [CoboWaas2.BaseContractCallSource](docs/BaseContractCallSource.md)
|
|
232
229
|
- [CoboWaas2.BaseEstimateStakingFee](docs/BaseEstimateStakingFee.md)
|
|
233
230
|
- [CoboWaas2.BaseStakeExtra](docs/BaseStakeExtra.md)
|
|
@@ -252,6 +249,9 @@ Class | Method | HTTP request | Description
|
|
|
252
249
|
- [CoboWaas2.CoreStakeExtra](docs/CoreStakeExtra.md)
|
|
253
250
|
- [CoboWaas2.CoreStakingActivityDetailExtra](docs/CoreStakingActivityDetailExtra.md)
|
|
254
251
|
- [CoboWaas2.CoreStakingExtra](docs/CoreStakingExtra.md)
|
|
252
|
+
- [CoboWaas2.CosmosAdr36MessageSignDestination](docs/CosmosAdr36MessageSignDestination.md)
|
|
253
|
+
- [CoboWaas2.CosmosContractCallDestination](docs/CosmosContractCallDestination.md)
|
|
254
|
+
- [CoboWaas2.CosmosContractCallMessage](docs/CosmosContractCallMessage.md)
|
|
255
255
|
- [CoboWaas2.CreateAddressRequest](docs/CreateAddressRequest.md)
|
|
256
256
|
- [CoboWaas2.CreateBabylonAirdropRegistration201Response](docs/CreateBabylonAirdropRegistration201Response.md)
|
|
257
257
|
- [CoboWaas2.CreateBabylonAirdropRegistrationRequest](docs/CreateBabylonAirdropRegistrationRequest.md)
|
|
@@ -269,14 +269,12 @@ Class | Method | HTTP request | Description
|
|
|
269
269
|
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
270
270
|
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
271
271
|
- [CoboWaas2.CreateSafeWalletParams](docs/CreateSafeWalletParams.md)
|
|
272
|
+
- [CoboWaas2.CreateSettlement](docs/CreateSettlement.md)
|
|
272
273
|
- [CoboWaas2.CreateSmartContractWalletParams](docs/CreateSmartContractWalletParams.md)
|
|
273
274
|
- [CoboWaas2.CreateStakeActivity](docs/CreateStakeActivity.md)
|
|
274
275
|
- [CoboWaas2.CreateStakeActivity201Response](docs/CreateStakeActivity201Response.md)
|
|
275
276
|
- [CoboWaas2.CreateStakeActivityExtra](docs/CreateStakeActivityExtra.md)
|
|
276
277
|
- [CoboWaas2.CreateStakeActivityRequest](docs/CreateStakeActivityRequest.md)
|
|
277
|
-
- [CoboWaas2.CreateSwapActivityRequest](docs/CreateSwapActivityRequest.md)
|
|
278
|
-
- [CoboWaas2.CreateSwapQuote201Response](docs/CreateSwapQuote201Response.md)
|
|
279
|
-
- [CoboWaas2.CreateSwapQuoteRequest](docs/CreateSwapQuoteRequest.md)
|
|
280
278
|
- [CoboWaas2.CreateTransferTransaction201Response](docs/CreateTransferTransaction201Response.md)
|
|
281
279
|
- [CoboWaas2.CreateTssRequestRequest](docs/CreateTssRequestRequest.md)
|
|
282
280
|
- [CoboWaas2.CreateUnstakeActivity](docs/CreateUnstakeActivity.md)
|
|
@@ -365,7 +363,6 @@ Class | Method | HTTP request | Description
|
|
|
365
363
|
- [CoboWaas2.ListBabylonEligibleStakings200ResponseDataInner](docs/ListBabylonEligibleStakings200ResponseDataInner.md)
|
|
366
364
|
- [CoboWaas2.ListBabylonStakingRegistrations200Response](docs/ListBabylonStakingRegistrations200Response.md)
|
|
367
365
|
- [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
|
|
368
|
-
- [CoboWaas2.ListEnableTokenPairs200Response](docs/ListEnableTokenPairs200Response.md)
|
|
369
366
|
- [CoboWaas2.ListExchanges200ResponseInner](docs/ListExchanges200ResponseInner.md)
|
|
370
367
|
- [CoboWaas2.ListKeyShareHolderGroups200Response](docs/ListKeyShareHolderGroups200Response.md)
|
|
371
368
|
- [CoboWaas2.ListKeyShareHolders200Response](docs/ListKeyShareHolders200Response.md)
|
|
@@ -378,7 +375,6 @@ Class | Method | HTTP request | Description
|
|
|
378
375
|
- [CoboWaas2.ListSupportedChains200Response](docs/ListSupportedChains200Response.md)
|
|
379
376
|
- [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
|
|
380
377
|
- [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
|
|
381
|
-
- [CoboWaas2.ListSwapActivities200Response](docs/ListSwapActivities200Response.md)
|
|
382
378
|
- [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
|
|
383
379
|
- [CoboWaas2.ListTransactionApprovalDetails200Response](docs/ListTransactionApprovalDetails200Response.md)
|
|
384
380
|
- [CoboWaas2.ListTransactions200Response](docs/ListTransactions200Response.md)
|
|
@@ -400,6 +396,7 @@ Class | Method | HTTP request | Description
|
|
|
400
396
|
- [CoboWaas2.MPCWalletInfo](docs/MPCWalletInfo.md)
|
|
401
397
|
- [CoboWaas2.MaxFeeAmount](docs/MaxFeeAmount.md)
|
|
402
398
|
- [CoboWaas2.MaxTransferableValue](docs/MaxTransferableValue.md)
|
|
399
|
+
- [CoboWaas2.Merchant](docs/Merchant.md)
|
|
403
400
|
- [CoboWaas2.MessageSignDestination](docs/MessageSignDestination.md)
|
|
404
401
|
- [CoboWaas2.MessageSignDestinationType](docs/MessageSignDestinationType.md)
|
|
405
402
|
- [CoboWaas2.MessageSignParams](docs/MessageSignParams.md)
|
|
@@ -410,8 +407,11 @@ Class | Method | HTTP request | Description
|
|
|
410
407
|
- [CoboWaas2.MpcSigningGroup](docs/MpcSigningGroup.md)
|
|
411
408
|
- [CoboWaas2.MpcStakeSource](docs/MpcStakeSource.md)
|
|
412
409
|
- [CoboWaas2.MpcTransferSource](docs/MpcTransferSource.md)
|
|
410
|
+
- [CoboWaas2.Order](docs/Order.md)
|
|
411
|
+
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
413
412
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
414
413
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
414
|
+
- [CoboWaas2.PaymentTransaction](docs/PaymentTransaction.md)
|
|
415
415
|
- [CoboWaas2.PoolDetails](docs/PoolDetails.md)
|
|
416
416
|
- [CoboWaas2.PoolDetailsAllOfValidatorsInfo](docs/PoolDetailsAllOfValidatorsInfo.md)
|
|
417
417
|
- [CoboWaas2.PoolSummary](docs/PoolSummary.md)
|
|
@@ -423,6 +423,9 @@ Class | Method | HTTP request | Description
|
|
|
423
423
|
- [CoboWaas2.RefreshAddressBalancesByTokenRequest](docs/RefreshAddressBalancesByTokenRequest.md)
|
|
424
424
|
- [CoboWaas2.RefreshToken2XXResponse](docs/RefreshToken2XXResponse.md)
|
|
425
425
|
- [CoboWaas2.RefreshTokenRequest](docs/RefreshTokenRequest.md)
|
|
426
|
+
- [CoboWaas2.Refund](docs/Refund.md)
|
|
427
|
+
- [CoboWaas2.RefundStatus](docs/RefundStatus.md)
|
|
428
|
+
- [CoboWaas2.RefundType](docs/RefundType.md)
|
|
426
429
|
- [CoboWaas2.ReplaceType](docs/ReplaceType.md)
|
|
427
430
|
- [CoboWaas2.RetryCallbackMessage201Response](docs/RetryCallbackMessage201Response.md)
|
|
428
431
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
@@ -441,6 +444,12 @@ Class | Method | HTTP request | Description
|
|
|
441
444
|
- [CoboWaas2.Scopes](docs/Scopes.md)
|
|
442
445
|
- [CoboWaas2.SelectedEntityType](docs/SelectedEntityType.md)
|
|
443
446
|
- [CoboWaas2.SelfCustodyWallet](docs/SelfCustodyWallet.md)
|
|
447
|
+
- [CoboWaas2.SettleRequestStatus](docs/SettleRequestStatus.md)
|
|
448
|
+
- [CoboWaas2.SettleStatus](docs/SettleStatus.md)
|
|
449
|
+
- [CoboWaas2.Settlement](docs/Settlement.md)
|
|
450
|
+
- [CoboWaas2.SettlementDetail](docs/SettlementDetail.md)
|
|
451
|
+
- [CoboWaas2.SettlementInfo](docs/SettlementInfo.md)
|
|
452
|
+
- [CoboWaas2.SettlementType](docs/SettlementType.md)
|
|
444
453
|
- [CoboWaas2.SmartContractInitiator](docs/SmartContractInitiator.md)
|
|
445
454
|
- [CoboWaas2.SmartContractWalletInfo](docs/SmartContractWalletInfo.md)
|
|
446
455
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
@@ -458,8 +467,10 @@ Class | Method | HTTP request | Description
|
|
|
458
467
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
459
468
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
460
469
|
- [CoboWaas2.SwapActivity](docs/SwapActivity.md)
|
|
470
|
+
- [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
|
|
471
|
+
- [CoboWaas2.SwapActivityType](docs/SwapActivityType.md)
|
|
461
472
|
- [CoboWaas2.SwapQuote](docs/SwapQuote.md)
|
|
462
|
-
- [CoboWaas2.
|
|
473
|
+
- [CoboWaas2.SwapToken](docs/SwapToken.md)
|
|
463
474
|
- [CoboWaas2.TSSGroups](docs/TSSGroups.md)
|
|
464
475
|
- [CoboWaas2.TSSRequest](docs/TSSRequest.md)
|
|
465
476
|
- [CoboWaas2.TSSRequestStatus](docs/TSSRequestStatus.md)
|
|
@@ -468,13 +479,25 @@ Class | Method | HTTP request | Description
|
|
|
468
479
|
- [CoboWaas2.TokenAssetModelType](docs/TokenAssetModelType.md)
|
|
469
480
|
- [CoboWaas2.TokenBalance](docs/TokenBalance.md)
|
|
470
481
|
- [CoboWaas2.TokenInfo](docs/TokenInfo.md)
|
|
482
|
+
- [CoboWaas2.TokenListing](docs/TokenListing.md)
|
|
483
|
+
- [CoboWaas2.TokenListingEventData](docs/TokenListingEventData.md)
|
|
484
|
+
- [CoboWaas2.TokenListingRequestSource](docs/TokenListingRequestSource.md)
|
|
485
|
+
- [CoboWaas2.TokenListingRequestStatus](docs/TokenListingRequestStatus.md)
|
|
471
486
|
- [CoboWaas2.TokensEventData](docs/TokensEventData.md)
|
|
472
487
|
- [CoboWaas2.Transaction](docs/Transaction.md)
|
|
473
488
|
- [CoboWaas2.TransactionApprovalDetail](docs/TransactionApprovalDetail.md)
|
|
474
489
|
- [CoboWaas2.TransactionApprovalResult](docs/TransactionApprovalResult.md)
|
|
475
490
|
- [CoboWaas2.TransactionApprover](docs/TransactionApprover.md)
|
|
491
|
+
- [CoboWaas2.TransactionBIP137Destination](docs/TransactionBIP137Destination.md)
|
|
492
|
+
- [CoboWaas2.TransactionBIP322Destination](docs/TransactionBIP322Destination.md)
|
|
493
|
+
- [CoboWaas2.TransactionBabylonBusinessInfo](docs/TransactionBabylonBusinessInfo.md)
|
|
494
|
+
- [CoboWaas2.TransactionBabylonTxParameters](docs/TransactionBabylonTxParameters.md)
|
|
476
495
|
- [CoboWaas2.TransactionBlockInfo](docs/TransactionBlockInfo.md)
|
|
477
496
|
- [CoboWaas2.TransactionCoboCategory](docs/TransactionCoboCategory.md)
|
|
497
|
+
- [CoboWaas2.TransactionCoreStakeInfo](docs/TransactionCoreStakeInfo.md)
|
|
498
|
+
- [CoboWaas2.TransactionCosmosAdr36Destination](docs/TransactionCosmosAdr36Destination.md)
|
|
499
|
+
- [CoboWaas2.TransactionCosmosContractDestination](docs/TransactionCosmosContractDestination.md)
|
|
500
|
+
- [CoboWaas2.TransactionCosmosMessage](docs/TransactionCosmosMessage.md)
|
|
478
501
|
- [CoboWaas2.TransactionCustodialAssetWalletSource](docs/TransactionCustodialAssetWalletSource.md)
|
|
479
502
|
- [CoboWaas2.TransactionCustodialWeb3WalletSource](docs/TransactionCustodialWeb3WalletSource.md)
|
|
480
503
|
- [CoboWaas2.TransactionDepositFromAddressSource](docs/TransactionDepositFromAddressSource.md)
|
|
@@ -493,12 +516,15 @@ Class | Method | HTTP request | Description
|
|
|
493
516
|
- [CoboWaas2.TransactionEvmEip1559Fee](docs/TransactionEvmEip1559Fee.md)
|
|
494
517
|
- [CoboWaas2.TransactionEvmLegacyFee](docs/TransactionEvmLegacyFee.md)
|
|
495
518
|
- [CoboWaas2.TransactionExchangeWalletSource](docs/TransactionExchangeWalletSource.md)
|
|
519
|
+
- [CoboWaas2.TransactionExtra](docs/TransactionExtra.md)
|
|
520
|
+
- [CoboWaas2.TransactionExtraType](docs/TransactionExtraType.md)
|
|
496
521
|
- [CoboWaas2.TransactionFee](docs/TransactionFee.md)
|
|
497
522
|
- [CoboWaas2.TransactionFeeStationWalletSource](docs/TransactionFeeStationWalletSource.md)
|
|
498
523
|
- [CoboWaas2.TransactionFixedFee](docs/TransactionFixedFee.md)
|
|
499
524
|
- [CoboWaas2.TransactionFuelingInfo](docs/TransactionFuelingInfo.md)
|
|
500
525
|
- [CoboWaas2.TransactionInitiatorType](docs/TransactionInitiatorType.md)
|
|
501
526
|
- [CoboWaas2.TransactionMPCWalletSource](docs/TransactionMPCWalletSource.md)
|
|
527
|
+
- [CoboWaas2.TransactionMessageSignBTCEIP191Destination](docs/TransactionMessageSignBTCEIP191Destination.md)
|
|
502
528
|
- [CoboWaas2.TransactionMessageSignEIP191Destination](docs/TransactionMessageSignEIP191Destination.md)
|
|
503
529
|
- [CoboWaas2.TransactionMessageSignEIP712Destination](docs/TransactionMessageSignEIP712Destination.md)
|
|
504
530
|
- [CoboWaas2.TransactionProcessType](docs/TransactionProcessType.md)
|
|
@@ -653,4 +679,14 @@ Authentication schemes defined for the API:
|
|
|
653
679
|
- webhook.read: Read webhook URLs/events
|
|
654
680
|
- webhook.edit: Edit webhook URLs
|
|
655
681
|
- webhook.resend: Resend webhook events
|
|
682
|
+
- payment_orders_payin.create: Create payment order
|
|
683
|
+
- payment_orders_payin.read: Read payment order information
|
|
684
|
+
- payment_orders_payin.update: Update payment order
|
|
685
|
+
- payment_orders_refund.create: Create payment refund order
|
|
686
|
+
- payment_orders_refund.read: Read payment refund order information
|
|
687
|
+
- payment_settlement.create: Create payment settlement request
|
|
688
|
+
- payment_settlement.read: Read payment settlement request information
|
|
689
|
+
- payment_merchant.create: Create payment merchant
|
|
690
|
+
- payment_merchant.read: Read payment merchant information
|
|
691
|
+
- payment_merchant.update: Update payment merchant
|
|
656
692
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -44,8 +44,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Get
|
|
48
|
-
* This operation retrieves detailed information about a specified transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
47
|
+
* Get Fee Station transaction information
|
|
48
|
+
* This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
49
49
|
* @param {String} transaction_id The transaction ID.
|
|
50
50
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionDetail} and HTTP response
|
|
51
51
|
*/
|
|
@@ -74,8 +74,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Get
|
|
78
|
-
* This operation retrieves detailed information about a specified transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
77
|
+
* Get Fee Station transaction information
|
|
78
|
+
* This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
79
79
|
* @param {String} transaction_id The transaction ID.
|
|
80
80
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransactionDetail}
|
|
81
81
|
*/
|
|
@@ -88,8 +88,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* List
|
|
92
|
-
* This operation retrieves a list of addresses within
|
|
91
|
+
* List Fee Station addresses
|
|
92
|
+
* This operation retrieves a list of addresses within your Fee Station.
|
|
93
93
|
* @param {Object} opts Optional parameters
|
|
94
94
|
* @param {String} [chain_ids] 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).
|
|
95
95
|
* @param {String} [addresses] A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
@@ -124,8 +124,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* List
|
|
128
|
-
* This operation retrieves a list of addresses within
|
|
127
|
+
* List Fee Station addresses
|
|
128
|
+
* This operation retrieves a list of addresses within your Fee Station.
|
|
129
129
|
* @param {Object} opts Optional parameters
|
|
130
130
|
* @param {String} opts.chain_ids 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).
|
|
131
131
|
* @param {String} opts.addresses A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
@@ -143,14 +143,14 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* List all
|
|
147
|
-
* This operation retrieves all
|
|
146
|
+
* List all Fee Station transactions
|
|
147
|
+
* This operation retrieves all Fee Station transactions under your organization. You can filter the results by request ID, Cobo ID, transaction ID, transaction hash, type, status, and timestamp. You can also paginate and sort your query results.
|
|
148
148
|
* @param {Object} opts Optional parameters
|
|
149
149
|
* @param {String} [request_id] 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.
|
|
150
150
|
* @param {String} [cobo_ids] A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction.
|
|
151
151
|
* @param {String} [transaction_ids] A list of transaction IDs, separated by comma.
|
|
152
152
|
* @param {String} [transaction_hashes] A list of transaction hashes, separated by comma.
|
|
153
|
-
* @param {String} [types] A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
153
|
+
* @param {String} [types] A list of transaction types for Fee Station, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
154
154
|
* @param {String} [statuses] A list of transaction statuses, separated by comma. Possible values include: - `Submitted`: The transaction is submitted. - `PendingScreening`: The transaction is pending screening by Risk Control. - `PendingAuthorization`: The transaction is pending approvals. - `PendingSignature`: The transaction is pending signature. - `Broadcasting`: The transaction is being broadcast. - `Confirming`: The transaction is waiting for the required number of confirmations. - `Completed`: The transaction is completed. - `Failed`: The transaction failed. - `Rejected`: The transaction is rejected. - `Pending`: The transaction is waiting to be included in the next block of the blockchain.
|
|
155
155
|
* @param {String} [chain_ids] 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).
|
|
156
156
|
* @param {String} [token_ids] 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).
|
|
@@ -199,14 +199,14 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* List all
|
|
203
|
-
* This operation retrieves all
|
|
202
|
+
* List all Fee Station transactions
|
|
203
|
+
* This operation retrieves all Fee Station transactions under your organization. You can filter the results by request ID, Cobo ID, transaction ID, transaction hash, type, status, and timestamp. You can also paginate and sort your query results.
|
|
204
204
|
* @param {Object} opts Optional parameters
|
|
205
205
|
* @param {String} opts.request_id 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.
|
|
206
206
|
* @param {String} opts.cobo_ids A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction.
|
|
207
207
|
* @param {String} opts.transaction_ids A list of transaction IDs, separated by comma.
|
|
208
208
|
* @param {String} opts.transaction_hashes A list of transaction hashes, separated by comma.
|
|
209
|
-
* @param {String} opts.types A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
209
|
+
* @param {String} opts.types A list of transaction types for Fee Station, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
210
210
|
* @param {String} opts.statuses A list of transaction statuses, separated by comma. Possible values include: - `Submitted`: The transaction is submitted. - `PendingScreening`: The transaction is pending screening by Risk Control. - `PendingAuthorization`: The transaction is pending approvals. - `PendingSignature`: The transaction is pending signature. - `Broadcasting`: The transaction is being broadcast. - `Confirming`: The transaction is waiting for the required number of confirmations. - `Completed`: The transaction is completed. - `Failed`: The transaction failed. - `Rejected`: The transaction is rejected. - `Pending`: The transaction is waiting to be included in the next block of the blockchain.
|
|
211
211
|
* @param {String} opts.chain_ids 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).
|
|
212
212
|
* @param {String} opts.token_ids 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).
|
|
@@ -228,8 +228,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
|
-
* List token balances
|
|
232
|
-
* The operation retrieves a list of token balances within
|
|
231
|
+
* List Fee Station token balances
|
|
232
|
+
* The operation retrieves a list of token balances within your Fee Station.
|
|
233
233
|
* @param {Object} opts Optional parameters
|
|
234
234
|
* @param {String} [token_ids] 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).
|
|
235
235
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
@@ -262,8 +262,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
|
-
* List token balances
|
|
266
|
-
* The operation retrieves a list of token balances within
|
|
265
|
+
* List Fee Station token balances
|
|
266
|
+
* The operation retrieves a list of token balances within your Fee Station.
|
|
267
267
|
* @param {Object} opts Optional parameters
|
|
268
268
|
* @param {String} opts.token_ids 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).
|
|
269
269
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
@@ -97,7 +97,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Cancel transaction
|
|
100
|
-
* This operation cancels a specified transaction. Canceling a transaction stops it while it is still pending. For more information, see [Cancel a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#cancel-a-transaction). <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets.</Note> A transaction can be cancelled if its status is either of the following: - `Submitted` - `PendingScreening` - `PendingAuthorization` - `PendingSignature`
|
|
100
|
+
* This operation cancels a specified transaction. Canceling a transaction stops it while it is still pending. For more information, see [Cancel a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#cancel-a-transaction). <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets.</Note> A transaction can be cancelled if its status is either of the following: - `Submitted` - `PendingScreening` - `PendingAuthorization` - `PendingSignature` (excluding the `SystemProcessingOngoing` and `SignatureVerificationSuccess` sub-statuses)
|
|
101
101
|
* @param {String} transaction_id The transaction ID.
|
|
102
102
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateTransferTransaction201Response} and HTTP response
|
|
103
103
|
*/
|
|
@@ -127,7 +127,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Cancel transaction
|
|
130
|
-
* This operation cancels a specified transaction. Canceling a transaction stops it while it is still pending. For more information, see [Cancel a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#cancel-a-transaction). <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets.</Note> A transaction can be cancelled if its status is either of the following: - `Submitted` - `PendingScreening` - `PendingAuthorization` - `PendingSignature`
|
|
130
|
+
* This operation cancels a specified transaction. Canceling a transaction stops it while it is still pending. For more information, see [Cancel a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#cancel-a-transaction). <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets.</Note> A transaction can be cancelled if its status is either of the following: - `Submitted` - `PendingScreening` - `PendingAuthorization` - `PendingSignature` (excluding the `SystemProcessingOngoing` and `SignatureVerificationSuccess` sub-statuses)
|
|
131
131
|
* @param {String} transaction_id The transaction ID.
|
|
132
132
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateTransferTransaction201Response}
|
|
133
133
|
*/
|
package/dist/api/WalletsApi.js
CHANGED
|
@@ -1226,12 +1226,12 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
1228
1228
|
/**
|
|
1229
|
-
*
|
|
1230
|
-
*
|
|
1229
|
+
* Refresh address balances by token
|
|
1230
|
+
* This operation refreshes the balances of specified addresses for a given token within a wallet. The successful return of the request only means that the refresh request has been submitted. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
1231
1231
|
* @param {String} wallet_id The wallet ID.
|
|
1232
1232
|
* @param {String} token_id The token ID, which is the unique identifier of a token.
|
|
1233
1233
|
* @param {Object} opts Optional parameters
|
|
1234
|
-
* @param {module:model/RefreshAddressBalancesByTokenRequest} [RefreshAddressBalancesByTokenRequest] The request body to refresh
|
|
1234
|
+
* @param {module:model/RefreshAddressBalancesByTokenRequest} [RefreshAddressBalancesByTokenRequest] The request body to refresh addresses balances.
|
|
1235
1235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RefreshAddressBalancesByToken200Response} and HTTP response
|
|
1236
1236
|
*/
|
|
1237
1237
|
}, {
|
|
@@ -1265,12 +1265,12 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
1267
|
/**
|
|
1268
|
-
*
|
|
1269
|
-
*
|
|
1268
|
+
* Refresh address balances by token
|
|
1269
|
+
* This operation refreshes the balances of specified addresses for a given token within a wallet. The successful return of the request only means that the refresh request has been submitted. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
1270
1270
|
* @param {String} wallet_id The wallet ID.
|
|
1271
1271
|
* @param {String} token_id The token ID, which is the unique identifier of a token.
|
|
1272
1272
|
* @param {Object} opts Optional parameters
|
|
1273
|
-
* @param {module:model/RefreshAddressBalancesByTokenRequest} opts.RefreshAddressBalancesByTokenRequest The request body to refresh
|
|
1273
|
+
* @param {module:model/RefreshAddressBalancesByTokenRequest} opts.RefreshAddressBalancesByTokenRequest The request body to refresh addresses balances.
|
|
1274
1274
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RefreshAddressBalancesByToken200Response}
|
|
1275
1275
|
*/
|
|
1276
1276
|
}, {
|
|
@@ -1332,7 +1332,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1332
1332
|
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Update wallet
|
|
1335
|
-
* This operation updates the information of a specified wallet.
|
|
1335
|
+
* This operation updates the information of a specified wallet.
|
|
1336
1336
|
* @param {String} wallet_id The wallet ID.
|
|
1337
1337
|
* @param {Object} opts Optional parameters
|
|
1338
1338
|
* @param {module:model/UpdateWalletParams} [UpdateWalletParams] The request body.
|
|
@@ -1365,7 +1365,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1365
1365
|
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Update wallet
|
|
1368
|
-
* This operation updates the information of a specified wallet.
|
|
1368
|
+
* This operation updates the information of a specified wallet.
|
|
1369
1369
|
* @param {String} wallet_id The wallet ID.
|
|
1370
1370
|
* @param {Object} opts Optional parameters
|
|
1371
1371
|
* @param {module:model/UpdateWalletParams} opts.UpdateWalletParams The request body.
|