@cobo/cobo-waas2 1.1.1 → 1.2.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.
Files changed (183) hide show
  1. package/README.md +16 -3
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/OAuthApi.js +16 -15
  4. package/dist/api/TransactionsApi.js +18 -18
  5. package/dist/api/WalletsApi.js +123 -12
  6. package/dist/api/WalletsExchangeWalletApi.js +254 -0
  7. package/dist/api/WalletsMPCWalletsApi.js +8 -8
  8. package/dist/index.js +56 -0
  9. package/dist/model/Activity.js +3 -1
  10. package/dist/model/AddressInfo.js +1 -1
  11. package/dist/model/AddressTransferDestination.js +6 -4
  12. package/dist/model/AddressTransferDestinationAccountOutput.js +2 -2
  13. package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +1 -1
  14. package/dist/model/AssetBalance.js +3 -1
  15. package/dist/model/AssetInfo.js +2 -2
  16. package/dist/model/BabylonStakeExtra.js +9 -0
  17. package/dist/model/CheckAddressValidity200Response.js +2 -2
  18. package/dist/model/CheckAddressesValidity200ResponseInner.js +121 -0
  19. package/dist/model/CheckLoopTransfers200ResponseInner.js +96 -0
  20. package/dist/model/CoboSafeDelegate.js +3 -3
  21. package/dist/model/ContractCallDestination.js +4 -4
  22. package/dist/model/ContractCallParams.js +9 -3
  23. package/dist/model/ContractCallSource.js +6 -6
  24. package/dist/model/CreateSafeWalletParams.js +3 -1
  25. package/dist/model/CreateSmartContractWalletParams.js +3 -3
  26. package/dist/model/CreateStakeActivity.js +23 -4
  27. package/dist/model/CreateStakeActivityExtra.js +15 -9
  28. package/dist/model/CreateTssRequestRequest.js +16 -1
  29. package/dist/model/CreateUnstakeActivity.js +16 -1
  30. package/dist/model/CreateWalletParams.js +9 -9
  31. package/dist/model/CreateWithdrawActivity.js +16 -1
  32. package/dist/model/CreatedWalletInfo.js +21 -9
  33. package/dist/model/EstimateContractCallFeeParams.js +6 -2
  34. package/dist/model/EstimateFeeParams.js +6 -6
  35. package/dist/model/EstimateStakeFee.js +28 -4
  36. package/dist/model/EstimateTransferFeeParams.js +6 -2
  37. package/dist/model/EstimateUnstakeFee.js +21 -1
  38. package/dist/model/EstimateWithdrawFee.js +21 -1
  39. package/dist/model/EstimatedEvmEip1559Fee.js +9 -3
  40. package/dist/model/EstimatedEvmLegacyFee.js +9 -3
  41. package/dist/model/EstimatedFee.js +12 -12
  42. package/dist/model/EstimatedUtxoFee.js +9 -3
  43. package/dist/model/EvmContractCallDestination.js +1 -1
  44. package/dist/model/EvmEip1559FeeRate.js +9 -3
  45. package/dist/model/EvmLegacyFeeRate.js +9 -3
  46. package/dist/model/ExchangeId.js +5 -0
  47. package/dist/model/ExchangeTransferDestination.js +16 -16
  48. package/dist/model/ExchangeTransferSource.js +14 -14
  49. package/dist/model/FeeRate.js +12 -12
  50. package/dist/model/GetToken200Response.js +4 -4
  51. package/dist/model/KeyShareHolder.js +13 -0
  52. package/dist/model/ListAddresses200Response.js +3 -1
  53. package/dist/model/ListAssetBalancesForExchangeWallet200Response.js +123 -0
  54. package/dist/model/ListExchanges200ResponseInner.js +122 -0
  55. package/dist/model/ListKeyShareHolderGroups200Response.js +3 -1
  56. package/dist/model/ListMpcProjects200Response.js +3 -1
  57. package/dist/model/ListMpcVaults200Response.js +3 -1
  58. package/dist/model/ListSupportedAssetsForExchange200Response.js +123 -0
  59. package/dist/model/ListSupportedChains200Response.js +3 -1
  60. package/dist/model/ListSupportedTokens200Response.js +3 -1
  61. package/dist/model/ListTokenBalancesForAddress200Response.js +3 -1
  62. package/dist/model/ListTransactions200Response.js +3 -1
  63. package/dist/model/ListTssRequests200Response.js +3 -1
  64. package/dist/model/ListUtxos200Response.js +3 -1
  65. package/dist/model/ListWallets200Response.js +3 -1
  66. package/dist/model/ListWebhookEndpoints200Response.js +3 -1
  67. package/dist/model/ListWebhookEventLogs200Response.js +3 -1
  68. package/dist/model/ListWebhookEvents200Response.js +3 -1
  69. package/dist/model/MPCWalletInfo.js +26 -0
  70. package/dist/model/MaxTransferableValue.js +3 -1
  71. package/dist/model/MessageSignDestination.js +6 -6
  72. package/dist/model/MessageSignParams.js +6 -2
  73. package/dist/model/MessageSignSource.js +3 -3
  74. package/dist/model/PoolDetailsAllOfValidatorsInfo.js +6 -6
  75. package/dist/model/RefreshToken200Response.js +135 -0
  76. package/dist/model/RefreshTokenRequest.js +2 -2
  77. package/dist/model/SafeContractCallSource.js +3 -1
  78. package/dist/model/SafeTransferSource.js +3 -1
  79. package/dist/model/SafeWallet.js +3 -1
  80. package/dist/model/SmartContractWalletInfo.js +3 -3
  81. package/dist/model/SmartContractWalletType.js +2 -2
  82. package/dist/model/StakingSource.js +6 -6
  83. package/dist/model/Stakings.js +3 -1
  84. package/dist/model/SubWalletAssetBalance.js +13 -11
  85. package/dist/model/TSSRequest.js +26 -2
  86. package/dist/model/TSSRequestWebhookEventData.js +263 -0
  87. package/dist/model/TokenBalance.js +3 -1
  88. package/dist/model/Transaction.js +21 -7
  89. package/dist/model/TransactionDepositFromWalletSource.js +6 -6
  90. package/dist/model/TransactionDepositToAddressDestination.js +2 -2
  91. package/dist/model/TransactionDepositToWalletDestination.js +9 -9
  92. package/dist/model/TransactionDestination.js +26 -26
  93. package/dist/model/TransactionDetail.js +21 -7
  94. package/dist/model/TransactionDetails.js +24 -8
  95. package/dist/model/TransactionEvmContractDestination.js +1 -1
  96. package/dist/model/TransactionExchangeWalletSource.js +6 -6
  97. package/dist/model/TransactionFee.js +12 -12
  98. package/dist/model/TransactionMPCWalletSource.js +13 -0
  99. package/dist/model/TransactionRbf.js +6 -2
  100. package/dist/model/TransactionRbfSource.js +3 -3
  101. package/dist/model/TransactionRequestFee.js +12 -12
  102. package/dist/model/TransactionResult.js +3 -3
  103. package/dist/model/TransactionSmartContractSafeWalletSource.js +3 -1
  104. package/dist/model/TransactionSource.js +29 -23
  105. package/dist/model/TransactionSubStatus.js +5 -0
  106. package/dist/model/TransactionTransferToAddressDestination.js +3 -1
  107. package/dist/model/TransactionTransferToAddressDestinationAccountOutput.js +1 -1
  108. package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +1 -1
  109. package/dist/model/TransactionTransferToWalletDestination.js +9 -9
  110. package/dist/model/TransactionWebhookEventData.js +29 -10
  111. package/dist/model/TransferDestination.js +12 -12
  112. package/dist/model/TransferParams.js +11 -5
  113. package/dist/model/TransferSource.js +15 -15
  114. package/dist/model/UpdateWalletParams.js +12 -12
  115. package/dist/model/UtxoFeeRate.js +9 -3
  116. package/dist/model/WalletInfo.js +24 -12
  117. package/dist/model/WebhookEvent.js +3 -1
  118. package/dist/model/WebhookEventData.js +52 -18
  119. package/dist/model/WebhookEventDataType.js +7 -2
  120. package/dist/model/WebhookEventLog.js +3 -1
  121. package/dist/model/WebhookEventType.js +24 -4
  122. package/docs/AddressInfo.md +1 -1
  123. package/docs/AddressTransferDestination.md +2 -2
  124. package/docs/AddressTransferDestinationAccountOutput.md +1 -1
  125. package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -1
  126. package/docs/AssetInfo.md +1 -1
  127. package/docs/BabylonStakeExtra.md +1 -0
  128. package/docs/CheckAddressValidity200Response.md +1 -1
  129. package/docs/CheckAddressesValidity200ResponseInner.md +10 -0
  130. package/docs/CheckLoopTransfers200ResponseInner.md +10 -0
  131. package/docs/ContractCallDestination.md +1 -1
  132. package/docs/CreateStakeActivity.md +1 -0
  133. package/docs/CreateStakeActivityExtra.md +1 -0
  134. package/docs/CreateTssRequestRequest.md +1 -0
  135. package/docs/CreateUnstakeActivity.md +1 -0
  136. package/docs/CreateWithdrawActivity.md +1 -0
  137. package/docs/CreatedWalletInfo.md +2 -0
  138. package/docs/DevelopersWebhooksApi.md +78 -69
  139. package/docs/EstimateStakeFee.md +1 -0
  140. package/docs/EstimateUnstakeFee.md +1 -0
  141. package/docs/EstimateWithdrawFee.md +1 -0
  142. package/docs/EvmContractCallDestination.md +1 -1
  143. package/docs/ExchangeId.md +2 -0
  144. package/docs/ExchangeTransferDestination.md +2 -2
  145. package/docs/ExchangeTransferSource.md +1 -1
  146. package/docs/GetToken200Response.md +4 -4
  147. package/docs/KeyShareHolder.md +1 -0
  148. package/docs/ListAssetBalancesForExchangeWallet200Response.md +10 -0
  149. package/docs/ListExchanges200ResponseInner.md +10 -0
  150. package/docs/ListSupportedAssetsForExchange200Response.md +10 -0
  151. package/docs/MPCWalletInfo.md +2 -0
  152. package/docs/OAuthApi.md +26 -24
  153. package/docs/RefreshToken200Response.md +13 -0
  154. package/docs/RefreshTokenRequest.md +2 -2
  155. package/docs/SmartContractWalletType.md +1 -1
  156. package/docs/SubWalletAssetBalance.md +2 -2
  157. package/docs/TSSRequest.md +2 -0
  158. package/docs/TSSRequestWebhookEventData.md +29 -0
  159. package/docs/TransactionDepositFromWalletSource.md +1 -1
  160. package/docs/TransactionDepositToAddressDestination.md +1 -1
  161. package/docs/TransactionDepositToWalletDestination.md +2 -2
  162. package/docs/TransactionDestination.md +3 -3
  163. package/docs/TransactionEvmContractDestination.md +1 -1
  164. package/docs/TransactionExchangeWalletSource.md +1 -1
  165. package/docs/TransactionMPCWalletSource.md +1 -0
  166. package/docs/TransactionSource.md +2 -1
  167. package/docs/TransactionSubStatus.md +2 -0
  168. package/docs/TransactionTransferToAddressDestinationAccountOutput.md +1 -1
  169. package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +1 -1
  170. package/docs/TransactionTransferToWalletDestination.md +2 -2
  171. package/docs/TransactionWebhookEventData.md +3 -1
  172. package/docs/TransactionsApi.md +98 -88
  173. package/docs/TransferDestination.md +4 -4
  174. package/docs/TransferParams.md +1 -1
  175. package/docs/TransferSource.md +1 -1
  176. package/docs/WalletInfo.md +2 -0
  177. package/docs/WalletsApi.md +316 -187
  178. package/docs/WalletsExchangeWalletApi.md +230 -0
  179. package/docs/WalletsMPCWalletsApi.md +153 -135
  180. package/docs/WebhookEventData.md +10 -5
  181. package/docs/WebhookEventDataType.md +3 -1
  182. package/docs/WebhookEventType.md +12 -4
  183. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListSupportedAssetsForExchange200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[AssetInfo]**](AssetInfo.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
10
10
  **name** | **String** | The wallet name. |
11
11
  **org_id** | **String** | The ID of the owning organization. |
12
12
  **project_id** | **String** | The project ID. | [optional]
13
+ **project_name** | **String** | The project name. | [optional]
13
14
  **vault_id** | **String** | The ID of the owning vault. |
15
+ **vault_name** | **String** | The vault name. | [optional]
14
16
 
15
17
 
package/docs/OAuthApi.md CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.dev.cobo.com/v2*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**getToken**](OAuthApi.md#getToken) | **GET** /oauth/token | Get Access Token
8
- [**refreshToken**](OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Access Token
7
+ [**getToken**](OAuthApi.md#getToken) | **GET** /oauth/token | Get access token
8
+ [**refreshToken**](OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh access token
9
9
 
10
10
 
11
11
 
@@ -13,24 +13,25 @@ Method | HTTP request | Description
13
13
 
14
14
  > GetToken200Response getToken(client_id, org_id, grant_type)
15
15
 
16
- Get Access Token
16
+ Get 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 OAuth authentication method that requires an App Key.</Note> This operation allows Cobo Portal Apps to get an access token and a refresh token with a specified App ID, Org ID, and grant type. Access tokens allow the app to signal to the WaaS service that it has received permission from the organization admin to access specific resources. Once the app has been granted permission by an organization admin, it can use this operation to obtain both an access token and a refresh token. For security purposes, access tokens expire after a certain period. Once they expire, the app need to [Refresh token](/v2/api-references/oauth/refresh-access-token) to get a new access token and a new fresh token.
18
+ <Note>This operation is only applicable to Cobo Portal App developers. To call this operation, you need to use the OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to get an access token and a refresh token with a specified App 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 access token and a refresh token. For security purposes, 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 access token and a new refresh token.
19
19
 
20
20
  ### Example
21
21
 
22
22
  ```javascript
23
23
  const CoboWaas2 = require('@cobo/cobo-waas2');
24
- // initial default api client
24
+ // Initialize the API client
25
25
  const apiClient = CoboWaas2.ApiClient.instance
26
- // for dev env
27
- // apiClient.setEnv(CoboWaas2.Env.DEV);
28
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
29
- // call api
26
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
27
+ apiClient.setEnv(CoboWaas2.Env.DEV);
28
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
29
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
30
+ // Call the API
30
31
  const apiInstance = new CoboWaas2.OAuthApi();
31
- const client_id = "pvSwS8iFrfK0oZrB0ugG54XPDOLEv0Ij"; // String | The App ID, a unique identifier to distinguish Cobo Portal Apps. You can get the App ID by retrieving the Manifest file after receiving the notification of app launch approval.
32
- const org_id = "e3986401-4aec-480a-973d-e775a4518413"; // String | Org ID, a unique identifier to distinguish different organizations. You can get the Org ID by retrieving the Manifest file after receiving the notification of app launch approval.
33
- const grant_type = "org_implicit"; // String | The type of the permission granting. To get an access token, you need to set the value as `org_implicit`.
32
+ const client_id = "pvSwS8iFrfK0oZrB0ugG54XPDOLEv0Ij";
33
+ const org_id = "e3986401-4aec-480a-973d-e775a4518413";
34
+ const grant_type = "org_implicit";
34
35
  apiInstance.getToken(client_id, org_id, grant_type).then((data) => {
35
36
  console.log('API called successfully. Returned data: ' + data);
36
37
  }, (error) => {
@@ -45,8 +46,8 @@ apiInstance.getToken(client_id, org_id, grant_type).then((data) => {
45
46
  Name | Type | Description | Notes
46
47
  ------------- | ------------- | ------------- | -------------
47
48
  **client_id** | **String**| The App ID, a unique identifier to distinguish Cobo Portal Apps. You can get the App ID by retrieving the Manifest file after receiving the notification of app launch approval. |
48
- **org_id** | **String**| Org ID, a unique identifier to distinguish different organizations. You can get the Org ID by retrieving the Manifest file after receiving the notification of app launch approval. |
49
- **grant_type** | **String**| The type of the permission granting. To get an access token, you need to set the value as &#x60;org_implicit&#x60;. |
49
+ **org_id** | **String**| Organization ID, a unique identifier to distinguish different organizations. You can get the Organization ID by retrieving the Manifest file after receiving the notification of app launch approval. |
50
+ **grant_type** | **String**| The OAuth grant type. Set the value as &#x60;org_implicit&#x60;. |
50
51
 
51
52
  ### Return type
52
53
 
@@ -64,24 +65,25 @@ Name | Type | Description | Notes
64
65
 
65
66
  ## refreshToken
66
67
 
67
- > GetToken200Response refreshToken(RefreshTokenRequest)
68
+ > RefreshToken200Response refreshToken(RefreshTokenRequest)
68
69
 
69
- Refresh Access Token
70
+ Refresh access token
70
71
 
71
- &lt;Note&gt;This operation is only applicable to Cobo Portal Apps developers. To call this operation, you need to use the OAuth authentication method that requires an App Key.&lt;/Note&gt; This operation allows Cobo Portal Apps to obtain a new access token with a specified App ID, grant type and a refresh token. For security purposes, access tokens expire after a certain period. Once they expire, the app need to use this operation to get a new access token and a new fresh token.
72
+ &lt;Note&gt;This operation is only applicable to Cobo Portal Apps developers. To call this operation, you need to use the OAuth authentication method that requires an app key.&lt;/Note&gt; This operation allows Cobo Portal Apps to obtain a new access token with a specified App ID, grant type and a refresh token. For security purposes, access tokens expire after a certain period. Once they expire, the app needs to call this operation to get a new access token and a new refresh token.
72
73
 
73
74
  ### Example
74
75
 
75
76
  ```javascript
76
77
  const CoboWaas2 = require('@cobo/cobo-waas2');
77
- // initial default api client
78
+ // Initialize the API client
78
79
  const apiClient = CoboWaas2.ApiClient.instance
79
- // for dev env
80
- // apiClient.setEnv(CoboWaas2.Env.DEV);
81
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
82
- // call api
80
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
81
+ apiClient.setEnv(CoboWaas2.Env.DEV);
82
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
83
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
84
+ // Call the API
83
85
  const apiInstance = new CoboWaas2.OAuthApi();
84
- const RefreshTokenRequest = new CoboWaas2.RefreshTokenRequest(); // RefreshTokenRequest | The request body for refreshing an access token.
86
+ const RefreshTokenRequest = new CoboWaas2.RefreshTokenRequest();
85
87
  apiInstance.refreshToken(RefreshTokenRequest).then((data) => {
86
88
  console.log('API called successfully. Returned data: ' + data);
87
89
  }, (error) => {
@@ -99,7 +101,7 @@ Name | Type | Description | Notes
99
101
 
100
102
  ### Return type
101
103
 
102
- [**GetToken200Response**](GetToken200Response.md)
104
+ [**RefreshToken200Response**](RefreshToken200Response.md)
103
105
 
104
106
  ### Authorization
105
107
 
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.RefreshToken200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **access_token** | **String** | The new access token. | [optional]
8
+ **token_type** | **String** | The type of the tokens, which is Bearer. | [optional]
9
+ **scope** | **String** | The scope of the access token to limit the app&#39;s access to the organization&#39;s resources. **Note**: Currently this property value is empty. The scope of the access token is based on the permissions granted when the app user installs the app. | [optional]
10
+ **expires_in** | **Number** | The time in seconds in which the new access token expires. | [optional]
11
+ **refresh_token** | **String** | The refresh token, used to obtain another access token when the new access token expires. | [optional]
12
+
13
+
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **client_id** | **String** | The App ID, a unique identifier to distinguish Cobo Portal Apps. You can get the App ID by retrieving the Manifest file after receiving the notification of app launch approval. | [optional]
8
- **grant_type** | **String** | The type of the permission granting. To refresh an access token, you need to set the value as &#x60;refresh_token&#x60;. | [optional]
9
- **refresh_token** | **String** | The refresh token of the expired or expiring access token. | [optional]
8
+ **grant_type** | **String** | The OAuth grant type. Set the value as &#x60;refresh_token&#x60;. | [optional]
9
+ **refresh_token** | **String** | The refresh token of the current access token. | [optional]
10
10
 
11
11
 
@@ -3,7 +3,7 @@
3
3
  ## Enum
4
4
 
5
5
 
6
- * `SafeWallet` (value: `"SafeWallet"`)
6
+ * `Safe{Wallet}` (value: `"Safe{Wallet}"`)
7
7
 
8
8
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
9
9
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **sub_wallet_id** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
8
- **asset_id** | **String** | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. |
7
+ **trading_account_type** | **String** | The trading account type. | [optional]
8
+ **asset_id** | **String** | The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. |
9
9
  **balance** | [**TokenBalanceBalance**](TokenBalanceBalance.md) | |
10
10
 
11
11
 
@@ -9,5 +9,7 @@ Name | Type | Description | Notes
9
9
  **target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
10
10
  **type** | [**TSSRequestType**](TSSRequestType.md) | | [optional]
11
11
  **status** | [**TSSRequestStatus**](TSSRequestStatus.md) | | [optional]
12
+ **description** | **String** | The description of the TSS request. | [optional]
13
+ **created_timestamp** | **Number** | The TSS request&#39;s creation time in Unix timestamp format, measured in milliseconds. | [optional]
12
14
 
13
15
 
@@ -0,0 +1,29 @@
1
+ # CoboWaas2.TSSRequestWebhookEventData
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. |
8
+ **tss_request_id** | **String** | The TSS request ID. | [optional]
9
+ **source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
10
+ **target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
11
+ **type** | [**TSSRequestType**](TSSRequestType.md) | | [optional]
12
+ **status** | [**TSSRequestStatus**](TSSRequestStatus.md) | | [optional]
13
+ **description** | **String** | The description of the TSS request. | [optional]
14
+ **created_timestamp** | **Number** | The TSS request&#39;s creation time in Unix timestamp format, measured in milliseconds. | [optional]
15
+
16
+
17
+
18
+ ## Enum: DataTypeEnum
19
+
20
+
21
+ * `Transaction` (value: `"Transaction"`)
22
+
23
+ * `TSSRequest` (value: `"TSSRequest"`)
24
+
25
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
26
+
27
+
28
+
29
+
@@ -8,6 +8,6 @@ Name | Type | Description | Notes
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **wallet_type** | [**WalletType**](WalletType.md) | |
10
10
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
11
- **sub_wallet_id** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
11
+ **trading_account_type** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
12
12
 
13
13
 
@@ -10,6 +10,6 @@ Name | Type | Description | Notes
10
10
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | | [optional]
11
11
  **address** | **String** | The destination address. |
12
12
  **memo** | **String** | The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. | [optional]
13
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
13
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
14
14
 
15
15
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **wallet_type** | [**WalletType**](WalletType.md) | |
10
10
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
11
- **sub_wallet_id** | **String** | The exchange trading account or the sub-wallet ID. | [optional]
11
+ **trading_account_type** | **String** | The trading account type. | [optional]
12
12
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
13
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
13
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
14
14
 
15
15
 
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
11
11
  **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request may not be executed as a Loop transfer. | [optional]
12
12
  **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction request must not be executed as a Loop transfer. - &#x60;false&#x60;: The transaction request can be executed as a Loop transfer. | [optional]
13
13
  **wallet_id** | **String** | The wallet ID. |
14
- **sub_wallet_id** | **String** | The exchange trading account or the sub-wallet ID. | [optional]
14
+ **trading_account_type** | **String** | The trading account type. | [optional]
15
15
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
16
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
16
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
17
17
  **address** | **String** | The destination address. |
18
- **value** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
18
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
19
19
  **calldata** | **Blob** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
20
20
  **message** | **String** | The raw data of the message to be signed, encoded in Base64 format. |
21
21
  **structured_data** | **{String: Object}** | The structured data to be signed, formatted as a JSON object according to the EIP-712 standard. |
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
8
8
  **address** | **String** | The destination address. |
9
- **value** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
9
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
10
10
  **calldata** | **Blob** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
11
 
12
12
 
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **source_type** | [**TransactionSourceType**](TransactionSourceType.md) | |
8
8
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
9
9
  **wallet_id** | **String** | The wallet ID. |
10
- **sub_wallet_id** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
10
+ **trading_account_type** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
11
11
 
12
12
 
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
9
9
  **address** | **String** | The wallet address. | [optional]
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
+ **signer_key_share_holder_group_id** | **String** | The ID of the key share holder group that is selected to sign the transaction. | [optional]
12
13
 
13
14
 
@@ -9,9 +9,10 @@ Name | Type | Description | Notes
9
9
  **address** | **String** | The wallet address. |
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
+ **signer_key_share_holder_group_id** | **String** | The ID of the key share holder group that is selected to sign the transaction. | [optional]
12
13
  **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
13
14
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
14
- **sub_wallet_id** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
15
+ **trading_account_type** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
15
16
  **wallet_type** | [**WalletType**](WalletType.md) | |
16
17
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
17
18
  **addresses** | **[String]** | A list of addresses. |
@@ -31,6 +31,8 @@
31
31
 
32
32
  * `PendingWaitSigner` (value: `"PendingWaitSigner"`)
33
33
 
34
+ * `PendingApprovalStart` (value: `"PendingApprovalStart"`)
35
+
34
36
  * `FailedBySigner` (value: `"FailedBySigner"`)
35
37
 
36
38
  * `FailedBroadcasting` (value: `"FailedBroadcasting"`)
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. | [optional]
8
8
  **memo** | **String** | The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. | [optional]
9
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
9
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
10
10
 
11
11
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. | [optional]
8
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
8
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. | [optional]
9
9
  **script** | **String** | The script of the output. It is a programmable code fragment that defines the conditions under which the UTXO can be spent. | [optional]
10
10
 
11
11
 
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **sub_wallet_id** | **String** | The exchange trading account or the sub-wallet ID. | [optional]
9
+ **trading_account_type** | **String** | The trading account type. | [optional]
10
10
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
11
- **amount** | **String** | The quantity of the token in the transaction. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
11
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
12
12
 
13
13
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. When &#x60;data_type&#x60; is &#x60;Transaction&#x60;, it means the event uses the &#x60;transaction&#x60; schema as its data type. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: 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]
@@ -41,6 +41,8 @@ Name | Type | Description | Notes
41
41
 
42
42
  * `Transaction` (value: `"Transaction"`)
43
43
 
44
+ * `TSSRequest` (value: `"TSSRequest"`)
45
+
44
46
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
45
47
 
46
48