@cobo/cobo-waas2 1.4.0 → 1.6.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 +32 -10
- package/dist/ApiClient.js +1 -1
- package/dist/ServerDemo.js +80 -0
- package/dist/api/AddressBooksApi.js +105 -0
- package/dist/api/DevelopersApi.js +79 -0
- package/dist/api/DevelopersWebhooksApi.js +43 -0
- package/dist/api/OAuthApi.js +10 -10
- package/dist/api/TransactionsApi.js +12 -12
- package/dist/api/WalletsApi.js +60 -59
- package/dist/api/WalletsExchangeWalletApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +8 -8
- package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
- package/dist/index.js +181 -34
- package/dist/model/AddressBook.js +25 -10
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +6 -17
- package/dist/model/ApiLogDetails.js +238 -0
- package/dist/model/ApiLogSummary.js +161 -0
- package/dist/model/BabylonStakeEstimatedFee.js +118 -0
- package/dist/model/BabylonValidator.js +5 -0
- package/dist/model/CheckAddressChainsValidity200ResponseInner.js +121 -0
- package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
- package/dist/model/CoboSafeDelegate.js +2 -2
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +42 -8
- package/dist/model/CreateUnstakeActivity.js +16 -0
- package/dist/model/CreateUnstakeActivityExtra.js +159 -0
- package/dist/model/CreateUnstakeActivityRequest.js +20 -0
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +5 -7
- package/dist/model/EstimateFeeParams.js +1 -1
- package/dist/model/EstimateTransferFeeParams.js +5 -9
- package/dist/model/EstimateUnstakeFee.js +20 -0
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -5
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +3 -5
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +1 -1
- package/dist/model/EthStakeEstimatedFee.js +112 -0
- package/dist/model/EthStakeExtra.js +131 -0
- package/dist/model/EthStakingExtra.js +131 -0
- package/dist/model/EthUnstakeExtra.js +131 -0
- package/dist/model/ExchangeId.js +10 -0
- package/dist/model/ExtendedTokenInfo.js +17 -4
- package/dist/model/FeeGasLimit.js +1 -2
- package/dist/model/GetApiKeyInfo200Response.js +251 -0
- package/dist/model/GetStakingEstimationFee201Response.js +144 -43
- package/dist/model/GetStakingEstimationFeeRequest.js +2 -2
- package/dist/model/{GetToken200Response.js → GetToken2XXResponse.js} +21 -21
- package/dist/model/GetToken4XXResponse.js +12 -10
- package/dist/model/ListAddressBooks200Response.js +123 -0
- package/dist/model/MPCDelegate.js +5 -5
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/{RefreshToken200Response.js → RefreshToken2XXResponse.js} +21 -21
- package/dist/model/{WalletBalanceSnapshot.js → RoleScopes.js} +42 -34
- package/dist/model/SafeWalletDelegates.js +210 -0
- package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
- package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
- package/dist/model/Scopes.js +142 -0
- package/dist/model/SmartContractWalletInfo.js +1 -1
- package/dist/model/StakingPoolType.js +5 -0
- package/dist/model/StakingsExtra.js +36 -8
- package/dist/model/TokenAssetModelType.js +61 -0
- package/dist/model/TokenBalanceBalance.js +6 -6
- package/dist/model/TokenInfo.js +11 -2
- package/dist/model/Transaction.js +1 -1
- package/dist/model/TransactionDestination.js +50 -10
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionEvmCalldataInfo.js +177 -0
- package/dist/model/TransactionEvmContractDestination.js +16 -0
- package/dist/model/TransactionEvmContractMethod.js +136 -0
- package/dist/model/TransactionEvmEip1559Fee.js +2 -4
- package/dist/model/TransactionEvmLegacyFee.js +2 -4
- package/dist/model/TransactionFee.js +1 -2
- package/dist/model/TransactionRawMessageSignDestination.js +120 -0
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -2
- package/dist/model/TransactionRequestEvmLegacyFee.js +1 -2
- package/dist/model/TransactionRequestFee.js +1 -2
- package/dist/model/TransactionSmartContractSafeWalletSource.js +4 -6
- package/dist/model/TransactionSource.js +1 -1
- package/dist/model/TransactionTokeApproval.js +17 -4
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +0 -13
- package/dist/model/TransactionWebhookEventData.js +2 -2
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
- package/dist/model/TriggerTestWebhookEventRequest.js +115 -0
- package/dist/model/WebhookEventData.js +1 -1
- package/docs/AddressBook.md +8 -7
- package/docs/AddressBooksApi.md +71 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -2
- package/docs/ApiLogDetails.md +18 -0
- package/docs/ApiLogSummary.md +13 -0
- package/docs/BabylonStakeEstimatedFee.md +12 -0
- package/docs/BabylonValidator.md +2 -0
- package/docs/CheckAddressChainsValidity200ResponseInner.md +10 -0
- package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
- package/docs/CoboSafeDelegate.md +2 -2
- package/docs/CreateStakeActivityExtra.md +1 -0
- package/docs/CreateUnstakeActivity.md +1 -0
- package/docs/CreateUnstakeActivityExtra.md +10 -0
- package/docs/CreateUnstakeActivityRequest.md +1 -0
- package/docs/DevelopersApi.md +55 -0
- package/docs/DevelopersWebhooksApi.md +53 -0
- package/docs/ErrorResponse.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimateTransferFeeParams.md +2 -2
- package/docs/EstimateUnstakeFee.md +1 -0
- package/docs/EstimatedEvmEip1559FeeSlow.md +1 -1
- package/docs/EstimatedEvmLegacyFeeSlow.md +1 -1
- package/docs/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/EthStakeEstimatedFee.md +11 -0
- package/docs/EthStakeExtra.md +10 -0
- package/docs/EthStakingExtra.md +10 -0
- package/docs/EthUnstakeExtra.md +10 -0
- package/docs/ExchangeId.md +4 -0
- package/docs/ExtendedTokenInfo.md +3 -2
- package/docs/FeeGasLimit.md +1 -1
- package/docs/GetApiKeyInfo200Response.md +30 -0
- package/docs/GetStakingEstimationFee201Response.md +3 -0
- package/docs/GetStakingEstimationFeeRequest.md +1 -1
- package/docs/{GetToken200Response.md → GetToken2XXResponse.md} +1 -1
- package/docs/GetToken4XXResponse.md +1 -1
- package/docs/ListAddressBooks200Response.md +10 -0
- package/docs/MPCDelegate.md +2 -2
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +5 -5
- package/docs/PoolDetailsAllOfValidatorsInfo.md +2 -0
- package/docs/{RefreshToken200Response.md → RefreshToken2XXResponse.md} +1 -1
- package/docs/RoleScopes.md +10 -0
- package/docs/SafeWalletDelegates.md +14 -0
- package/docs/SafeWalletDelegatesContractCall.md +12 -0
- package/docs/SafeWalletDelegatesTransfer.md +12 -0
- package/docs/Scopes.md +13 -0
- package/docs/StakingPoolType.md +2 -0
- package/docs/TokenAssetModelType.md +12 -0
- package/docs/TokenBalanceBalance.md +4 -4
- package/docs/TokenInfo.md +3 -2
- package/docs/Transaction.md +1 -1
- package/docs/TransactionDestination.md +4 -2
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionEvmCalldataInfo.md +16 -0
- package/docs/TransactionEvmContractDestination.md +1 -0
- package/docs/TransactionEvmContractMethod.md +13 -0
- package/docs/TransactionEvmEip1559Fee.md +1 -1
- package/docs/TransactionEvmLegacyFee.md +1 -1
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionRawMessageSignDestination.md +10 -0
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
- package/docs/TransactionRequestEvmLegacyFee.md +1 -1
- package/docs/TransactionRequestFee.md +1 -1
- package/docs/TransactionSmartContractSafeWalletSource.md +1 -1
- package/docs/TransactionSource.md +1 -1
- package/docs/TransactionTokeApproval.md +3 -2
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +0 -1
- package/docs/TransactionWebhookEventData.md +1 -1
- package/docs/TransactionsApi.md +7 -7
- package/docs/TransferDestination.md +2 -2
- package/docs/TriggerTestWebhookEvent201Response.md +9 -0
- package/docs/TriggerTestWebhookEventRequest.md +10 -0
- package/docs/WalletsApi.md +55 -55
- package/docs/WalletsExchangeWalletApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +4 -4
- package/docs/WalletsSmartContractWalletsApi.md +63 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +3 -2
- package/dist/model/BookkeepingRecord.js +0 -243
- package/docs/BookkeepingRecord.md +0 -19
- package/docs/BookkeepingSummary.md +0 -12
- package/docs/WalletBalanceSnapshot.md +0 -10
- package/docs/WalletBalanceSnapshotRecord.md +0 -13
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# CoboWaas2.DevelopersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.dev.cobo.com/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**getApiKeyInfo**](DevelopersApi.md#getApiKeyInfo) | **GET** /developers/api_key_info | Get API key information
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## getApiKeyInfo
|
|
12
|
+
|
|
13
|
+
> GetApiKeyInfo200Response getApiKeyInfo()
|
|
14
|
+
|
|
15
|
+
Get API key information
|
|
16
|
+
|
|
17
|
+
This operation retrieves the details of the API key that you are using.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
23
|
+
// Initialize the API client
|
|
24
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
25
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
26
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
27
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
28
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
29
|
+
// Call the API
|
|
30
|
+
const apiInstance = new CoboWaas2.DevelopersApi();
|
|
31
|
+
apiInstance.getApiKeyInfo().then((data) => {
|
|
32
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
33
|
+
}, (error) => {
|
|
34
|
+
console.error(error);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
This endpoint does not need any parameter.
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
[**GetApiKeyInfo200Response**](GetApiKeyInfo200Response.md)
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
[CoboAuth](../README.md#CoboAuth)
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: Not defined
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|
|
12
12
|
[**listWebhookEventLogs**](DevelopersWebhooksApi.md#listWebhookEventLogs) | **GET** /webhooks/endpoints/{endpoint_id}/events/{event_id}/logs | List webhook event logs
|
|
13
13
|
[**listWebhookEvents**](DevelopersWebhooksApi.md#listWebhookEvents) | **GET** /webhooks/endpoints/{endpoint_id}/events | List all webhook events
|
|
14
14
|
[**retryWebhookEventById**](DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
15
|
+
[**triggerTestWebhookEvent**](DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
15
16
|
[**updateWebhookEndpointById**](DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
16
17
|
|
|
17
18
|
|
|
@@ -450,6 +451,58 @@ Name | Type | Description | Notes
|
|
|
450
451
|
- **Accept**: application/json
|
|
451
452
|
|
|
452
453
|
|
|
454
|
+
## triggerTestWebhookEvent
|
|
455
|
+
|
|
456
|
+
> TriggerTestWebhookEvent201Response triggerTestWebhookEvent(opts)
|
|
457
|
+
|
|
458
|
+
Trigger test event
|
|
459
|
+
|
|
460
|
+
This operation tests the functionality of your webhook endpoint by triggering a test webhook event. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload.
|
|
461
|
+
|
|
462
|
+
### Example
|
|
463
|
+
|
|
464
|
+
```javascript
|
|
465
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
466
|
+
// Initialize the API client
|
|
467
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
468
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
469
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
470
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
471
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
472
|
+
// Call the API
|
|
473
|
+
const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
|
|
474
|
+
const opts = {
|
|
475
|
+
'TriggerTestWebhookEventRequest': new CoboWaas2.TriggerTestWebhookEventRequest()
|
|
476
|
+
};
|
|
477
|
+
apiInstance.triggerTestWebhookEvent(opts).then((data) => {
|
|
478
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
479
|
+
}, (error) => {
|
|
480
|
+
console.error(error);
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
### Parameters
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
Name | Type | Description | Notes
|
|
489
|
+
------------- | ------------- | ------------- | -------------
|
|
490
|
+
**TriggerTestWebhookEventRequest** | [**TriggerTestWebhookEventRequest**](TriggerTestWebhookEventRequest.md)| The request body used to trigger a test webhook event. | [optional]
|
|
491
|
+
|
|
492
|
+
### Return type
|
|
493
|
+
|
|
494
|
+
[**TriggerTestWebhookEvent201Response**](TriggerTestWebhookEvent201Response.md)
|
|
495
|
+
|
|
496
|
+
### Authorization
|
|
497
|
+
|
|
498
|
+
[CoboAuth](../README.md#CoboAuth)
|
|
499
|
+
|
|
500
|
+
### HTTP request headers
|
|
501
|
+
|
|
502
|
+
- **Content-Type**: application/json
|
|
503
|
+
- **Accept**: application/json
|
|
504
|
+
|
|
505
|
+
|
|
453
506
|
## updateWebhookEndpointById
|
|
454
507
|
|
|
455
508
|
> WebhookEndpoint updateWebhookEndpointById(endpoint_id, opts)
|
package/docs/ErrorResponse.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**error_code** | **Number** | The error code. |
|
|
7
|
+
**error_code** | **Number** | The error code. Refer to [Error codes and status codes](/v2/api-references/error-codes) for more details. |
|
|
8
8
|
**error_message** | **String** | The error description. |
|
|
9
9
|
**error_id** | **String** | The error log ID. You can provide the error ID when submitting a ticket to help Cobo to locate the issue. |
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. | [optional]
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**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). |
|
|
10
10
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. | [optional]
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
10
10
|
**token_id** | **String** | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens). |
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. | [optional]
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**source** | [**TransferSource**](TransferSource.md) | |
|
|
10
10
|
**token_id** | **String** | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens). |
|
|
11
|
-
**destination** | [**TransferDestination**](TransferDestination.md) | |
|
|
11
|
+
**destination** | [**TransferDestination**](TransferDestination.md) | | [optional]
|
|
12
12
|
**fee_type** | [**FeeType**](FeeType.md) | | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**staking_id** | **String** | The ID of the corresponding staking position. |
|
|
10
10
|
**amount** | **String** | The amount to unstake. For the Babylon protocol, this property is ignored. | [optional]
|
|
11
11
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
|
|
12
|
+
**extra** | [**CreateUnstakeActivityExtra**](CreateUnstakeActivityExtra.md) | | [optional]
|
|
12
13
|
|
|
13
14
|
|
|
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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
|
-
**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. |
|
|
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. |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
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
|
-
**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. |
|
|
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. |
|
|
9
9
|
|
|
10
10
|
|
package/docs/EstimatedFee.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
8
8
|
**token_id** | **String** | The token ID of the transaction fee. |
|
|
9
|
-
**is_loop** | **Boolean** | Whether the transaction
|
|
9
|
+
**is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
|
|
10
10
|
**fee_amount** | **String** | The fee that you need to pay for the transaction. |
|
|
11
11
|
**slow** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | | [optional]
|
|
12
12
|
**recommended** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | |
|
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**fee_amount** | **String** | The fee that you need to pay for the transaction. |
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
9
|
**token_id** | **String** | The token ID of the transaction fee. |
|
|
10
|
-
**is_loop** | **Boolean** | Whether the transaction
|
|
10
|
+
**is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.EthStakeEstimatedFee
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | | [optional]
|
|
8
|
+
**fee** | [**EstimatedFee**](EstimatedFee.md) | | [optional]
|
|
9
|
+
**validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this staking operation. | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.EthStakeExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
8
|
+
**provider_name** | **String** | The name of the provider. |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.EthStakingExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
8
|
+
**pos_chain** | **String** | The Proof-of-Stake (PoS) chain. |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.EthUnstakeExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
8
|
+
**validator_pubkeys** | **[String]** | A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain. |
|
|
9
|
+
|
|
10
|
+
|
package/docs/ExchangeId.md
CHANGED
|
@@ -15,7 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**fee_token_id** | **String** | The fee token ID. A fee token is the token with which you pay transaction fees. | [optional]
|
|
16
16
|
**can_deposit** | **Boolean** | Whether the token can be deposited. - `true`: The token can be deposited. - `false`: The token cannot be deposited. | [optional] [default to false]
|
|
17
17
|
**can_withdraw** | **Boolean** | Whether the token can be withdrawn. - `true`: The token can be withdrawn. - `false`: The token cannot be withdrawn. | [optional] [default to false]
|
|
18
|
-
**dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop
|
|
19
|
-
**custodial_minimum_deposit_threshold** | **String** | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Loop
|
|
18
|
+
**dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers do not have this limitation. | [optional]
|
|
19
|
+
**custodial_minimum_deposit_threshold** | **String** | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation. | [optional]
|
|
20
|
+
**asset_model_type** | [**TokenAssetModelType**](TokenAssetModelType.md) | | [optional]
|
|
20
21
|
|
|
21
22
|
|
package/docs/FeeGasLimit.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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]
|
|
7
|
+
**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]
|
|
8
8
|
|
|
9
9
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# CoboWaas2.GetApiKeyInfo200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | The API key name. |
|
|
8
|
+
**curve_type** | **String** | The curve type used for the API key, which determines the cryptographic algorithm for key generation and signing. Possible values include: - `ED25519`: Ed25519 - `SECP256K1`: Secp256k1 |
|
|
9
|
+
**key** | **String** | The API key value. |
|
|
10
|
+
**callback_url** | **String** | The URL of the callback endpoint that receives callback messages triggered by this API key. | [optional]
|
|
11
|
+
**valid_ips** | **[String]** | (Applicable to permanent API keys only) The list of IP addresses that are allowed to use this API key. | [optional]
|
|
12
|
+
**created_timestamp** | **Number** | The time when the API key was registered, in Unix timestamp format, measured in milliseconds. |
|
|
13
|
+
**updated_timestamp** | **Number** | The time when the API key information was last updated, in Unix timestamp format, measured in milliseconds. |
|
|
14
|
+
**expired_timestamp** | **Number** | The time when the API key expires, in Unix timestamp format, measured in milliseconds. For permanent API keys, this property value is `null`. | [optional]
|
|
15
|
+
**role_scopes** | [**[RoleScopes]**](RoleScopes.md) | The list of user roles and wallet scopes associated with the API key. | [optional]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Enum: CurveTypeEnum
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* `ED25519` (value: `"ED25519"`)
|
|
23
|
+
|
|
24
|
+
* `SECP256K1` (value: `"SECP256K1"`)
|
|
25
|
+
|
|
26
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | | [optional]
|
|
8
|
+
**fee** | [**EstimatedFee**](EstimatedFee.md) | | [optional]
|
|
9
|
+
**validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this staking operation. | [optional]
|
|
7
10
|
**fee_type** | [**FeeType**](FeeType.md) | | [optional]
|
|
8
11
|
**fee_amount** | **String** | The amount of the estimated fee. | [optional]
|
|
9
12
|
**token_id** | **String** | The token ID of the staking fee. | [optional]
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**pool_id** | **String** | The ID of the staking pool. |
|
|
11
11
|
**amount** | **String** | The amount to withdraw. |
|
|
12
12
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
|
|
13
|
-
**extra** | [**
|
|
13
|
+
**extra** | [**CreateUnstakeActivityExtra**](CreateUnstakeActivityExtra.md) | |
|
|
14
14
|
**staking_id** | **String** | The ID of the corresponding staking position. |
|
|
15
15
|
**address** | **String** | The withdrawal address. |
|
|
16
16
|
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**error** | **String** | The error name. |
|
|
8
|
-
**
|
|
8
|
+
**error_description** | **String** | The error description. |
|
|
9
9
|
|
|
10
10
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListAddressBooks200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[AddressBook]**](AddressBook.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
package/docs/MPCDelegate.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**delegate_type** | [**CoboSafeDelegateType**](CoboSafeDelegateType.md) | |
|
|
8
|
-
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
-
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
8
|
+
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
+
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -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** | The wallet address. | [optional]
|
|
9
|
+
**address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
|
|
10
10
|
**included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
11
11
|
**excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
12
12
|
|
package/docs/OAuthApi.md
CHANGED
|
@@ -11,11 +11,11 @@ Method | HTTP request | Description
|
|
|
11
11
|
|
|
12
12
|
## getToken
|
|
13
13
|
|
|
14
|
-
>
|
|
14
|
+
> GetToken2XXResponse getToken(client_id, org_id, grant_type)
|
|
15
15
|
|
|
16
16
|
Get Org Access Token
|
|
17
17
|
|
|
18
|
-
<Note>This operation is only applicable to Cobo Portal App developers. To call this operation, you need to use the Cobo OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to get an Org Access Token and a Refresh Token with a specified client ID, organization ID, and grant type. Access tokens allow the app to signal to the WaaS service that it has received permission to access specific resources of the app user's [organization](https://manuals.cobo.com/en/portal/organization/introduction). Once the app has been granted permission by the organization's admin, it can use this operation to obtain both an Org Access Token and a Refresh Token. For security purposes, Org Access Tokens expire after a certain period. Once they expire, the app needs to call [Refresh token](/v2/api-references/oauth/refresh-access-token) to get a new Org Access Token and a new Refresh Token.
|
|
18
|
+
<Note>This operation is only applicable to Cobo Portal App developers. To call this operation, you need to use the Cobo OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to get an Org Access Token and a Refresh Token with a specified client ID, organization ID, and grant type. Access tokens allow the app to signal to the WaaS service that it has received permission to access specific resources of the app user's [organization](https://manuals.cobo.com/en/portal/organization/introduction). Once the app has been granted permission by the organization's admin, it can use this operation to obtain both an Org Access Token and a Refresh Token. For security purposes, Org Access Tokens expire after a certain period. Once they expire, the app needs to call [Refresh token](/v2/api-references/oauth/refresh-org-access-token) to get a new Org Access Token and a new Refresh Token.
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
|
51
51
|
|
|
52
52
|
### Return type
|
|
53
53
|
|
|
54
|
-
[**
|
|
54
|
+
[**GetToken2XXResponse**](GetToken2XXResponse.md)
|
|
55
55
|
|
|
56
56
|
### Authorization
|
|
57
57
|
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
|
65
65
|
|
|
66
66
|
## refreshToken
|
|
67
67
|
|
|
68
|
-
>
|
|
68
|
+
> RefreshToken2XXResponse refreshToken(RefreshTokenRequest)
|
|
69
69
|
|
|
70
70
|
Refresh Org Access Token
|
|
71
71
|
|
|
@@ -101,7 +101,7 @@ Name | Type | Description | Notes
|
|
|
101
101
|
|
|
102
102
|
### Return type
|
|
103
103
|
|
|
104
|
-
[**
|
|
104
|
+
[**RefreshToken2XXResponse**](RefreshToken2XXResponse.md)
|
|
105
105
|
|
|
106
106
|
### Authorization
|
|
107
107
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.RoleScopes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**role_name** | **String** | The user role associated with this API key. |
|
|
8
|
+
**scopes** | [**Scopes**](Scopes.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.SafeWalletDelegates
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
8
|
+
**address** | **String** | The address of the recipient. | [optional]
|
|
9
|
+
**value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
|
|
10
|
+
**calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. | [optional]
|
|
11
|
+
**token_id** | **String** | The token ID. |
|
|
12
|
+
**amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.SafeWalletDelegatesContractCall
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
8
|
+
**address** | **String** | The destination address. | [optional]
|
|
9
|
+
**value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
|
|
10
|
+
**calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.SafeWalletDelegatesTransfer
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
8
|
+
**token_id** | **String** | The token ID. |
|
|
9
|
+
**amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
|
|
10
|
+
**address** | **String** | The address of the recipient. | [optional]
|
|
11
|
+
|
|
12
|
+
|
package/docs/Scopes.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.Scopes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**wallet_types** | [**[WalletType]**](WalletType.md) | The list of wallet types that this API key can access. Possible values include: - `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]
|
|
8
|
+
**wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | The list of wallet sub-types that this API key can access. Possible values include: - `Asset`: Custodial Wallets (Asset Wallets). - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets). - `User-Controlled`: MPC Wallets (User-Controlled Wallets). - `Safe{Wallet}`: Smart Contract Wallets (Safe). - `Main`: Exchange Wallets (Main Account). - `Sub`: Exchange Wallets (Sub Account). | [optional]
|
|
9
|
+
**wallet_ids** | **[String]** | The list of wallet IDs that this API key can access. | [optional]
|
|
10
|
+
**vault_ids** | **[String]** | (Applicable to MPC Wallets only) The list of vault IDs that this API key can access. | [optional]
|
|
11
|
+
**project_ids** | **[String]** | (Applicable to MPC Wallets only) The list of project IDs that this API key can access. | [optional]
|
|
12
|
+
|
|
13
|
+
|
package/docs/StakingPoolType.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**total** | **String** | The
|
|
8
|
-
**available** | **String** | The
|
|
9
|
-
**pending** | **String** | The
|
|
10
|
-
**locked** | **String** |
|
|
7
|
+
**total** | **String** | The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
8
|
+
**available** | **String** | The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
9
|
+
**pending** | **String** | The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
10
|
+
**locked** | **String** | For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
11
11
|
|
|
12
12
|
|
package/docs/TokenInfo.md
CHANGED
|
@@ -15,7 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**fee_token_id** | **String** | The fee token ID. A fee token is the token with which you pay transaction fees. | [optional]
|
|
16
16
|
**can_deposit** | **Boolean** | Whether deposits are enabled for this token. | [optional]
|
|
17
17
|
**can_withdraw** | **Boolean** | Whether withdrawals are enabled for this token. | [optional]
|
|
18
|
-
**dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop
|
|
19
|
-
**custodial_minimum_deposit_threshold** | **String** | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Loop
|
|
18
|
+
**dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers do not have this limitation. | [optional]
|
|
19
|
+
**custodial_minimum_deposit_threshold** | **String** | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation. | [optional]
|
|
20
|
+
**asset_model_type** | [**TokenAssetModelType**](TokenAssetModelType.md) | | [optional]
|
|
20
21
|
|
|
21
22
|
|
package/docs/Transaction.md
CHANGED
|
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
|
|
30
30
|
**category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
|
|
31
31
|
**description** | **String** | The description for your transaction. | [optional]
|
|
32
|
-
**is_loop** | **Boolean** | Whether the transaction
|
|
32
|
+
**is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
|
|
33
33
|
**created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
34
34
|
**updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
35
35
|
|