@cobo/cobo-waas2 1.1.2 → 1.2.1
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 +16 -3
- package/dist/ApiClient.js +1 -1
- package/dist/PreRequestScript.js +640 -0
- package/dist/api/OAuthApi.js +16 -15
- package/dist/api/TransactionsApi.js +18 -18
- package/dist/api/WalletsApi.js +123 -12
- package/dist/api/WalletsExchangeWalletApi.js +254 -0
- package/dist/api/WalletsMPCWalletsApi.js +8 -8
- package/dist/index.js +56 -0
- package/dist/model/AddressInfo.js +1 -1
- package/dist/model/AddressTransferDestination.js +3 -3
- package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +1 -1
- package/dist/model/AssetInfo.js +2 -2
- package/dist/model/BabylonStakeExtra.js +9 -0
- package/dist/model/CheckAddressValidity200Response.js +2 -2
- package/dist/model/CheckAddressesValidity200ResponseInner.js +121 -0
- package/dist/model/CheckLoopTransfers200ResponseInner.js +96 -0
- package/dist/model/CoboSafeDelegate.js +27 -2
- package/dist/model/ContractCallDestination.js +24 -3
- package/dist/model/ContractCallSource.js +41 -4
- package/dist/model/CreateSmartContractWalletParams.js +23 -2
- package/dist/model/CreateStakeActivity.js +14 -1
- package/dist/model/CreateStakeActivityExtra.js +57 -6
- package/dist/model/CreateTssRequestRequest.js +13 -0
- package/dist/model/CreateUnstakeActivity.js +13 -0
- package/dist/model/CreateWalletParams.js +51 -6
- package/dist/model/CreateWithdrawActivity.js +13 -0
- package/dist/model/CreatedWalletInfo.js +63 -6
- package/dist/model/EstimateFeeParams.js +37 -4
- package/dist/model/EstimateStakeFee.js +19 -1
- package/dist/model/EstimateUnstakeFee.js +18 -0
- package/dist/model/EstimateWithdrawFee.js +18 -0
- package/dist/model/EstimatedFee.js +65 -8
- package/dist/model/EvmContractCallDestination.js +1 -1
- package/dist/model/ExchangeId.js +5 -0
- package/dist/model/ExchangeTransferDestination.js +16 -16
- package/dist/model/ExchangeTransferSource.js +14 -14
- package/dist/model/FeeRate.js +65 -8
- package/dist/model/GetToken200Response.js +4 -4
- package/dist/model/KeyShareHolder.js +13 -0
- package/dist/model/ListAssetBalancesForExchangeWallet200Response.js +123 -0
- package/dist/model/ListExchanges200ResponseInner.js +122 -0
- package/dist/model/ListSupportedAssetsForExchange200Response.js +123 -0
- package/dist/model/MPCWalletInfo.js +26 -0
- package/dist/model/MessageSignDestination.js +37 -4
- package/dist/model/MessageSignSource.js +27 -2
- package/dist/model/PoolDetailsAllOfValidatorsInfo.js +20 -4
- package/dist/model/RefreshToken200Response.js +135 -0
- package/dist/model/RefreshTokenRequest.js +2 -2
- package/dist/model/SmartContractWalletInfo.js +23 -2
- package/dist/model/SmartContractWalletType.js +2 -2
- package/dist/model/StakingSource.js +41 -4
- package/dist/model/SubWalletAssetBalance.js +10 -10
- package/dist/model/TSSRequest.js +23 -1
- package/dist/model/TSSRequestWebhookEventData.js +263 -0
- package/dist/model/TransactionDepositFromWalletSource.js +6 -6
- package/dist/model/TransactionDepositToAddressDestination.js +2 -2
- package/dist/model/TransactionDepositToWalletDestination.js +9 -9
- package/dist/model/TransactionDestination.js +112 -19
- package/dist/model/TransactionEvmContractDestination.js +1 -1
- package/dist/model/TransactionExchangeWalletSource.js +6 -6
- package/dist/model/TransactionFee.js +65 -8
- package/dist/model/TransactionMPCWalletSource.js +13 -0
- package/dist/model/TransactionRbfSource.js +27 -2
- package/dist/model/TransactionRequestFee.js +65 -8
- package/dist/model/TransactionResult.js +23 -2
- package/dist/model/TransactionSource.js +123 -16
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionTransferToAddressDestinationAccountOutput.js +1 -1
- package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +1 -1
- package/dist/model/TransactionTransferToWalletDestination.js +9 -9
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/TransferDestination.js +43 -10
- package/dist/model/TransferParams.js +2 -2
- package/dist/model/TransferSource.js +76 -11
- package/dist/model/UpdateWalletParams.js +65 -8
- package/dist/model/WalletInfo.js +77 -8
- package/dist/model/WebhookEventData.js +84 -17
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +24 -4
- package/docs/AddressInfo.md +1 -1
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressTransferDestinationAccountOutput.md +1 -1
- package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -1
- package/docs/AssetInfo.md +1 -1
- package/docs/BabylonStakeExtra.md +1 -0
- package/docs/CheckAddressValidity200Response.md +1 -1
- package/docs/CheckAddressesValidity200ResponseInner.md +10 -0
- package/docs/CheckLoopTransfers200ResponseInner.md +10 -0
- package/docs/ContractCallDestination.md +1 -1
- package/docs/CreateStakeActivity.md +1 -0
- package/docs/CreateStakeActivityExtra.md +1 -0
- package/docs/CreateTssRequestRequest.md +1 -0
- package/docs/CreateUnstakeActivity.md +1 -0
- package/docs/CreateWithdrawActivity.md +1 -0
- package/docs/CreatedWalletInfo.md +2 -0
- package/docs/DevelopersWebhooksApi.md +78 -69
- package/docs/EstimateStakeFee.md +1 -0
- package/docs/EstimateUnstakeFee.md +1 -0
- package/docs/EstimateWithdrawFee.md +1 -0
- package/docs/EvmContractCallDestination.md +1 -1
- package/docs/ExchangeId.md +2 -0
- package/docs/ExchangeTransferDestination.md +2 -2
- package/docs/ExchangeTransferSource.md +1 -1
- package/docs/GetToken200Response.md +4 -4
- package/docs/KeyShareHolder.md +1 -0
- package/docs/ListAssetBalancesForExchangeWallet200Response.md +10 -0
- package/docs/ListExchanges200ResponseInner.md +10 -0
- package/docs/ListSupportedAssetsForExchange200Response.md +10 -0
- package/docs/MPCWalletInfo.md +2 -0
- package/docs/OAuthApi.md +26 -24
- package/docs/RefreshToken200Response.md +13 -0
- package/docs/RefreshTokenRequest.md +2 -2
- package/docs/SmartContractWalletType.md +1 -1
- package/docs/SubWalletAssetBalance.md +2 -2
- package/docs/TSSRequest.md +2 -0
- package/docs/TSSRequestWebhookEventData.md +29 -0
- package/docs/TransactionDepositFromWalletSource.md +1 -1
- package/docs/TransactionDepositToAddressDestination.md +1 -1
- package/docs/TransactionDepositToWalletDestination.md +2 -2
- package/docs/TransactionDestination.md +3 -3
- package/docs/TransactionEvmContractDestination.md +1 -1
- package/docs/TransactionExchangeWalletSource.md +1 -1
- package/docs/TransactionMPCWalletSource.md +1 -0
- package/docs/TransactionSource.md +2 -1
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionTransferToAddressDestinationAccountOutput.md +1 -1
- package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +1 -1
- package/docs/TransactionTransferToWalletDestination.md +2 -2
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +98 -88
- package/docs/TransferDestination.md +4 -4
- package/docs/TransferParams.md +1 -1
- package/docs/TransferSource.md +1 -1
- package/docs/WalletInfo.md +2 -0
- package/docs/WalletsApi.md +316 -187
- package/docs/WalletsExchangeWalletApi.md +230 -0
- package/docs/WalletsMPCWalletsApi.md +153 -135
- package/docs/WebhookEventData.md +10 -5
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +12 -4
- package/package.json +1 -1
|
@@ -37,15 +37,16 @@ This operation cancels a TSS request.
|
|
|
37
37
|
|
|
38
38
|
```javascript
|
|
39
39
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
40
|
-
//
|
|
40
|
+
// Initialize the API client
|
|
41
41
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
42
|
-
//
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
43
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
44
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
45
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
46
|
+
// Call the API
|
|
46
47
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
47
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
48
|
-
const tss_request_id = "20240711114129000132315000003970";
|
|
48
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
49
|
+
const tss_request_id = "20240711114129000132315000003970";
|
|
49
50
|
apiInstance.cancelTssRequestById(vault_id, tss_request_id).then((data) => {
|
|
50
51
|
console.log('API called successfully. Returned data: ' + data);
|
|
51
52
|
}, (error) => {
|
|
@@ -88,16 +89,17 @@ This operation creates a key share holder group for a specified vault.
|
|
|
88
89
|
|
|
89
90
|
```javascript
|
|
90
91
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
91
|
-
//
|
|
92
|
+
// Initialize the API client
|
|
92
93
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
93
|
-
//
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
95
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
96
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
97
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
98
|
+
// Call the API
|
|
97
99
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
98
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
100
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
99
101
|
const opts = {
|
|
100
|
-
'CreateKeyShareHolderGroupRequest': new CoboWaas2.CreateKeyShareHolderGroupRequest()
|
|
102
|
+
'CreateKeyShareHolderGroupRequest': new CoboWaas2.CreateKeyShareHolderGroupRequest()
|
|
101
103
|
};
|
|
102
104
|
apiInstance.createKeyShareHolderGroup(vault_id, opts).then((data) => {
|
|
103
105
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -135,21 +137,22 @@ Name | Type | Description | Notes
|
|
|
135
137
|
|
|
136
138
|
Create project
|
|
137
139
|
|
|
138
|
-
This operation creates a project. <
|
|
140
|
+
This operation creates a project. <Note>This operation applies to MPC Wallets (User-Controlled Wallets) only.</Note>
|
|
139
141
|
|
|
140
142
|
### Example
|
|
141
143
|
|
|
142
144
|
```javascript
|
|
143
145
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
144
|
-
//
|
|
146
|
+
// Initialize the API client
|
|
145
147
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
146
|
-
//
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
149
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
150
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
151
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
152
|
+
// Call the API
|
|
150
153
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
151
154
|
const opts = {
|
|
152
|
-
'CreateMpcProjectRequest': new CoboWaas2.CreateMpcProjectRequest()
|
|
155
|
+
'CreateMpcProjectRequest': new CoboWaas2.CreateMpcProjectRequest()
|
|
153
156
|
};
|
|
154
157
|
apiInstance.createMpcProject(opts).then((data) => {
|
|
155
158
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -192,15 +195,16 @@ This operation creates a vault.
|
|
|
192
195
|
|
|
193
196
|
```javascript
|
|
194
197
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
195
|
-
//
|
|
198
|
+
// Initialize the API client
|
|
196
199
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
197
|
-
//
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
201
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
202
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
203
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
204
|
+
// Call the API
|
|
201
205
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
202
206
|
const opts = {
|
|
203
|
-
'CreateMpcVaultRequest': new CoboWaas2.CreateMpcVaultRequest()
|
|
207
|
+
'CreateMpcVaultRequest': new CoboWaas2.CreateMpcVaultRequest()
|
|
204
208
|
};
|
|
205
209
|
apiInstance.createMpcVault(opts).then((data) => {
|
|
206
210
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -243,16 +247,17 @@ This operation creates a TSS request under a specified vault. You can use this o
|
|
|
243
247
|
|
|
244
248
|
```javascript
|
|
245
249
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
246
|
-
//
|
|
250
|
+
// Initialize the API client
|
|
247
251
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
248
|
-
//
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
253
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
254
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
255
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
256
|
+
// Call the API
|
|
252
257
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
253
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
258
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
254
259
|
const opts = {
|
|
255
|
-
'CreateTssRequestRequest': new CoboWaas2.CreateTssRequestRequest()
|
|
260
|
+
'CreateTssRequestRequest': new CoboWaas2.CreateTssRequestRequest()
|
|
256
261
|
};
|
|
257
262
|
apiInstance.createTssRequest(vault_id, opts).then((data) => {
|
|
258
263
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -296,15 +301,16 @@ This operation deletes a specified key share holder group.
|
|
|
296
301
|
|
|
297
302
|
```javascript
|
|
298
303
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
299
|
-
//
|
|
304
|
+
// Initialize the API client
|
|
300
305
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
301
|
-
//
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
306
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
307
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
308
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
309
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
310
|
+
// Call the API
|
|
305
311
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
306
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
307
|
-
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
312
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
313
|
+
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
308
314
|
apiInstance.deleteKeyShareHolderGroupById(vault_id, key_share_holder_group_id).then((data) => {
|
|
309
315
|
console.log('API called successfully. Returned data: ' + data);
|
|
310
316
|
}, (error) => {
|
|
@@ -347,15 +353,16 @@ This operation retrieves detailed information about a specified key share holder
|
|
|
347
353
|
|
|
348
354
|
```javascript
|
|
349
355
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
350
|
-
//
|
|
356
|
+
// Initialize the API client
|
|
351
357
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
352
|
-
//
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
358
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
359
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
360
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
361
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
362
|
+
// Call the API
|
|
356
363
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
357
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
358
|
-
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
364
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
365
|
+
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
359
366
|
apiInstance.getKeyShareHolderGroupById(vault_id, key_share_holder_group_id).then((data) => {
|
|
360
367
|
console.log('API called successfully. Returned data: ' + data);
|
|
361
368
|
}, (error) => {
|
|
@@ -392,20 +399,21 @@ Name | Type | Description | Notes
|
|
|
392
399
|
|
|
393
400
|
Get project information
|
|
394
401
|
|
|
395
|
-
This operation retrieves detailed information about a project. <
|
|
402
|
+
This operation retrieves detailed information about a project. <Note>This operation applies to MPC Wallets (User-Controlled Wallets) only.</Note>
|
|
396
403
|
|
|
397
404
|
### Example
|
|
398
405
|
|
|
399
406
|
```javascript
|
|
400
407
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
401
|
-
//
|
|
408
|
+
// Initialize the API client
|
|
402
409
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
403
|
-
//
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
410
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
411
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
412
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
413
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
414
|
+
// Call the API
|
|
407
415
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
408
|
-
const project_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
416
|
+
const project_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
409
417
|
apiInstance.getMpcProjectById(project_id).then((data) => {
|
|
410
418
|
console.log('API called successfully. Returned data: ' + data);
|
|
411
419
|
}, (error) => {
|
|
@@ -447,14 +455,15 @@ This operation retrieves detailed information about a vault.
|
|
|
447
455
|
|
|
448
456
|
```javascript
|
|
449
457
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
450
|
-
//
|
|
458
|
+
// Initialize the API client
|
|
451
459
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
452
|
-
//
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
460
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
461
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
462
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
463
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
464
|
+
// Call the API
|
|
456
465
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
457
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
466
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
458
467
|
apiInstance.getMpcVaultById(vault_id).then((data) => {
|
|
459
468
|
console.log('API called successfully. Returned data: ' + data);
|
|
460
469
|
}, (error) => {
|
|
@@ -496,15 +505,16 @@ This operation retrieves detailed information about a TSS request.
|
|
|
496
505
|
|
|
497
506
|
```javascript
|
|
498
507
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
499
|
-
//
|
|
508
|
+
// Initialize the API client
|
|
500
509
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
501
|
-
//
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
510
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
511
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
512
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
513
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
514
|
+
// Call the API
|
|
505
515
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
506
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
507
|
-
const tss_request_id = "20240711114129000132315000003970";
|
|
516
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
517
|
+
const tss_request_id = "20240711114129000132315000003970";
|
|
508
518
|
apiInstance.getTssRequestById(vault_id, tss_request_id).then((data) => {
|
|
509
519
|
console.log('API called successfully. Returned data: ' + data);
|
|
510
520
|
}, (error) => {
|
|
@@ -547,12 +557,13 @@ This operation retrieves a list of all Cobo key share holders and their informat
|
|
|
547
557
|
|
|
548
558
|
```javascript
|
|
549
559
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
550
|
-
//
|
|
560
|
+
// Initialize the API client
|
|
551
561
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
552
|
-
//
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
562
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
563
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
564
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
565
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
566
|
+
// Call the API
|
|
556
567
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
557
568
|
apiInstance.listCoboKeyHolders().then((data) => {
|
|
558
569
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -592,19 +603,20 @@ This operation retrieves all key share holder groups under a specified vault. Yo
|
|
|
592
603
|
|
|
593
604
|
```javascript
|
|
594
605
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
595
|
-
//
|
|
606
|
+
// Initialize the API client
|
|
596
607
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
597
|
-
//
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
608
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
609
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
610
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
611
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
612
|
+
// Call the API
|
|
601
613
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
602
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
614
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
603
615
|
const opts = {
|
|
604
|
-
'key_share_holder_group_type': new CoboWaas2.KeyShareHolderGroupType(),
|
|
605
|
-
'limit': 10,
|
|
606
|
-
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
607
|
-
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
616
|
+
'key_share_holder_group_type': new CoboWaas2.KeyShareHolderGroupType(),
|
|
617
|
+
'limit': 10,
|
|
618
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
619
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
608
620
|
};
|
|
609
621
|
apiInstance.listKeyShareHolderGroups(vault_id, opts).then((data) => {
|
|
610
622
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -645,23 +657,24 @@ Name | Type | Description | Notes
|
|
|
645
657
|
|
|
646
658
|
List all projects
|
|
647
659
|
|
|
648
|
-
This operation retrieves a list of all projects. <
|
|
660
|
+
This operation retrieves a list of all projects. <Note>This operation applies to MPC Wallets (User-Controlled Wallets) only.</Note>
|
|
649
661
|
|
|
650
662
|
### Example
|
|
651
663
|
|
|
652
664
|
```javascript
|
|
653
665
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
654
|
-
//
|
|
666
|
+
// Initialize the API client
|
|
655
667
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
656
|
-
//
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
668
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
669
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
670
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
671
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
672
|
+
// Call the API
|
|
660
673
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
661
674
|
const opts = {
|
|
662
|
-
'limit': 10,
|
|
663
|
-
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
664
|
-
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
675
|
+
'limit': 10,
|
|
676
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
677
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
665
678
|
};
|
|
666
679
|
apiInstance.listMpcProjects(opts).then((data) => {
|
|
667
680
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -706,19 +719,20 @@ This operation retrieves a list of all vaults. You can filter the result by proj
|
|
|
706
719
|
|
|
707
720
|
```javascript
|
|
708
721
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
709
|
-
//
|
|
722
|
+
// Initialize the API client
|
|
710
723
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
711
|
-
//
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
724
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
725
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
726
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
727
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
728
|
+
// Call the API
|
|
715
729
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
716
|
-
const vault_type = new CoboWaas2.MPCVaultType();
|
|
730
|
+
const vault_type = new CoboWaas2.MPCVaultType();
|
|
717
731
|
const opts = {
|
|
718
|
-
'project_id': "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
719
|
-
'limit': 10,
|
|
720
|
-
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
721
|
-
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
732
|
+
'project_id': "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
733
|
+
'limit': 10,
|
|
734
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
735
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
722
736
|
};
|
|
723
737
|
apiInstance.listMpcVaults(vault_type, opts).then((data) => {
|
|
724
738
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -765,19 +779,20 @@ This operation retrieves a list of TSS requests and their details.
|
|
|
765
779
|
|
|
766
780
|
```javascript
|
|
767
781
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
768
|
-
//
|
|
782
|
+
// Initialize the API client
|
|
769
783
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
770
|
-
//
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
784
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
785
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
786
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
787
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
788
|
+
// Call the API
|
|
774
789
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
775
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
776
|
-
const key_share_holder_group_id = "a3a45e99-5a12-444f-867a-ffe0ebb1bb30";
|
|
790
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
791
|
+
const key_share_holder_group_id = "a3a45e99-5a12-444f-867a-ffe0ebb1bb30";
|
|
777
792
|
const opts = {
|
|
778
|
-
'limit': 10,
|
|
779
|
-
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
780
|
-
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
793
|
+
'limit': 10,
|
|
794
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
795
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
781
796
|
};
|
|
782
797
|
apiInstance.listTssRequests(vault_id, key_share_holder_group_id, opts).then((data) => {
|
|
783
798
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -824,17 +839,18 @@ This operation updates a specified active [Signing Group](https://manuals.cobo.c
|
|
|
824
839
|
|
|
825
840
|
```javascript
|
|
826
841
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
827
|
-
//
|
|
842
|
+
// Initialize the API client
|
|
828
843
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
829
|
-
//
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
844
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
845
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
846
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
847
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
848
|
+
// Call the API
|
|
833
849
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
834
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
835
|
-
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
850
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
851
|
+
const key_share_holder_group_id = "e8257ac8-76b8-4d1e-a1f9-eec4cb931dce";
|
|
836
852
|
const opts = {
|
|
837
|
-
'UpdateKeyShareHolderGroupByIdRequest': new CoboWaas2.UpdateKeyShareHolderGroupByIdRequest()
|
|
853
|
+
'UpdateKeyShareHolderGroupByIdRequest': new CoboWaas2.UpdateKeyShareHolderGroupByIdRequest()
|
|
838
854
|
};
|
|
839
855
|
apiInstance.updateKeyShareHolderGroupById(vault_id, key_share_holder_group_id, opts).then((data) => {
|
|
840
856
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -873,22 +889,23 @@ Name | Type | Description | Notes
|
|
|
873
889
|
|
|
874
890
|
Update project name
|
|
875
891
|
|
|
876
|
-
This operation updates a project's name. <
|
|
892
|
+
This operation updates a project's name. <Note>This operation applies to MPC Wallets (User-Controlled Wallets) only.</Note>
|
|
877
893
|
|
|
878
894
|
### Example
|
|
879
895
|
|
|
880
896
|
```javascript
|
|
881
897
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
882
|
-
//
|
|
898
|
+
// Initialize the API client
|
|
883
899
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
884
|
-
//
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
900
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
901
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
902
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
903
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
904
|
+
// Call the API
|
|
888
905
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
889
|
-
const project_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
906
|
+
const project_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
890
907
|
const opts = {
|
|
891
|
-
'UpdateMpcProjectByIdRequest': new CoboWaas2.UpdateMpcProjectByIdRequest()
|
|
908
|
+
'UpdateMpcProjectByIdRequest': new CoboWaas2.UpdateMpcProjectByIdRequest()
|
|
892
909
|
};
|
|
893
910
|
apiInstance.updateMpcProjectById(project_id, opts).then((data) => {
|
|
894
911
|
console.log('API called successfully. Returned data: ' + data);
|
|
@@ -932,16 +949,17 @@ This operation updates a vault's name.
|
|
|
932
949
|
|
|
933
950
|
```javascript
|
|
934
951
|
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
935
|
-
//
|
|
952
|
+
// Initialize the API client
|
|
936
953
|
const apiClient = CoboWaas2.ApiClient.instance
|
|
937
|
-
//
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
954
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
955
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
956
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
957
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
958
|
+
// Call the API
|
|
941
959
|
const apiInstance = new CoboWaas2.WalletsMPCWalletsApi();
|
|
942
|
-
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
960
|
+
const vault_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
|
|
943
961
|
const opts = {
|
|
944
|
-
'UpdateMpcVaultByIdRequest': new CoboWaas2.UpdateMpcVaultByIdRequest()
|
|
962
|
+
'UpdateMpcVaultByIdRequest': new CoboWaas2.UpdateMpcVaultByIdRequest()
|
|
945
963
|
};
|
|
946
964
|
apiInstance.updateMpcVaultById(vault_id, opts).then((data) => {
|
|
947
965
|
console.log('API called successfully. Returned data: ' + data);
|
package/docs/WebhookEventData.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request 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]
|
|
11
11
|
**wallet_id** | **String** | For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source. |
|
|
12
|
-
**type** | [**
|
|
13
|
-
**status** | [**
|
|
12
|
+
**type** | [**TSSRequestType**](TSSRequestType.md) | | [optional]
|
|
13
|
+
**status** | [**TSSRequestStatus**](TSSRequestStatus.md) | |
|
|
14
14
|
**sub_status** | [**TransactionSubStatus**](TransactionSubStatus.md) | | [optional]
|
|
15
15
|
**failed_reason** | **String** | (This property is applicable to approval failures and signature failures only) The reason why the transaction failed. | [optional]
|
|
16
16
|
**chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](/v2/api-references/wallets/list-enabled-chains). | [optional]
|
|
@@ -29,10 +29,13 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**raw_tx_info** | [**TransactionRawTxInfo**](TransactionRawTxInfo.md) | | [optional]
|
|
30
30
|
**replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
|
|
31
31
|
**category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
|
|
32
|
-
**description** | **String** | The description
|
|
32
|
+
**description** | **String** | The description of the TSS request. | [optional]
|
|
33
33
|
**is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction is a Loop transfer. - `false`: The transaction is not a Loop transfer. | [optional]
|
|
34
|
-
**created_timestamp** | **Number** | The
|
|
34
|
+
**created_timestamp** | **Number** | The TSS request's creation time in Unix timestamp format, measured in milliseconds. | [optional]
|
|
35
35
|
**updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
36
|
+
**tss_request_id** | **String** | The TSS request ID. | [optional]
|
|
37
|
+
**source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
|
|
38
|
+
**target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
|
|
36
39
|
|
|
37
40
|
|
|
38
41
|
|
|
@@ -41,6 +44,8 @@ Name | Type | Description | Notes
|
|
|
41
44
|
|
|
42
45
|
* `Transaction` (value: `"Transaction"`)
|
|
43
46
|
|
|
47
|
+
* `TSSRequest` (value: `"TSSRequest"`)
|
|
48
|
+
|
|
44
49
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
45
50
|
|
|
46
51
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
|
|
14
14
|
* `Transaction` (value: `"Transaction"`)
|
|
15
15
|
|
|
16
|
+
* `TSSRequest` (value: `"TSSRequest"`)
|
|
17
|
+
|
|
16
18
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
17
19
|
|
|
18
20
|
|
package/docs/WebhookEventType.md
CHANGED
|
@@ -3,13 +3,21 @@
|
|
|
3
3
|
## Enum
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
* `created` (value: `"wallets.transaction.created"`)
|
|
6
|
+
* `transaction.created` (value: `"wallets.transaction.created"`)
|
|
7
7
|
|
|
8
|
-
* `updated` (value: `"wallets.transaction.updated"`)
|
|
8
|
+
* `transaction.updated` (value: `"wallets.transaction.updated"`)
|
|
9
9
|
|
|
10
|
-
* `failed` (value: `"wallets.transaction.failed"`)
|
|
10
|
+
* `transaction.failed` (value: `"wallets.transaction.failed"`)
|
|
11
11
|
|
|
12
|
-
* `succeeded` (value: `"wallets.transaction.succeeded"`)
|
|
12
|
+
* `transaction.succeeded` (value: `"wallets.transaction.succeeded"`)
|
|
13
|
+
|
|
14
|
+
* `mpc.tss_request.created` (value: `"wallets.mpc.tss_request.created"`)
|
|
15
|
+
|
|
16
|
+
* `mpc.tss_request.updated` (value: `"wallets.mpc.tss_request.updated"`)
|
|
17
|
+
|
|
18
|
+
* `mpc.tss_request.failed` (value: `"wallets.mpc.tss_request.failed"`)
|
|
19
|
+
|
|
20
|
+
* `mpc.tss_request.succeeded` (value: `"wallets.mpc.tss_request.succeeded"`)
|
|
13
21
|
|
|
14
22
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
15
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobo/cobo-waas2",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo’s WaaS API offering. It enables you to access Cobo’s full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo’s [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction). ",
|
|
5
5
|
"license": "GPL 2.0",
|
|
6
6
|
"main": "dist/index.js",
|