@cobo/cobo-waas2 1.8.0 → 1.10.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 (205) hide show
  1. package/README.md +117 -33
  2. package/dist/ApiClient.js +11 -1
  3. package/dist/api/AddressBooksApi.js +1 -1
  4. package/dist/api/DevelopersApi.js +7 -7
  5. package/dist/api/DevelopersWebhooksApi.js +8 -8
  6. package/dist/api/PrimeBrokerApi.js +317 -0
  7. package/dist/api/StakingsApi.js +412 -18
  8. package/dist/api/SwapsApi.js +360 -0
  9. package/dist/api/TransactionsApi.js +64 -20
  10. package/dist/api/TravelRuleApi.js +18 -18
  11. package/dist/api/WalletsApi.js +84 -13
  12. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  13. package/dist/api/WalletsMPCWalletsApi.js +151 -39
  14. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  15. package/dist/index.js +276 -10
  16. package/dist/model/ActivityExtra.js +5 -5
  17. package/dist/model/AddressBalance.js +129 -0
  18. package/dist/model/AddressTransferDestination.js +36 -0
  19. package/dist/model/AddressesEventData.js +4 -4
  20. package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
  21. package/dist/model/ApprovalStatementStatus.js +81 -0
  22. package/dist/model/AssetBalance.js +6 -6
  23. package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
  24. package/dist/model/BabylonAirdropPop.js +186 -0
  25. package/dist/model/BabylonAirdropRegistration.js +172 -0
  26. package/dist/model/BabylonEligibleAirdrop.js +157 -0
  27. package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
  28. package/dist/model/BabylonRegistrationStatus.js +66 -0
  29. package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
  30. package/dist/model/BabylonStakingRegistration.js +185 -0
  31. package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
  32. package/dist/model/{SwapSummary.js → ChangeGuardPubkey200Response.js} +28 -39
  33. package/dist/model/ContractCallParams.js +36 -0
  34. package/dist/model/ContractCallSource.js +6 -0
  35. package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
  36. package/dist/model/CreateAddressRequest.js +28 -2
  37. package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
  38. package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
  39. package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
  40. package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
  41. package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
  42. package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
  43. package/dist/model/CreateSwapActivityRequest.js +153 -0
  44. package/dist/model/CreateSwapQuote201Response.js +264 -0
  45. package/dist/model/CreateSwapQuoteRequest.js +166 -0
  46. package/dist/model/DeleteGuardPubkey201Response.js +110 -0
  47. package/dist/model/EthStakeEstimatedFee.js +1 -1
  48. package/dist/model/EthStakingActivityDetailExtra.js +1 -1
  49. package/dist/model/GetStakingEstimationFee201Response.js +1 -1
  50. package/dist/model/GetTransactionLimitation200Response.js +4 -4
  51. package/dist/model/GuardPubkeyStatus.js +91 -0
  52. package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
  53. package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
  54. package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
  55. package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
  56. package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
  57. package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
  58. package/dist/model/ListEnableTokenPairs200Response.js +123 -0
  59. package/dist/model/ListKeyShareHolders200Response.js +123 -0
  60. package/dist/model/ListSwapActivities200Response.js +123 -0
  61. package/dist/model/MessageSignDestination.js +70 -8
  62. package/dist/model/MessageSignDestinationType.js +12 -2
  63. package/dist/model/MessageSignSource.js +6 -0
  64. package/dist/model/MpcContractCallSource.js +16 -0
  65. package/dist/model/MpcMessageSignSource.js +16 -0
  66. package/dist/model/MpcSigningGroup.js +27 -4
  67. package/dist/model/MpcTransferSource.js +16 -0
  68. package/dist/model/OrgInfo.js +3 -3
  69. package/dist/model/QueryApprovalStatement200Response.js +122 -0
  70. package/dist/model/QueryGuardPubkey200Response.js +129 -0
  71. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
  72. package/dist/model/RootPubkey.js +1 -1
  73. package/dist/model/SelfCustodyWallet.js +7 -7
  74. package/dist/model/StakingPoolId.js +30 -0
  75. package/dist/model/StakingPoolType.js +15 -0
  76. package/dist/model/SubWalletAssetBalance.js +6 -6
  77. package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
  78. package/dist/model/SwapQuote.js +203 -0
  79. package/dist/model/TSSGroups.js +1 -1
  80. package/dist/model/TokenBalance.js +6 -6
  81. package/dist/model/TransactionDepositToAddressDestination.js +16 -0
  82. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
  83. package/dist/model/TransactionDestination.js +10 -4
  84. package/dist/model/TransactionRawTxInfo.js +29 -0
  85. package/dist/model/TransactionRbfSource.js +6 -0
  86. package/dist/model/TransactionSubStatus.js +5 -0
  87. package/dist/model/TransactionUserApprovalDetail.js +3 -3
  88. package/dist/model/TransactionUtxoChange.js +101 -0
  89. package/dist/model/TransferDestination.js +6 -0
  90. package/dist/model/TransferParams.js +36 -0
  91. package/dist/model/TransferSource.js +6 -0
  92. package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
  93. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
  94. package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
  95. package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
  96. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
  97. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
  98. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
  99. package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
  100. package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
  101. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
  102. package/dist/model/Vasp.js +7 -7
  103. package/dist/model/WebhookEventData.js +2 -2
  104. package/docs/ActivityExtra.md +5 -5
  105. package/docs/AddressBalance.md +10 -0
  106. package/docs/AddressBooksApi.md +1 -1
  107. package/docs/AddressTransferDestination.md +14 -0
  108. package/docs/AddressesEventData.md +1 -1
  109. package/docs/AddressesEventDataAllOfAddresses.md +19 -0
  110. package/docs/ApprovalStatementStatus.md +20 -0
  111. package/docs/AssetBalance.md +1 -1
  112. package/docs/BTCEIP191MessageSignDestination.md +10 -0
  113. package/docs/BabylonAirdropPop.md +14 -0
  114. package/docs/BabylonAirdropRegistration.md +16 -0
  115. package/docs/BabylonEligibleAirdrop.md +14 -0
  116. package/docs/BabylonRegistrationRequestStatus.md +14 -0
  117. package/docs/BabylonRegistrationStatus.md +14 -0
  118. package/docs/BabylonStakingActivityDetailExtra.md +1 -1
  119. package/docs/BabylonStakingRegistration.md +17 -0
  120. package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
  121. package/docs/ChangeGuardPubkey200Response.md +9 -0
  122. package/docs/ContractCallParams.md +14 -0
  123. package/docs/ContractCallSource.md +1 -0
  124. package/docs/CoreStakingActivityDetailExtra.md +3 -3
  125. package/docs/CreateAddressRequest.md +3 -1
  126. package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
  127. package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
  128. package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
  129. package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
  130. package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
  131. package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
  132. package/docs/CreateSwapActivityRequest.md +12 -0
  133. package/docs/CreateSwapQuote201Response.md +17 -0
  134. package/docs/CreateSwapQuoteRequest.md +13 -0
  135. package/docs/DeleteGuardPubkey201Response.md +9 -0
  136. package/docs/DevelopersApi.md +5 -5
  137. package/docs/DevelopersWebhooksApi.md +8 -8
  138. package/docs/EthStakeEstimatedFee.md +1 -1
  139. package/docs/EthStakingActivityDetailExtra.md +1 -1
  140. package/docs/GetStakingEstimationFee201Response.md +1 -1
  141. package/docs/GetTransactionLimitation200Response.md +4 -4
  142. package/docs/GuardPubkeyStatus.md +24 -0
  143. package/docs/ListAddressBalancesByToken200Response.md +10 -0
  144. package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
  145. package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
  146. package/docs/ListBabylonEligibleStakings200Response.md +10 -0
  147. package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
  148. package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
  149. package/docs/ListEnableTokenPairs200Response.md +10 -0
  150. package/docs/ListKeyShareHolders200Response.md +10 -0
  151. package/docs/ListSwapActivities200Response.md +10 -0
  152. package/docs/MessageSignDestination.md +1 -0
  153. package/docs/MessageSignDestinationType.md +6 -2
  154. package/docs/MessageSignSource.md +1 -0
  155. package/docs/MpcContractCallSource.md +1 -0
  156. package/docs/MpcMessageSignSource.md +1 -0
  157. package/docs/MpcSigningGroup.md +1 -1
  158. package/docs/MpcTransferSource.md +1 -0
  159. package/docs/OrgInfo.md +1 -1
  160. package/docs/PrimeBrokerApi.md +318 -0
  161. package/docs/QueryApprovalStatement200Response.md +12 -0
  162. package/docs/QueryGuardPubkey200Response.md +11 -0
  163. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
  164. package/docs/RootPubkey.md +1 -1
  165. package/docs/SelfCustodyWallet.md +3 -3
  166. package/docs/StakingPoolId.md +12 -0
  167. package/docs/StakingPoolType.md +6 -0
  168. package/docs/StakingsApi.md +460 -12
  169. package/docs/SubWalletAssetBalance.md +1 -1
  170. package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
  171. package/docs/SwapQuote.md +16 -0
  172. package/docs/SwapsApi.md +348 -0
  173. package/docs/TSSGroups.md +1 -1
  174. package/docs/TokenBalance.md +1 -1
  175. package/docs/TransactionDepositToAddressDestination.md +1 -0
  176. package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
  177. package/docs/TransactionDestination.md +1 -0
  178. package/docs/TransactionRawTxInfo.md +2 -0
  179. package/docs/TransactionRbfSource.md +1 -0
  180. package/docs/TransactionSubStatus.md +2 -0
  181. package/docs/TransactionUserApprovalDetail.md +3 -3
  182. package/docs/TransactionUtxoChange.md +10 -0
  183. package/docs/TransactionsApi.md +68 -17
  184. package/docs/TransferDestination.md +14 -0
  185. package/docs/TransferParams.md +14 -0
  186. package/docs/TransferSource.md +1 -0
  187. package/docs/TravelRuleApi.md +13 -13
  188. package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
  189. package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
  190. package/docs/TravelRuleDepositLegalEntity.md +3 -3
  191. package/docs/TravelRuleDepositNaturalEntity.md +5 -5
  192. package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
  193. package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
  194. package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
  195. package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
  196. package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
  197. package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
  198. package/docs/Vasp.md +3 -3
  199. package/docs/WalletsApi.md +78 -13
  200. package/docs/WalletsExchangeWalletApi.md +1 -1
  201. package/docs/WalletsMPCWalletsApi.md +141 -27
  202. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  203. package/docs/WebhookEventData.md +1 -1
  204. package/package.json +2 -2
  205. package/docs/SwapSummary.md +0 -10
@@ -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. - `true`: Automatically broadcast the transaction. - `false`: 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 `raw_tx` 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. - `true`: Automatically broadcast the transaction. - `false`: 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 `raw_tx` 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'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's address will be used as the change address. | [optional]
17
+ **validator_address** | **String** | The validator'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's outputs. Possible values are: - `Last`: The change output is placed at the end of the transaction's outputs. - `First`: The change output is placed at the beginning of the transaction'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. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [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. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. | [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
+
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. |
8
- **addresses** | [**[AddressInfo]**](AddressInfo.md) | A list of addresses. | [optional]
8
+ **addresses** | [**[AddressesEventDataAllOfAddresses]**](AddressesEventDataAllOfAddresses.md) | A list of addresses. | [optional]
9
9
 
10
10
 
11
11
 
@@ -0,0 +1,19 @@
1
+ # CoboWaas2.AddressesEventDataAllOfAddresses
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **address** | **String** | The wallet address. |
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](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). |
9
+ **memo** | **String** | The memo code. | [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
+ **encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
12
+ **pubkey** | **String** | The public key of the address. This property applies to MPC Wallets only. | [optional]
13
+ **x_only_pubkey** | **String** | The 32-byte x-only public key in hexadecimal format after tweaking. | [optional]
14
+ **root_pubkey** | **String** | The root public key of the address. This property applies to MPC Wallets only. | [optional]
15
+ **taproot_script_tree_hash** | **String** | The information about the new address. | [optional]
16
+ **taproot_internal_address** | **String** | The Taproot address before tweaking. | [optional]
17
+ **wallet_id** | **String** | The wallet ID. |
18
+
19
+
@@ -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
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.BabylonAirdropPop
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **baby_address** | **String** | The Babylon (BABY) address used to receive BABY rewards. |
8
+ **btc_address** | **String** | The Bitcoin (BTC) address used for staking. |
9
+ **btc_public_key** | **String** | The public key corresponding to the `btc_address`, represented in hex format. |
10
+ **btc_sign_baby** | **String** | A BTC signature that signs the `baby_address`. |
11
+ **baby_sign_btc** | **String** | A BABY signature that signs the `btc_address`. |
12
+ **baby_public_key** | **String** | The public key corresponding to the `baby_address`, represented in base64 format. |
13
+
14
+
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.BabylonAirdropRegistration
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The registration ID, a unique identifier for tracking the airdrop registration. | [optional]
8
+ **status** | [**BabylonRegistrationRequestStatus**](BabylonRegistrationRequestStatus.md) | | [optional]
9
+ **btc_address** | [**StakingSource**](StakingSource.md) | | [optional]
10
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
11
+ **airdrop_amount** | **String** | The actual airdrop amount allocated for this BTC address. | [optional]
12
+ **error_message** | **String** | The detailed error message if the registration failed. | [optional]
13
+ **created_timestamp** | **Number** | The time when the registration was created, in Unix timestamp format, measured in milliseconds. | [optional]
14
+ **updated_timestamp** | **Number** | The time when the registration was updated, in Unix timestamp format, measured in milliseconds. | [optional]
15
+
16
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.BabylonEligibleAirdrop
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **btc_address** | [**StakingSource**](StakingSource.md) | | [optional]
8
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
9
+ **babylon_points** | **String** | The current Babylon points balance accumulated by the BTC address. | [optional]
10
+ **airdrop_amount** | **String** | The estimated airdrop amount based on the current Babylon points balance. | [optional]
11
+ **status** | [**BabylonRegistrationStatus**](BabylonRegistrationStatus.md) | | [optional]
12
+ **pop** | [**BabylonAirdropPop**](BabylonAirdropPop.md) | | [optional]
13
+
14
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.BabylonRegistrationRequestStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Processing` (value: `"Processing"`)
7
+
8
+ * `Completed` (value: `"Completed"`)
9
+
10
+ * `Failed` (value: `"Failed"`)
11
+
12
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
13
+
14
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.BabylonRegistrationStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Registered` (value: `"Registered"`)
7
+
8
+ * `Unregistered` (value: `"Unregistered"`)
9
+
10
+ * `Registering` (value: `"Registering"`)
11
+
12
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
13
+
14
+
@@ -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. - `true`: Automatically broadcast the transaction. - `false`: 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 `raw_tx` 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. - `true`: Automatically broadcast the transaction. - `false`: 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 `raw_tx` 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
 
@@ -0,0 +1,17 @@
1
+ # CoboWaas2.BabylonStakingRegistration
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The registration ID, a unique identifier for tracking the staking registration. | [optional]
8
+ **staking_id** | **String** | The ID of the Phase-1 BTC staking position. | [optional]
9
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
10
+ **btc_address** | [**StakingSource**](StakingSource.md) | | [optional]
11
+ **status** | [**BabylonRegistrationRequestStatus**](BabylonRegistrationRequestStatus.md) | | [optional]
12
+ **staked_amount** | **String** | The amount of BTC that is staked. | [optional]
13
+ **error_message** | **String** | The error message if the Babylon Phase-2 registration request failed. | [optional]
14
+ **created_timestamp** | **Number** | The time when the registration was created, in Unix timestamp format, measured in milliseconds. | [optional]
15
+ **updated_timestamp** | **Number** | The time when the registration was updated, in Unix timestamp format, measured in milliseconds. | [optional]
16
+
17
+
@@ -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: - `AutoProcess` (default): After the transaction is constructed, it will be automatically signed and broadcast. - `BuildOnly`: 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
+
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **source_type** | [**ContractCallSourceType**](ContractCallSourceType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **address** | **String** | The wallet address. |
10
+ **mpc_used_key_share_holder_group** | [**MpcSigningGroup**](MpcSigningGroup.md) | | [optional]
10
11
  **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
11
12
 
12
13
 
@@ -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'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's address will be used as the change address. | [optional]
10
+ **validator_address** | **String** | The validator'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,9 @@
1
+ # CoboWaas2.CreateBabylonAirdropRegistration201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **registration_id** | **String** | The registration ID, a unique identifier for tracking the airdrop registration request. You can check the registration status with the [Get Babylon airdrop registration details](https://www.cobo.com/developers/v2/api-references/stakings/get_babylon_airdrop_registration_details) operation. | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreateBabylonAirdropRegistrationRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **btc_address** | [**StakingSource**](StakingSource.md) | | [optional]
8
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.CreateBabylonStakingRegistration201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **registration_id** | **String** | The registration ID, a unique identifier for tracking the Babylon staking registration request. You can use it with the [Get Babylon staking registration details operation](https://www.cobo.com/developers/v2/api-references/stakings/get_babylon_staking_registration_details) to check the registration status. | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreateBabylonStakingRegistrationRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **staking_id** | **String** | The ID of the Phase-1 BTC staking position. | [optional]
8
+ **babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreatePrimeBrokerAddress201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pubkey** | **String** | The Cobo Guard'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,12 @@
1
+ # CoboWaas2.CreateSwapActivityRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The unique identifier of the wallet. |
8
+ **quote_id** | **String** | The unique identifier of the quote. |
9
+ **slippage_tolerance** | **String** | The slippage tolerance for the swap. |
10
+ **app_initiator** | **String** | The initiator of the app activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
11
+
12
+
@@ -0,0 +1,17 @@
1
+ # CoboWaas2.CreateSwapQuote201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pay_amount** | **String** | The amount of tokens to pay. |
8
+ **receive_amount** | **String** | The amount of tokens to receive. |
9
+ **fee_amount** | **String** | The amount of tokens to pay for fee. |
10
+ **min_pay_amount** | **String** | The minimum amount of tokens to pay. | [optional]
11
+ **max_pay_amount** | **String** | The maximum amount of tokens to pay. | [optional]
12
+ **min_receive_amount** | **String** | The minimum amount of tokens to receive. | [optional]
13
+ **max_receive_amount** | **String** | The maximum amount of tokens to receive. | [optional]
14
+ **quote_expired_timestamp** | **Number** | The time when the quote will expire, in Unix timestamp format, measured in milliseconds. |
15
+ **quote_id** | **String** | The unique identifier of this quote. |
16
+
17
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.CreateSwapQuoteRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_id** | **String** | The unique identifier of the wallet. |
8
+ **pay_token_id** | **String** | Unique id of the token to pay. |
9
+ **receive_token_id** | **String** | Unique id of the token to receive. |
10
+ **pay_amount** | **String** | Amount of tokens to pay. For example \"0.5 BTC\". Note: Either pay_amount or receive_amount must be provided, but not both. | [optional]
11
+ **receive_amount** | **String** | Amount of tokens to receive. For example \"0.5 ETH_WBTC\". Note: Either pay_amount or receive_amount must be provided, but not both. | [optional]
12
+
13
+
@@ -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
 
@@ -62,7 +62,7 @@ This endpoint does not need any parameter.
62
62
 
63
63
  List all callback messages
64
64
 
65
- This operation retrieves all the callback messages in your organization. For more details about how to respond to callback messages, refer to [Callback messages](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
65
+ This operation retrieves all the callback messages in your organization. For more details about how to respond to callback messages, refer to [Callback messages](https://www.cobo.com/developers/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
66
66
 
67
67
  ### Example
68
68
 
@@ -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
 
@@ -128,7 +128,7 @@ Name | Type | Description | Notes
128
128
 
129
129
  Retry callback message
130
130
 
131
- This operation resends a callback message that failed previously. If your callback endpoint doesn't respond as expected, the WaaS service will retry sending the callback message up to 30 times. After that, the callback message status will be `Failed`. Use this operation to resend the message. For more details, refer to [Webhooks and Callbacks](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
131
+ This operation resends a callback message that failed previously. If your callback endpoint doesn't respond as expected, the WaaS service will retry sending the callback message up to 30 times. After that, the callback message status will be `Failed`. Use this operation to resend the message. For more details, refer to [Webhooks and Callbacks](https://www.cobo.com/developers/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
132
132
 
133
133
  ### Example
134
134
 
@@ -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 `true`**: Additional information is required when filling Travel Rule details: - For deposits: `date_of_incorporation` and `place_of_incorporation`. - **If `false`**: 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. - `true`: Threshold exceeded. - `false`: 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