@cobo/cobo-waas2 1.8.0 → 1.9.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 (132) hide show
  1. package/README.md +78 -30
  2. package/dist/ApiClient.js +11 -1
  3. package/dist/api/AddressBooksApi.js +1 -1
  4. package/dist/api/DevelopersApi.js +3 -3
  5. package/dist/api/DevelopersWebhooksApi.js +8 -8
  6. package/dist/api/PrimeBrokerApi.js +317 -0
  7. package/dist/api/StakingsApi.js +12 -12
  8. package/dist/api/TransactionsApi.js +60 -16
  9. package/dist/api/TravelRuleApi.js +18 -18
  10. package/dist/api/WalletsApi.js +84 -13
  11. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  12. package/dist/api/WalletsMPCWalletsApi.js +151 -39
  13. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  14. package/dist/index.js +112 -7
  15. package/dist/model/ActivityExtra.js +5 -5
  16. package/dist/model/AddressBalance.js +129 -0
  17. package/dist/model/AddressTransferDestination.js +36 -0
  18. package/dist/model/ApprovalStatementStatus.js +81 -0
  19. package/dist/model/AssetBalance.js +6 -6
  20. package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
  21. package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
  22. package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
  23. package/dist/model/ChangeGuardPubkey200Response.js +110 -0
  24. package/dist/model/ContractCallParams.js +36 -0
  25. package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
  26. package/dist/model/CreateAddressRequest.js +28 -2
  27. package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
  28. package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
  29. package/dist/model/DeleteGuardPubkey201Response.js +110 -0
  30. package/dist/model/EthStakeEstimatedFee.js +1 -1
  31. package/dist/model/EthStakingActivityDetailExtra.js +1 -1
  32. package/dist/model/GetStakingEstimationFee201Response.js +1 -1
  33. package/dist/model/GetTransactionLimitation200Response.js +4 -4
  34. package/dist/model/GuardPubkeyStatus.js +91 -0
  35. package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
  36. package/dist/model/ListKeyShareHolders200Response.js +123 -0
  37. package/dist/model/MessageSignDestination.js +70 -8
  38. package/dist/model/MessageSignDestinationType.js +12 -2
  39. package/dist/model/OrgInfo.js +3 -3
  40. package/dist/model/QueryApprovalStatement200Response.js +122 -0
  41. package/dist/model/QueryGuardPubkey200Response.js +129 -0
  42. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
  43. package/dist/model/RootPubkey.js +1 -1
  44. package/dist/model/SelfCustodyWallet.js +7 -7
  45. package/dist/model/SubWalletAssetBalance.js +6 -6
  46. package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
  47. package/dist/model/TSSGroups.js +1 -1
  48. package/dist/model/TokenBalance.js +6 -6
  49. package/dist/model/TransactionDepositToAddressDestination.js +16 -0
  50. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
  51. package/dist/model/TransactionDestination.js +6 -0
  52. package/dist/model/TransactionRawTxInfo.js +13 -0
  53. package/dist/model/TransactionSubStatus.js +5 -0
  54. package/dist/model/TransactionUserApprovalDetail.js +3 -3
  55. package/dist/model/TransferDestination.js +6 -0
  56. package/dist/model/TransferParams.js +36 -0
  57. package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
  58. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
  59. package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
  60. package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
  61. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
  62. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
  63. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
  64. package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
  65. package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
  66. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
  67. package/dist/model/Vasp.js +7 -7
  68. package/docs/ActivityExtra.md +5 -5
  69. package/docs/AddressBalance.md +10 -0
  70. package/docs/AddressBooksApi.md +1 -1
  71. package/docs/AddressTransferDestination.md +14 -0
  72. package/docs/ApprovalStatementStatus.md +20 -0
  73. package/docs/AssetBalance.md +1 -1
  74. package/docs/BTCEIP191MessageSignDestination.md +10 -0
  75. package/docs/BabylonStakingActivityDetailExtra.md +1 -1
  76. package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
  77. package/docs/ChangeGuardPubkey200Response.md +9 -0
  78. package/docs/ContractCallParams.md +14 -0
  79. package/docs/CoreStakingActivityDetailExtra.md +3 -3
  80. package/docs/CreateAddressRequest.md +3 -1
  81. package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
  82. package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
  83. package/docs/DeleteGuardPubkey201Response.md +9 -0
  84. package/docs/DevelopersApi.md +3 -3
  85. package/docs/DevelopersWebhooksApi.md +8 -8
  86. package/docs/EthStakeEstimatedFee.md +1 -1
  87. package/docs/EthStakingActivityDetailExtra.md +1 -1
  88. package/docs/GetStakingEstimationFee201Response.md +1 -1
  89. package/docs/GetTransactionLimitation200Response.md +4 -4
  90. package/docs/GuardPubkeyStatus.md +24 -0
  91. package/docs/ListAddressBalancesByToken200Response.md +10 -0
  92. package/docs/ListKeyShareHolders200Response.md +10 -0
  93. package/docs/MessageSignDestination.md +1 -0
  94. package/docs/MessageSignDestinationType.md +6 -2
  95. package/docs/OrgInfo.md +1 -1
  96. package/docs/PrimeBrokerApi.md +318 -0
  97. package/docs/QueryApprovalStatement200Response.md +12 -0
  98. package/docs/QueryGuardPubkey200Response.md +11 -0
  99. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
  100. package/docs/RootPubkey.md +1 -1
  101. package/docs/SelfCustodyWallet.md +3 -3
  102. package/docs/StakingsApi.md +12 -12
  103. package/docs/SubWalletAssetBalance.md +1 -1
  104. package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
  105. package/docs/TSSGroups.md +1 -1
  106. package/docs/TokenBalance.md +1 -1
  107. package/docs/TransactionDepositToAddressDestination.md +1 -0
  108. package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
  109. package/docs/TransactionDestination.md +1 -0
  110. package/docs/TransactionRawTxInfo.md +1 -0
  111. package/docs/TransactionSubStatus.md +2 -0
  112. package/docs/TransactionUserApprovalDetail.md +3 -3
  113. package/docs/TransactionsApi.md +66 -15
  114. package/docs/TransferDestination.md +14 -0
  115. package/docs/TransferParams.md +14 -0
  116. package/docs/TravelRuleApi.md +13 -13
  117. package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
  118. package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
  119. package/docs/TravelRuleDepositLegalEntity.md +3 -3
  120. package/docs/TravelRuleDepositNaturalEntity.md +5 -5
  121. package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
  122. package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
  123. package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
  124. package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
  125. package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
  126. package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
  127. package/docs/Vasp.md +3 -3
  128. package/docs/WalletsApi.md +78 -13
  129. package/docs/WalletsExchangeWalletApi.md +1 -1
  130. package/docs/WalletsMPCWalletsApi.md +141 -27
  131. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  132. package/package.json +1 -1
@@ -33,10 +33,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TravelRuleWithdrawExchangesOrVASP = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TravelRuleWithdrawExchangesOrVASP</code>.
36
- * Required fields for &#x60;EXCHANGES_OR_VASP&#x60;.
36
+ * Required information when withdrawing tokens to an exchange or other virtual asset service providers (VASP).
37
37
  * @alias module:model/TravelRuleWithdrawExchangesOrVASP
38
38
  * @param destination_wallet_type {module:model/DestinationWalletType}
39
- * @param vendor_code {String} The vendor code for exchanges or VASPs.
39
+ * @param vendor_code {String} The vendor code of the exchange or virtual asset service provider (VASP).
40
40
  * @param vendor_vasp_id {String} The unique identifier of the VASP.
41
41
  * @param entity_info {module:model/TravelRuleWithdrawExchangesOrVASPEntityInfo}
42
42
  */
@@ -137,7 +137,7 @@ TravelRuleWithdrawExchangesOrVASP.RequiredProperties = ["destination_wallet_type
137
137
  TravelRuleWithdrawExchangesOrVASP.prototype['destination_wallet_type'] = undefined;
138
138
 
139
139
  /**
140
- * The vendor code for exchanges or VASPs.
140
+ * The vendor code of the exchange or virtual asset service provider (VASP).
141
141
  * @member {String} vendor_code
142
142
  */
143
143
  TravelRuleWithdrawExchangesOrVASP.prototype['vendor_code'] = undefined;
@@ -184,7 +184,7 @@ TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['selected_entity_type'] =
184
184
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['legal_name'] = undefined;
185
185
 
186
186
  /**
187
- * The incorporation date of the entity.
187
+ * The date of incorporation of the entity.
188
188
  * @member {Date} date_of_incorporation
189
189
  */
190
190
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_incorporation'] = undefined;
@@ -196,25 +196,25 @@ TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_incorporation'] =
196
196
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['place_of_incorporation'] = undefined;
197
197
 
198
198
  /**
199
- * The first name of the user.
199
+ * The first name of the natural person.
200
200
  * @member {String} first_name
201
201
  */
202
202
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['first_name'] = undefined;
203
203
 
204
204
  /**
205
- * The last name of the user.
205
+ * The last name of the natural person.
206
206
  * @member {String} last_name
207
207
  */
208
208
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['last_name'] = undefined;
209
209
 
210
210
  /**
211
- * The date of birth of the user.
211
+ * The date of birth of the natural person.
212
212
  * @member {Date} date_of_birth
213
213
  */
214
214
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['date_of_birth'] = undefined;
215
215
 
216
216
  /**
217
- * The place of birth of the user.
217
+ * The place of birth of the natural person.
218
218
  * @member {String} place_of_birth
219
219
  */
220
220
  TravelRuleWithdrawExchangesOrVASPEntityInfo.prototype['place_of_birth'] = undefined;
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  var TravelRuleWithdrawLegalEntity = /*#__PURE__*/function () {
33
33
  /**
34
34
  * Constructs a new <code>TravelRuleWithdrawLegalEntity</code>.
35
- * Required fields for LEGAL entities.
35
+ * The required information of a legal entity.
36
36
  * @alias module:model/TravelRuleWithdrawLegalEntity
37
37
  * @param selected_entity_type {module:model/SelectedEntityType}
38
38
  * @param legal_name {String} The legal name of the entity.
@@ -131,7 +131,7 @@ TravelRuleWithdrawLegalEntity.prototype['selected_entity_type'] = undefined;
131
131
  TravelRuleWithdrawLegalEntity.prototype['legal_name'] = undefined;
132
132
 
133
133
  /**
134
- * The incorporation date of the entity.
134
+ * The date of incorporation of the entity.
135
135
  * @member {Date} date_of_incorporation
136
136
  */
137
137
  TravelRuleWithdrawLegalEntity.prototype['date_of_incorporation'] = undefined;
@@ -32,11 +32,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  var TravelRuleWithdrawNaturalEntity = /*#__PURE__*/function () {
33
33
  /**
34
34
  * Constructs a new <code>TravelRuleWithdrawNaturalEntity</code>.
35
- * Required fields for NATURAL entities.
35
+ * The required information of a natural person.
36
36
  * @alias module:model/TravelRuleWithdrawNaturalEntity
37
37
  * @param selected_entity_type {module:model/SelectedEntityType}
38
- * @param first_name {String} The first name of the user.
39
- * @param last_name {String} The last name of the user.
38
+ * @param first_name {String} The first name of the natural person.
39
+ * @param last_name {String} The last name of the natural person.
40
40
  */
41
41
  function TravelRuleWithdrawNaturalEntity(selected_entity_type, first_name, last_name) {
42
42
  _classCallCheck(this, TravelRuleWithdrawNaturalEntity);
@@ -134,25 +134,25 @@ TravelRuleWithdrawNaturalEntity.RequiredProperties = ["selected_entity_type", "f
134
134
  TravelRuleWithdrawNaturalEntity.prototype['selected_entity_type'] = undefined;
135
135
 
136
136
  /**
137
- * The first name of the user.
137
+ * The first name of the natural person.
138
138
  * @member {String} first_name
139
139
  */
140
140
  TravelRuleWithdrawNaturalEntity.prototype['first_name'] = undefined;
141
141
 
142
142
  /**
143
- * The last name of the user.
143
+ * The last name of the natural person.
144
144
  * @member {String} last_name
145
145
  */
146
146
  TravelRuleWithdrawNaturalEntity.prototype['last_name'] = undefined;
147
147
 
148
148
  /**
149
- * The date of birth of the user.
149
+ * The date of birth of the natural person.
150
150
  * @member {Date} date_of_birth
151
151
  */
152
152
  TravelRuleWithdrawNaturalEntity.prototype['date_of_birth'] = undefined;
153
153
 
154
154
  /**
155
- * The place of birth of the user.
155
+ * The place of birth of the natural person.
156
156
  * @member {String} place_of_birth
157
157
  */
158
158
  TravelRuleWithdrawNaturalEntity.prototype['place_of_birth'] = undefined;
@@ -179,25 +179,25 @@ _defineProperty(TravelRuleWithdrawRequestTravelRuleInfo, "fromJSON", function (j
179
179
  TravelRuleWithdrawRequestTravelRuleInfo.prototype['destination_wallet_type'] = undefined;
180
180
 
181
181
  /**
182
- * The challenge obtained from a previous operation.
182
+ * The message obtained from the `Retrieve transaction limitations` operation. This message is used to verify wallet ownership through signing.
183
183
  * @member {String} self_custody_wallet_challenge
184
184
  */
185
185
  TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_challenge'] = undefined;
186
186
 
187
187
  /**
188
- * The address of the self-custodial wallet.
188
+ * The address of the self-custody wallet.
189
189
  * @member {String} self_custody_wallet_address
190
190
  */
191
191
  TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_address'] = undefined;
192
192
 
193
193
  /**
194
- * The signed message from the self-custodial wallet.
194
+ * The signature created by signing the challenge message with the wallet's private key.
195
195
  * @member {String} self_custody_wallet_sign
196
196
  */
197
197
  TravelRuleWithdrawRequestTravelRuleInfo.prototype['self_custody_wallet_sign'] = undefined;
198
198
 
199
199
  /**
200
- * The vendor code for exchanges or VASPs.
200
+ * The vendor code of the exchange or virtual asset service provider (VASP).
201
201
  * @member {String} vendor_code
202
202
  */
203
203
  TravelRuleWithdrawRequestTravelRuleInfo.prototype['vendor_code'] = undefined;
@@ -31,11 +31,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  var Vasp = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>Vasp</code>.
34
- * The information of an vasp.
34
+ * The information of a virtual asset service provider (VASP).
35
35
  * @alias module:model/Vasp
36
- * @param name {String} The name of the vasp.
37
- * @param vendor_code {String} The symbol.
38
- * @param vendor_vasp_id {String} The vasp str id.
36
+ * @param name {String} The VASP name.
37
+ * @param vendor_code {String} The vendor code of the VASP.
38
+ * @param vendor_vasp_id {String} The VASP ID.
39
39
  */
40
40
  function Vasp(name, vendor_code, vendor_vasp_id) {
41
41
  _classCallCheck(this, Vasp);
@@ -122,19 +122,19 @@ var Vasp = /*#__PURE__*/function () {
122
122
  Vasp.RequiredProperties = ["name", "vendor_code", "vendor_vasp_id"];
123
123
 
124
124
  /**
125
- * The name of the vasp.
125
+ * The VASP name.
126
126
  * @member {String} name
127
127
  */
128
128
  Vasp.prototype['name'] = undefined;
129
129
 
130
130
  /**
131
- * The symbol.
131
+ * The vendor code of the VASP.
132
132
  * @member {String} vendor_code
133
133
  */
134
134
  Vasp.prototype['vendor_code'] = undefined;
135
135
 
136
136
  /**
137
- * The vasp str id.
137
+ * The VASP ID.
138
138
  * @member {String} vendor_vasp_id
139
139
  */
140
140
  Vasp.prototype['vendor_vasp_id'] = undefined;
@@ -7,14 +7,14 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of the finality provider. | [optional]
9
9
  **stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | [optional]
10
- **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
10
+ **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](https://www.cobo.com/developers/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
11
11
  **param_version** | **Number** | The version of babylon global parameters. | [optional]
12
12
  **withdraw_from_type** | [**ActivityType**](ActivityType.md) | | [optional]
13
13
  **provider_name** | **String** | The name of the provider. | [optional]
14
- **validator_pubkeys** | **[String]** | A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain. | [optional]
14
+ **validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this unstaking operation. | [optional]
15
15
  **timelock** | **Number** | The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. | [optional]
16
- **change_address** | **String** | The change bitcoin address. If not provided, the source wallet&#39;s address will be used as the change address. | [optional]
17
- **validator_address** | **String** | The validator evm address. | [optional]
18
- **reward_address** | **String** | The reward evm address. | [optional]
16
+ **change_address** | **String** | The change address on the Bitcoin chain. If not provided, the source wallet&#39;s address will be used as the change address. | [optional]
17
+ **validator_address** | **String** | The validator&#39;s EVM address. | [optional]
18
+ **reward_address** | **String** | The EVM address to receive staking rewards. | [optional]
19
19
 
20
20
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.AddressBalance
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. |
8
+ **balance** | [**Balance**](Balance.md) | |
9
+
10
+
@@ -62,7 +62,7 @@ Name | Type | Description | Notes
62
62
 
63
63
  ### Authorization
64
64
 
65
- [CoboAuth](../README.md#CoboAuth)
65
+ [OAuth2](../README.md#OAuth2)
66
66
 
67
67
  ### HTTP request headers
68
68
 
@@ -8,7 +8,21 @@ 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
+ **change_output_type** | **String** | The position of the change output in the transaction&#39;s outputs. Possible values are: - &#x60;Last&#x60;: The change output is placed at the end of the transaction&#39;s outputs. - &#x60;First&#x60;: The change output is placed at the beginning of the transaction&#39;s outputs. | [optional]
11
12
  **force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction request must be executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both &#x60;force_internal&#x60; and &#x60;force_external&#x60; as &#x60;true&#x60;. | [optional]
12
13
  **force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction request must not be executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction request can be executed as a Cobo Loop transfer. Please do not set both &#x60;force_internal&#x60; and &#x60;force_external&#x60; as &#x60;true&#x60;. | [optional]
13
14
 
14
15
 
16
+
17
+ ## Enum: ChangeOutputTypeEnum
18
+
19
+
20
+ * `Last` (value: `"Last"`)
21
+
22
+ * `First` (value: `"First"`)
23
+
24
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
25
+
26
+
27
+
28
+
@@ -0,0 +1,20 @@
1
+ # CoboWaas2.ApprovalStatementStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `UnSend` (value: `"UnSend"`)
7
+
8
+ * `WaitAudit` (value: `"WaitAudit"`)
9
+
10
+ * `Approve` (value: `"Approve"`)
11
+
12
+ * `Reject` (value: `"Reject"`)
13
+
14
+ * `Invalid` (value: `"Invalid"`)
15
+
16
+ * `Timeout` (value: `"Timeout"`)
17
+
18
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
19
+
20
+
@@ -5,6 +5,6 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
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. |
8
- **balance** | [**TokenBalanceBalance**](TokenBalanceBalance.md) | |
8
+ **balance** | [**Balance**](Balance.md) | |
9
9
 
10
10
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.BTCEIP191MessageSignDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**MessageSignDestinationType**](MessageSignDestinationType.md) | |
8
+ **message** | **String** | The raw data of the message to be signed, encoded in Base64 format. |
9
+
10
+
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **finality_provider_public_key** | **String** | The public key of the finality provider. | [optional]
9
9
  **stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | [optional]
10
- **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
10
+ **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. - &#x60;true&#x60;: Automatically broadcast the transaction. - &#x60;false&#x60;: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](https://www.cobo.com/developers/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data &#x60;raw_tx&#x60; by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
11
11
  **param_version** | **Number** | The version of babylon global parameters. | [optional]
12
12
  **withdraw_from_type** | [**ActivityType**](ActivityType.md) | | [optional]
13
13
 
@@ -1,4 +1,4 @@
1
- # CoboWaas2.TokenBalanceBalance
1
+ # CoboWaas2.Balance
2
2
 
3
3
  ## Properties
4
4
 
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.ChangeGuardPubkey200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **binder_id** | **String** | The binding ID. |
8
+
9
+
@@ -11,6 +11,20 @@ Name | Type | Description | Notes
11
11
  **description** | **String** | The description of the contract call transaction. | [optional]
12
12
  **category_names** | **[String]** | The custom category for you to identify your transactions. | [optional]
13
13
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
14
+ **transaction_process_type** | **String** | Transaction processing type. Possible values are: - &#x60;AutoProcess&#x60; (default): After the transaction is constructed, it will be automatically signed and broadcast. - &#x60;BuildOnly&#x60;: Set to this value if you want to build the transaction first without automatically signing and broadcasting it. You can manually call the [Sign and broadcast transaction](https://www.cobo.com/developers/v2/api-references/transactions/sign-and-broadcast-transaction) operation to complete the signing and broadcasting process. | [optional]
14
15
  **auto_fuel** | [**AutoFuelType**](AutoFuelType.md) | | [optional]
15
16
 
16
17
 
18
+
19
+ ## Enum: TransactionProcessTypeEnum
20
+
21
+
22
+ * `AutoProcess` (value: `"AutoProcess"`)
23
+
24
+ * `BuildOnly` (value: `"BuildOnly"`)
25
+
26
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
27
+
28
+
29
+
30
+
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **timelock** | **Number** | The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. | [optional]
9
- **change_address** | **String** | The change bitcoin address. If not provided, the source wallet&#39;s address will be used as the change address. | [optional]
10
- **validator_address** | **String** | The validator evm address. | [optional]
11
- **reward_address** | **String** | The reward evm address. | [optional]
9
+ **change_address** | **String** | The change address on the Bitcoin chain. If not provided, the source wallet&#39;s address will be used as the change address. | [optional]
10
+ **validator_address** | **String** | The validator&#39;s EVM address. | [optional]
11
+ **reward_address** | **String** | The EVM address to receive staking rewards. | [optional]
12
12
 
13
13
 
@@ -5,7 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **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](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). |
8
- **count** | **Number** | The number of addresses to create. | [default to 1]
8
+ **count** | **Number** | The number of addresses to create. This property will be ignored if you are generating tweaked Taproot addresses. | [default to 1]
9
+ **taproot_script_tree_hashes** | **[String]** | A list of script tree hashes used to generate a tweaked Taproot address. This property is required only if you want to generate tweaked Taproot addresses. | [optional]
10
+ **taproot_internal_address** | **String** | The original Taproot address to be tweaked. This property is required only if you want to generate tweaked Taproot addresses. | [optional]
9
11
  **encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
10
12
 
11
13
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreatePrimeBrokerAddress201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pubkey** | **String** | The Cobo Guard&#39;s public key. |
8
+ **addresses** | [**[QueryGuardPubkey200ResponseAddressesInner]**](QueryGuardPubkey200ResponseAddressesInner.md) | | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.CreatePrimeBrokerAddressRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **addresses** | [**[QueryGuardPubkey200ResponseAddressesInner]**](QueryGuardPubkey200ResponseAddressesInner.md) | | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.DeleteGuardPubkey201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **statement_id** | **String** | The deleted Cobo Guard binding statement ID. |
8
+
9
+
@@ -48,7 +48,7 @@ This endpoint does not need any parameter.
48
48
 
49
49
  ### Authorization
50
50
 
51
- [CoboAuth](../README.md#CoboAuth)
51
+ [OAuth2](../README.md#OAuth2)
52
52
 
53
53
  ### HTTP request headers
54
54
 
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
114
114
 
115
115
  ### Authorization
116
116
 
117
- [CoboAuth](../README.md#CoboAuth)
117
+ [OAuth2](../README.md#OAuth2)
118
118
 
119
119
  ### HTTP request headers
120
120
 
@@ -164,7 +164,7 @@ Name | Type | Description | Notes
164
164
 
165
165
  ### Authorization
166
166
 
167
- [CoboAuth](../README.md#CoboAuth)
167
+ [OAuth2](../README.md#OAuth2)
168
168
 
169
169
  ### HTTP request headers
170
170
 
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
61
61
 
62
62
  ### Authorization
63
63
 
64
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
64
+ [OAuth2](../README.md#OAuth2)
65
65
 
66
66
  ### HTTP request headers
67
67
 
@@ -111,7 +111,7 @@ Name | Type | Description | Notes
111
111
 
112
112
  ### Authorization
113
113
 
114
- [CoboAuth](../README.md#CoboAuth)
114
+ [OAuth2](../README.md#OAuth2)
115
115
 
116
116
  ### HTTP request headers
117
117
 
@@ -163,7 +163,7 @@ Name | Type | Description | Notes
163
163
 
164
164
  ### Authorization
165
165
 
166
- [CoboAuth](../README.md#CoboAuth)
166
+ [OAuth2](../README.md#OAuth2)
167
167
 
168
168
  ### HTTP request headers
169
169
 
@@ -223,7 +223,7 @@ Name | Type | Description | Notes
223
223
 
224
224
  ### Authorization
225
225
 
226
- [CoboAuth](../README.md#CoboAuth)
226
+ [OAuth2](../README.md#OAuth2)
227
227
 
228
228
  ### HTTP request headers
229
229
 
@@ -329,7 +329,7 @@ Name | Type | Description | Notes
329
329
 
330
330
  ### Authorization
331
331
 
332
- [CoboAuth](../README.md#CoboAuth)
332
+ [OAuth2](../README.md#OAuth2)
333
333
 
334
334
  ### HTTP request headers
335
335
 
@@ -391,7 +391,7 @@ Name | Type | Description | Notes
391
391
 
392
392
  ### Authorization
393
393
 
394
- [CoboAuth](../README.md#CoboAuth)
394
+ [OAuth2](../README.md#OAuth2)
395
395
 
396
396
  ### HTTP request headers
397
397
 
@@ -443,7 +443,7 @@ Name | Type | Description | Notes
443
443
 
444
444
  ### Authorization
445
445
 
446
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
446
+ [OAuth2](../README.md#OAuth2)
447
447
 
448
448
  ### HTTP request headers
449
449
 
@@ -549,7 +549,7 @@ Name | Type | Description | Notes
549
549
 
550
550
  ### Authorization
551
551
 
552
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
552
+ [OAuth2](../README.md#OAuth2)
553
553
 
554
554
  ### HTTP request headers
555
555
 
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | | [optional]
8
8
  **fee** | [**EstimatedFee**](EstimatedFee.md) | | [optional]
9
9
  **validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this staking operation. | [optional]
10
- **core_btc_staking_address** | **String** | P2WSH address generated for this staking operation(If the estimated fee is for core BTC staking). | [optional]
10
+ **core_btc_staking_address** | **String** | The P2WSH address generated for this staking operation (only applicable if the estimated fee is for CORE staking). | [optional]
11
11
 
12
12
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
8
  **provider_name** | **String** | The name of the provider. | [optional]
9
- **validator_pubkeys** | **[String]** | A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain. | [optional]
9
+ **validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this unstaking operation. | [optional]
10
10
 
11
11
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | | [optional]
8
8
  **fee** | [**EstimatedFee**](EstimatedFee.md) | | [optional]
9
9
  **validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this staking operation. | [optional]
10
- **core_btc_staking_address** | **String** | P2WSH address generated for this staking operation(If the estimated fee is for core BTC staking). | [optional]
10
+ **core_btc_staking_address** | **String** | The P2WSH address generated for this staking operation (only applicable if the estimated fee is for CORE staking). | [optional]
11
11
  **fee_type** | [**FeeType**](FeeType.md) | | [optional]
12
12
  **fee_amount** | **String** | The amount of the estimated fee. | [optional]
13
13
  **token_id** | **String** | The token ID of the staking fee. | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **vasp_list** | [**[Vasp]**](Vasp.md) | A list of VASPs (Virtual Asset Service Providers) associated with the token. | [optional]
8
- **is_threshold_reached** | **Boolean** | Indicates whether the transaction amount exceeds a predefined threshold. - **If &#x60;true&#x60;**: Additional information is required when filling Travel Rule details: - For deposits: &#x60;date_of_incorporation&#x60; and &#x60;place_of_incorporation&#x60;. - **If &#x60;false&#x60;**: No extra fields are required. | [optional]
9
- **self_custody_wallet_challenge** | **String** | A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key details including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
10
- **connect_wallet_list** | **[String]** | A list of wallets connected to the system for transactions. | [optional]
7
+ **vasp_list** | [**[Vasp]**](Vasp.md) | A list of virtual asset service providers (VASP) you can select as the transaction source or destination. | [optional]
8
+ **is_threshold_reached** | **Boolean** | Indicates whether the transaction amount exceeds a predefined threshold. If exceeded, additional information is required when filling Travel Rule details. - &#x60;true&#x60;: Threshold exceeded. - &#x60;false&#x60;: Threshold not exceeded. | [optional]
9
+ **self_custody_wallet_challenge** | **String** | A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed. | [optional]
10
+ **connect_wallet_list** | **[String]** | A list of self-custody wallet providers you can select as the transaction source or destination. | [optional]
11
11
 
12
12
 
@@ -0,0 +1,24 @@
1
+ # CoboWaas2.GuardPubkeyStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `New` (value: `"New"`)
7
+
8
+ * `ChangeNew` (value: `"ChangeNew"`)
9
+
10
+ * `WaitSelfConfirm` (value: `"WaitSelfConfirm"`)
11
+
12
+ * `WaitConfirm` (value: `"WaitConfirm"`)
13
+
14
+ * `WaitActive` (value: `"WaitActive"`)
15
+
16
+ * `Active` (value: `"Active"`)
17
+
18
+ * `Freeze` (value: `"Freeze"`)
19
+
20
+ * `Invalid` (value: `"Invalid"`)
21
+
22
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
23
+
24
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListAddressBalancesByToken200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[AddressBalance]**](AddressBalance.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListKeyShareHolders200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[KeyShareHolder]**](KeyShareHolder.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **destination_type** | [**MessageSignDestinationType**](MessageSignDestinationType.md) | |
8
8
  **message** | **String** | The raw data of the message to be signed, encoded in Base64 format. |
9
9
  **structured_data** | **{String: Object}** | The structured data to be signed, formatted as a JSON object according to the EIP-712 standard. |
10
+ **msg_hash** | **String** | Message hash to be signed, in hexadecimal format. |
10
11
 
11
12
 
@@ -3,9 +3,13 @@
3
3
  ## Enum
4
4
 
5
5
 
6
- * `191_Signature` (value: `"EVM_EIP_191_Signature"`)
6
+ * `EVM_EIP_191_Signature` (value: `"EVM_EIP_191_Signature"`)
7
7
 
8
- * `712_Signature` (value: `"EVM_EIP_712_Signature"`)
8
+ * `EVM_EIP_712_Signature` (value: `"EVM_EIP_712_Signature"`)
9
+
10
+ * `BTC_EIP_191_Signature` (value: `"BTC_EIP_191_Signature"`)
11
+
12
+ * `Raw_Message_Signature` (value: `"Raw_Message_Signature"`)
9
13
 
10
14
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
15