@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
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
33
33
  * Constructs a new <code>WebhookEventDataType</code>.
34
34
  * The data type of the event.
35
35
  * @alias module:model/WebhookEventDataType
36
- * @param data_type {module:model/WebhookEventDataType.DataTypeEnum} The data type of the event. When `data_type` is `Transaction`, it means the event uses the `transaction` schema as its data type.
36
+ * @param data_type {module:model/WebhookEventDataType.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data.
37
37
  */
38
38
  function WebhookEventDataType(data_type) {
39
39
  _classCallCheck(this, WebhookEventDataType);
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
104
104
  WebhookEventDataType.RequiredProperties = ["data_type"];
105
105
 
106
106
  /**
107
- * The data type of the event. When `data_type` is `Transaction`, it means the event uses the `transaction` schema as its data type.
107
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data.
108
108
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
109
109
  */
110
110
  WebhookEventDataType.prototype['data_type'] = undefined;
@@ -120,6 +120,11 @@ WebhookEventDataType['DataTypeEnum'] = {
120
120
  * @const
121
121
  */
122
122
  "Transaction": "Transaction",
123
+ /**
124
+ * value: "TSSRequest"
125
+ * @const
126
+ */
127
+ "TSSRequest": "TSSRequest",
123
128
  /**
124
129
  * value: "unknown_default_open_api"
125
130
  * @const
@@ -133,7 +133,9 @@ var WebhookEventLog = /*#__PURE__*/function () {
133
133
  // validate the optional field `request_body`
134
134
  if (data['request_body']) {
135
135
  // data not null
136
- _WebhookEvent["default"].validateJSON(data['request_body']);
136
+ if (!!_WebhookEvent["default"].validateJSON) {
137
+ _WebhookEvent["default"].validateJSON(data['request_body']);
138
+ }
137
139
  }
138
140
  // ensure the json data is a string
139
141
  if (data['response_body'] && !(typeof data['response_body'] === 'string' || data['response_body'] instanceof String)) {
@@ -34,22 +34,42 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
34
34
  * value: "wallets.transaction.created"
35
35
  * @const
36
36
  */
37
- _defineProperty(this, "created", "wallets.transaction.created");
37
+ _defineProperty(this, "transaction.created", "wallets.transaction.created");
38
38
  /**
39
39
  * value: "wallets.transaction.updated"
40
40
  * @const
41
41
  */
42
- _defineProperty(this, "updated", "wallets.transaction.updated");
42
+ _defineProperty(this, "transaction.updated", "wallets.transaction.updated");
43
43
  /**
44
44
  * value: "wallets.transaction.failed"
45
45
  * @const
46
46
  */
47
- _defineProperty(this, "failed", "wallets.transaction.failed");
47
+ _defineProperty(this, "transaction.failed", "wallets.transaction.failed");
48
48
  /**
49
49
  * value: "wallets.transaction.succeeded"
50
50
  * @const
51
51
  */
52
- _defineProperty(this, "succeeded", "wallets.transaction.succeeded");
52
+ _defineProperty(this, "transaction.succeeded", "wallets.transaction.succeeded");
53
+ /**
54
+ * value: "wallets.mpc.tss_request.created"
55
+ * @const
56
+ */
57
+ _defineProperty(this, "mpc.tss_request.created", "wallets.mpc.tss_request.created");
58
+ /**
59
+ * value: "wallets.mpc.tss_request.updated"
60
+ * @const
61
+ */
62
+ _defineProperty(this, "mpc.tss_request.updated", "wallets.mpc.tss_request.updated");
63
+ /**
64
+ * value: "wallets.mpc.tss_request.failed"
65
+ * @const
66
+ */
67
+ _defineProperty(this, "mpc.tss_request.failed", "wallets.mpc.tss_request.failed");
68
+ /**
69
+ * value: "wallets.mpc.tss_request.succeeded"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "mpc.tss_request.succeeded", "wallets.mpc.tss_request.succeeded");
53
73
  /**
54
74
  * value: "unknown_default_open_api"
55
75
  * @const
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **address** | **String** | The wallet address. |
8
8
  **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). |
9
9
  **memo** | **String** | The memo code. | [optional]
10
- **path** | **String** | The derivation path of the address. This property applies to MPC Wallets only. | [optional]
10
+ **path** | **String** | The derivation path of the address. This property applies to MPC Wallets only. To learn the meaning of each level in the path, see [Path levels](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#path-levels). | [optional]
11
11
  **encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
12
12
  **pubkey** | **String** | The public key of the address. This property applies to MPC Wallets only. | [optional]
13
13
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**AddressTransferDestinationAccountOutput**](AddressTransferDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
- **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
- **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]
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. &lt;Note&gt;Please do not set both &#x60;force_internal&#x60; and &#x60;force_internal&#x60; as &#x60;true&#x60;.&lt;/Note&gt; | [optional]
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. &lt;Note&gt;Please do not set both &#x60;force_internal&#x60; and &#x60;force_internal&#x60; as &#x60;true&#x60;.&lt;/Note&gt; | [optional]
13
13
 
14
14
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. |
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;. |
9
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
10
10
 
11
11
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The destination address. |
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
 
package/docs/AssetInfo.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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
+ **asset_id** | **String** | The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. |
8
8
  **display_code** | **String** | The asset symbol. You can use the value for display purposes. | [optional]
9
9
  **description** | **String** | The description of the asset. | [optional]
10
10
  **icon_url** | **String** | The URL of the asset icon. | [optional]
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of finality provider. |
9
9
  **stake_block_time** | **Number** | The stake block time. |
10
+ **only_sign** | **Boolean** | Whether to only sign transactions. Default is &#x60;false&#x60;, if set to &#x60;true&#x60;, the transaction will not be submitted to the blockchain automatically. You can call &#x60;Broadcast transactions&#x60; to submit the transaction to the blockchain, Or you can find the signed raw_tx by &#x60;Get transaction information&#x60; and broadcast it yourself. | [optional]
10
11
 
11
12
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: the address is invalid. |
7
+ **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: The address is invalid. |
8
8
 
9
9
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CheckAddressesValidity200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. |
8
+ **validity** | **Boolean** | Whether the address is valid. - &#x60;true&#x60;: The address is valid. - &#x60;false&#x60;: The address is invalid. |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CheckLoopTransfers200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. | [optional]
8
+ **is_loop** | **Boolean** | Whether the transaction from the given source wallet to the destination address can be executed as a Loop transfer. - &#x60;true&#x60;: The transaction can be executed as a Loop transfer. - &#x60;false&#x60;: The transaction cannot be executed as a Loop transfer. | [optional]
9
+
10
+
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.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
 
@@ -4,6 +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 request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **source** | [**StakingSource**](StakingSource.md) | | [optional]
8
9
  **pool_id** | **String** | The id of the staking pool |
9
10
  **amount** | **String** | The amount to stake |
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of finality provider. |
9
9
  **stake_block_time** | **Number** | The stake block time. |
10
+ **only_sign** | **Boolean** | Whether to only sign transactions. Default is &#x60;false&#x60;, if set to &#x60;true&#x60;, the transaction will not be submitted to the blockchain automatically. You can call &#x60;Broadcast transactions&#x60; to submit the transaction to the blockchain, Or you can find the signed raw_tx by &#x60;Get transaction information&#x60; and broadcast it yourself. | [optional]
10
11
  **operator** | **String** | The operator address. | [optional]
11
12
  **fee_recipient** | **Number** | The fee recipient address, if not provided the staker address will be used. | [optional]
12
13
 
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **type** | [**TSSRequestType**](TSSRequestType.md) | |
8
8
  **target_key_share_holder_group_id** | **String** | The target key share holder group ID. |
9
9
  **source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
10
+ **description** | **String** | The description of the TSS request. | [optional]
10
11
 
11
12
 
@@ -4,6 +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 request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **staking_id** | **String** | The id of the related staking. |
8
9
  **amount** | **String** | The amount to stake | [optional]
9
10
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
@@ -4,6 +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 request. The request ID is provided by you and must be unique within your organization. | [optional]
7
8
  **staking_id** | **String** | The id of the related staking. |
8
9
  **amount** | **String** | The amount to stake | [optional]
9
10
  **address** | **String** | The withdraw to address. | [optional]
@@ -10,7 +10,9 @@ 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
  **apikey** | **String** | The API key of your exchange account. |
15
17
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
16
18
  **main_wallet_id** | **String** | The wallet ID of the Main Account associated with the Sub Account. This property is returned only if you are creating or querying an Exchange Wallet (Sub Account). | [optional]
@@ -28,15 +28,16 @@ This operation registers a new webhook endpoint for your organization.
28
28
 
29
29
  ```javascript
30
30
  const CoboWaas2 = require('@cobo/cobo-waas2');
31
- // initial default api client
31
+ // Initialize the API client
32
32
  const apiClient = CoboWaas2.ApiClient.instance
33
- // for dev env
34
- // apiClient.setEnv(CoboWaas2.Env.DEV);
35
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
36
- // call api
33
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
34
+ apiClient.setEnv(CoboWaas2.Env.DEV);
35
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
36
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
37
+ // Call the API
37
38
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
38
39
  const opts = {
39
- 'CreateWebhookEndpointRequest': new CoboWaas2.CreateWebhookEndpointRequest() // CreateWebhookEndpointRequest | The request body to register a webhook endpoint.
40
+ 'CreateWebhookEndpointRequest': new CoboWaas2.CreateWebhookEndpointRequest()
40
41
  };
41
42
  apiInstance.createWebhookEndpoint(opts).then((data) => {
42
43
  console.log('API called successfully. Returned data: ' + data);
@@ -79,14 +80,15 @@ This operation retrieves the information of a specified webhook endpoint.
79
80
 
80
81
  ```javascript
81
82
  const CoboWaas2 = require('@cobo/cobo-waas2');
82
- // initial default api client
83
+ // Initialize the API client
83
84
  const apiClient = CoboWaas2.ApiClient.instance
84
- // for dev env
85
- // apiClient.setEnv(CoboWaas2.Env.DEV);
86
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
87
- // call api
85
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
86
+ apiClient.setEnv(CoboWaas2.Env.DEV);
87
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
88
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
89
+ // Call the API
88
90
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
89
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
91
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
90
92
  apiInstance.getWebhookEndpointById(endpoint_id).then((data) => {
91
93
  console.log('API called successfully. Returned data: ' + data);
92
94
  }, (error) => {
@@ -128,15 +130,16 @@ This operation retrieves the information of a webhook event by the event ID.
128
130
 
129
131
  ```javascript
130
132
  const CoboWaas2 = require('@cobo/cobo-waas2');
131
- // initial default api client
133
+ // Initialize the API client
132
134
  const apiClient = CoboWaas2.ApiClient.instance
133
- // for dev env
134
- // apiClient.setEnv(CoboWaas2.Env.DEV);
135
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
136
- // call api
135
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
136
+ apiClient.setEnv(CoboWaas2.Env.DEV);
137
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
138
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
139
+ // Call the API
137
140
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
138
- const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The event ID. You can obtain a list of event IDs by calling [List all events](/v2/api-references/developers--webhooks/list-all-events).
139
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
141
+ const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
142
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
140
143
  apiInstance.getWebhookEventById(event_id, endpoint_id).then((data) => {
141
144
  console.log('API called successfully. Returned data: ' + data);
142
145
  }, (error) => {
@@ -179,19 +182,20 @@ This operation retrieves the information of all webhook endpoints registered und
179
182
 
180
183
  ```javascript
181
184
  const CoboWaas2 = require('@cobo/cobo-waas2');
182
- // initial default api client
185
+ // Initialize the API client
183
186
  const apiClient = CoboWaas2.ApiClient.instance
184
- // for dev env
185
- // apiClient.setEnv(CoboWaas2.Env.DEV);
186
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
187
- // call api
187
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
188
+ apiClient.setEnv(CoboWaas2.Env.DEV);
189
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
190
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
191
+ // Call the API
188
192
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
189
193
  const opts = {
190
- 'status': new CoboWaas2.WebhookEndpointStatus(), // WebhookEndpointStatus |
191
- 'event_type': new CoboWaas2.WebhookEventType(), // WebhookEventType |
192
- 'limit': 10, // Number | The maximum number of objects to return. For most operations, the value range is [1, 50].
193
- 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1", // String | An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned.
194
- 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk" // String | An object ID that acts as a starting point for retrieving data in chronological order. For example, if you specify `after` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`, the request will retrieve a list of data objects that start after the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`. You can set this parameter to the value of `pagination.after` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
194
+ 'status': new CoboWaas2.WebhookEndpointStatus(),
195
+ 'event_type': new CoboWaas2.WebhookEventType(),
196
+ 'limit': 10,
197
+ 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
198
+ 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
195
199
  };
196
200
  apiInstance.listWebhookEndpoints(opts).then((data) => {
197
201
  console.log('API called successfully. Returned data: ' + data);
@@ -238,12 +242,13 @@ This operation retrieves all supported webhook event types.
238
242
 
239
243
  ```javascript
240
244
  const CoboWaas2 = require('@cobo/cobo-waas2');
241
- // initial default api client
245
+ // Initialize the API client
242
246
  const apiClient = CoboWaas2.ApiClient.instance
243
- // for dev env
244
- // apiClient.setEnv(CoboWaas2.Env.DEV);
245
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
246
- // call api
247
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
248
+ apiClient.setEnv(CoboWaas2.Env.DEV);
249
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
250
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
251
+ // Call the API
247
252
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
248
253
  apiInstance.listWebhookEventDefinitions().then((data) => {
249
254
  console.log('API called successfully. Returned data: ' + data);
@@ -283,19 +288,20 @@ This operation retrieves a list of webhook event logs by event ID. Each retry wi
283
288
 
284
289
  ```javascript
285
290
  const CoboWaas2 = require('@cobo/cobo-waas2');
286
- // initial default api client
291
+ // Initialize the API client
287
292
  const apiClient = CoboWaas2.ApiClient.instance
288
- // for dev env
289
- // apiClient.setEnv(CoboWaas2.Env.DEV);
290
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
291
- // call api
293
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
294
+ apiClient.setEnv(CoboWaas2.Env.DEV);
295
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
296
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
297
+ // Call the API
292
298
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
293
- const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The event ID. You can obtain a list of event IDs by calling [List all events](/v2/api-references/developers--webhooks/list-all-events).
294
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
299
+ const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
300
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
295
301
  const opts = {
296
- 'limit': 10, // Number | The maximum number of objects to return. For most operations, the value range is [1, 50].
297
- 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1", // String | An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned.
298
- 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk" // String | An object ID that acts as a starting point for retrieving data in chronological order. For example, if you specify `after` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`, the request will retrieve a list of data objects that start after the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`. You can set this parameter to the value of `pagination.after` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
302
+ 'limit': 10,
303
+ 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
304
+ 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
299
305
  };
300
306
  apiInstance.listWebhookEventLogs(event_id, endpoint_id, opts).then((data) => {
301
307
  console.log('API called successfully. Returned data: ' + data);
@@ -342,20 +348,21 @@ This operation retrieves a list of webhook events that have occurred within the
342
348
 
343
349
  ```javascript
344
350
  const CoboWaas2 = require('@cobo/cobo-waas2');
345
- // initial default api client
351
+ // Initialize the API client
346
352
  const apiClient = CoboWaas2.ApiClient.instance
347
- // for dev env
348
- // apiClient.setEnv(CoboWaas2.Env.DEV);
349
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
350
- // call api
353
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
354
+ apiClient.setEnv(CoboWaas2.Env.DEV);
355
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
356
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
357
+ // Call the API
351
358
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
352
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
359
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
353
360
  const opts = {
354
- 'status': new CoboWaas2.WebhookEventStatus(), // WebhookEventStatus |
355
- 'type': new CoboWaas2.WebhookEventType(), // WebhookEventType |
356
- 'limit': 10, // Number | The maximum number of objects to return. For most operations, the value range is [1, 50].
357
- 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1", // String | An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned.
358
- 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk" // String | An object ID that acts as a starting point for retrieving data in chronological order. For example, if you specify `after` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`, the request will retrieve a list of data objects that start after the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`. You can set this parameter to the value of `pagination.after` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
361
+ 'status': new CoboWaas2.WebhookEventStatus(),
362
+ 'type': new CoboWaas2.WebhookEventType(),
363
+ 'limit': 10,
364
+ 'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
365
+ 'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
359
366
  };
360
367
  apiInstance.listWebhookEvents(endpoint_id, opts).then((data) => {
361
368
  console.log('API called successfully. Returned data: ' + data);
@@ -403,15 +410,16 @@ This operation retries delivering a webhook event with the specified event ID. Y
403
410
 
404
411
  ```javascript
405
412
  const CoboWaas2 = require('@cobo/cobo-waas2');
406
- // initial default api client
413
+ // Initialize the API client
407
414
  const apiClient = CoboWaas2.ApiClient.instance
408
- // for dev env
409
- // apiClient.setEnv(CoboWaas2.Env.DEV);
410
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
411
- // call api
415
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
416
+ apiClient.setEnv(CoboWaas2.Env.DEV);
417
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
418
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
419
+ // Call the API
412
420
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
413
- const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The event ID. You can obtain a list of event IDs by calling [List all events](/v2/api-references/developers--webhooks/list-all-events).
414
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
421
+ const event_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
422
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
415
423
  apiInstance.retryWebhookEventById(event_id, endpoint_id).then((data) => {
416
424
  console.log('API called successfully. Returned data: ' + data);
417
425
  }, (error) => {
@@ -454,16 +462,17 @@ This operation updates the information of a specified webhook endpoint.
454
462
 
455
463
  ```javascript
456
464
  const CoboWaas2 = require('@cobo/cobo-waas2');
457
- // initial default api client
465
+ // Initialize the API client
458
466
  const apiClient = CoboWaas2.ApiClient.instance
459
- // for dev env
460
- // apiClient.setEnv(CoboWaas2.Env.DEV);
461
- apiClient.setPrivateKey("<YOUR_API_PRIVATE_KEY_IN_HEX>");
462
- // call api
467
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
468
+ apiClient.setEnv(CoboWaas2.Env.DEV);
469
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
470
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
471
+ // Call the API
463
472
  const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
464
- const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"; // String | The webhook endpoint ID. You can retrieve a list of webhook endpoint IDs by calling [List webhook endpoints](/v2/api-references/developers--webhooks/list-webhook-endpoints).
473
+ const endpoint_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
465
474
  const opts = {
466
- 'UpdateWebhookEndpointByIdRequest': new CoboWaas2.UpdateWebhookEndpointByIdRequest() // UpdateWebhookEndpointByIdRequest | The request body to update a webhook endpoint.
475
+ 'UpdateWebhookEndpointByIdRequest': new CoboWaas2.UpdateWebhookEndpointByIdRequest()
467
476
  };
468
477
  apiInstance.updateWebhookEndpointById(endpoint_id, opts).then((data) => {
469
478
  console.log('API called successfully. Returned data: ' + data);
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
9
  **source** | [**StakingSource**](StakingSource.md) | | [optional]
9
10
  **pool_id** | **String** | The id of the staking pool |
10
11
  **amount** | **String** | The amount to stake |
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
9
  **staking_id** | **String** | The id of the related staking. |
9
10
  **amount** | **String** | The amount to stake | [optional]
10
11
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
9
  **staking_id** | **String** | The id of the related staking. |
9
10
  **amount** | **String** | The amount to stake | [optional]
10
11
  **address** | **String** | The withdraw to address. | [optional]
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.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
 
@@ -13,6 +13,8 @@
13
13
 
14
14
  * `gate` (value: `"gate"`)
15
15
 
16
+ * `bitget` (value: `"bitget"`)
17
+
16
18
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
17
19
 
18
20
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_type** | [**TransferDestinationType**](TransferDestinationType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **sub_wallet_id** | **String** | The exchange trading account or the sub-wallet ID. |
10
- **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;. |
9
+ **trading_account_type** | **String** | The trading account type. |
10
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is &#x60;1.5&#x60;. |
11
11
 
12
12
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_type** | [**WalletSubtype**](WalletSubtype.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **sub_wallet_id** | **String** | The exchange trading account or the sub-wallet ID. |
9
+ **trading_account_type** | **String** | The trading account type. |
10
10
 
11
11
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **access_token** | **String** | The access token, used by Cobo Portal Apps to access specific resources of other organizations. | [optional]
8
- **token_type** | **String** | The type of the tokens. | [optional]
9
- **scope** | **String** | The scope of the access token. This property value is empty by design. | [optional]
7
+ **access_token** | **String** | The 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
10
  **expires_in** | **Number** | The time in seconds in which the access token expires. | [optional]
11
- **refresh_token** | **String** | The refresh token, used by Cobo Portal Apps to obtain new access tokens when the access token expires. | [optional]
11
+ **refresh_token** | **String** | The refresh token, used to obtain a new access token when the current access token expires. | [optional]
12
12
 
13
13
 
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
10
10
  **online** | **Boolean** | Whether the key share holder&#39;s TSS Node is online. - &#x60;true&#x60;: The TSS Node is online. - &#x60;false&#x60;: The TSS Node is offline. | [optional]
11
11
  **signer** | **Boolean** | Whether the key share holder&#39;s TSS Node is a designated transaction signer. - &#x60;true&#x60;: The TSS Node is a designated transaction signer. - &#x60;false&#x60;: The TSS Node is not a designated transaction signer. | [optional]
12
12
  **status** | [**KeyShareHolderStatus**](KeyShareHolderStatus.md) | | [optional]
13
+ **account_id** | **String** | The key share holder&#39;s Cobo Portal account ID. | [optional]
13
14
 
14
15
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListAssetBalancesForExchangeWallet200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[SubWalletAssetBalance]**](SubWalletAssetBalance.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListExchanges200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
8
+ **supported_trading_account_types** | **[String]** | The supported trading account types of this exchange. |
9
+
10
+