@cobo/cobo-waas2 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +1 -1
- package/dist/api/DevelopersApi.js +7 -7
- package/dist/api/DevelopersWebhooksApi.js +8 -8
- package/dist/api/StakingsApi.js +412 -18
- package/dist/api/SwapsApi.js +360 -0
- package/dist/api/TransactionsApi.js +18 -18
- package/dist/api/TravelRuleApi.js +4 -4
- package/dist/api/WalletsApi.js +19 -19
- package/dist/api/WalletsExchangeWalletApi.js +1 -1
- package/dist/api/WalletsMPCWalletsApi.js +19 -19
- package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
- package/dist/index.js +213 -3
- package/dist/model/AddressesEventData.js +4 -4
- package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
- package/dist/model/BTCEIP191MessageSignDestination.js +1 -1
- package/dist/model/BabylonAirdropPop.js +186 -0
- package/dist/model/BabylonAirdropRegistration.js +172 -0
- package/dist/model/BabylonEligibleAirdrop.js +157 -0
- package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
- package/dist/model/BabylonRegistrationStatus.js +66 -0
- package/dist/model/BabylonStakingRegistration.js +185 -0
- package/dist/model/ChainInfo.js +2 -2
- package/dist/model/ContractCallDestination.js +42 -8
- package/dist/model/ContractCallDestinationType.js +5 -0
- package/dist/model/ContractCallSource.js +6 -0
- package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
- package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
- package/dist/model/CreateSwapActivityRequest.js +153 -0
- package/dist/model/CreateSwapQuote201Response.js +264 -0
- package/dist/model/CreateSwapQuoteRequest.js +166 -0
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +23 -0
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +23 -0
- package/dist/model/ExtendedTokenInfo.js +3 -3
- package/dist/model/FeeReserved.js +87 -0
- package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
- package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
- package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
- package/dist/model/{SwapSummary.js → ListEnableTokenPairs200Response.js} +51 -49
- package/dist/model/ListSwapActivities200Response.js +123 -0
- package/dist/model/MaxFeeAmount.js +1 -1
- package/dist/model/MessageSignSource.js +6 -0
- package/dist/model/MpcContractCallSource.js +16 -0
- package/dist/model/MpcMessageSignSource.js +16 -0
- package/dist/model/MpcSigningGroup.js +27 -4
- package/dist/model/MpcTransferSource.js +16 -0
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +2 -2
- package/dist/model/SolContractCallAccount.js +133 -0
- package/dist/model/SolContractCallDestination.js +139 -0
- package/dist/model/SolContractCallInstruction.js +158 -0
- package/dist/model/StakingPoolId.js +30 -0
- package/dist/model/StakingPoolType.js +15 -0
- package/dist/model/SwapQuote.js +203 -0
- package/dist/model/TokenInfo.js +2 -2
- package/dist/model/TransactionDestination.js +45 -11
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionFee.js +1 -1
- package/dist/model/TransactionFixedFee.js +2 -2
- package/dist/model/TransactionRawTxInfo.js +16 -0
- package/dist/model/TransactionRbfSource.js +6 -0
- package/dist/model/TransactionRequestFee.js +1 -1
- package/dist/model/TransactionRequestFixedFee.js +2 -2
- package/dist/model/TransactionRequestUtxoFee.js +1 -1
- package/dist/model/TransactionSolContractAccount.js +106 -0
- package/dist/model/TransactionSolContractDestination.js +137 -0
- package/dist/model/TransactionSolContractInstruction.js +134 -0
- package/dist/model/TransactionTokeApproval.js +3 -3
- package/dist/model/TransactionUtxoChange.js +101 -0
- package/dist/model/TransferSource.js +6 -0
- package/dist/model/WebhookEventData.js +2 -2
- package/docs/AddressBooksApi.md +1 -1
- package/docs/AddressesEventData.md +1 -1
- package/docs/AddressesEventDataAllOfAddresses.md +19 -0
- package/docs/BabylonAirdropPop.md +14 -0
- package/docs/BabylonAirdropRegistration.md +16 -0
- package/docs/BabylonEligibleAirdrop.md +14 -0
- package/docs/BabylonRegistrationRequestStatus.md +14 -0
- package/docs/BabylonRegistrationStatus.md +14 -0
- package/docs/BabylonStakingRegistration.md +17 -0
- package/docs/ChainInfo.md +1 -1
- package/docs/ContractCallDestination.md +1 -0
- package/docs/ContractCallDestinationType.md +2 -0
- package/docs/ContractCallSource.md +1 -0
- package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
- package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
- package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
- package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
- package/docs/CreateSwapActivityRequest.md +12 -0
- package/docs/CreateSwapQuote201Response.md +17 -0
- package/docs/CreateSwapQuoteRequest.md +13 -0
- package/docs/DevelopersApi.md +5 -5
- package/docs/DevelopersWebhooksApi.md +8 -8
- package/docs/EstimatedEvmEip1559FeeSlow.md +1 -0
- package/docs/EstimatedEvmLegacyFeeSlow.md +1 -0
- package/docs/ExtendedTokenInfo.md +1 -1
- package/docs/FeeReserved.md +9 -0
- package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
- package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
- package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
- package/docs/ListEnableTokenPairs200Response.md +10 -0
- package/docs/ListSwapActivities200Response.md +10 -0
- package/docs/MaxFeeAmount.md +1 -1
- package/docs/MessageSignSource.md +1 -0
- package/docs/MpcContractCallSource.md +1 -0
- package/docs/MpcMessageSignSource.md +1 -0
- package/docs/MpcSigningGroup.md +1 -1
- package/docs/MpcTransferSource.md +1 -0
- package/docs/QueryGuardPubkey200ResponseAddressesInner.md +1 -1
- package/docs/SolContractCallAccount.md +11 -0
- package/docs/SolContractCallDestination.md +10 -0
- package/docs/SolContractCallInstruction.md +11 -0
- package/docs/StakingPoolId.md +12 -0
- package/docs/StakingPoolType.md +6 -0
- package/docs/StakingsApi.md +461 -13
- package/docs/SwapQuote.md +16 -0
- package/docs/SwapsApi.md +348 -0
- package/docs/TokenInfo.md +1 -1
- package/docs/TransactionDestination.md +1 -0
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionFixedFee.md +1 -1
- package/docs/TransactionRawTxInfo.md +1 -0
- package/docs/TransactionRbfSource.md +1 -0
- package/docs/TransactionRequestFee.md +1 -1
- package/docs/TransactionRequestFixedFee.md +1 -1
- package/docs/TransactionRequestUtxoFee.md +1 -1
- package/docs/TransactionSolContractAccount.md +11 -0
- package/docs/TransactionSolContractDestination.md +10 -0
- package/docs/TransactionSolContractInstruction.md +11 -0
- package/docs/TransactionTokeApproval.md +1 -1
- package/docs/TransactionUtxoChange.md +10 -0
- package/docs/TransactionsApi.md +16 -16
- package/docs/TransferSource.md +1 -0
- package/docs/TravelRuleApi.md +4 -4
- package/docs/WalletsApi.md +16 -16
- package/docs/WalletsExchangeWalletApi.md +1 -1
- package/docs/WalletsMPCWalletsApi.md +19 -19
- package/docs/WalletsSmartContractWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +1 -1
- package/package.json +2 -2
- package/docs/SwapSummary.md +0 -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 Phase-2 registration request. You can use it with the [Get Babylon Phase-2 registration details operation](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-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,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
|
+
|
package/docs/DevelopersApi.md
CHANGED
|
@@ -48,7 +48,7 @@ This endpoint does not need any parameter.
|
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
51
|
-
[OAuth2](../README.md#OAuth2)
|
|
51
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
117
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
167
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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)
|
|
64
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
114
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
166
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
226
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
332
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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
|
-
[OAuth2](../README.md#OAuth2)
|
|
394
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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)
|
|
446
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
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)
|
|
552
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
553
553
|
|
|
554
554
|
### HTTP request headers
|
|
555
555
|
|
|
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**max_fee_per_gas** | **String** | The maximum gas fee per gas unit used on the chain, in wei. |
|
|
8
8
|
**max_priority_fee_per_gas** | **String** | The maximum priority fee per gas unit used, in wei. The maximum priority fee represents the highest amount of miner tips that you are willing to pay for your transaction. |
|
|
9
9
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. |
|
|
10
|
+
**reserved_fee** | **String** | The estimated fee required for submitting the transaction data to L1 (Layer 1), measured in wei. | [optional]
|
|
10
11
|
|
|
11
12
|
|
|
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**gas_price** | **String** | The gas price, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions per gas unit used. |
|
|
8
8
|
**gas_limit** | **String** | The gas limit. It represents the maximum number of gas units that you are willing to pay for the execution of a transaction or Ethereum Virtual Machine (EVM) operation. The gas unit cost of each operation varies. |
|
|
9
|
+
**reserved_fee** | **String** | The estimated fee required for submitting the transaction data to L1 (Layer 1), measured in wei. | [optional]
|
|
9
10
|
|
|
10
11
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**token_id** | **String** | The token ID, which is the unique identifier of a token.
|
|
7
|
+
**token_id** | **String** | The token ID, which is the unique identifier of a token. |
|
|
8
8
|
**chain_id** | **String** | The ID of the chain on which the token operates. |
|
|
9
9
|
**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. | [optional]
|
|
10
10
|
**symbol** | **String** | The token symbol, which is the abbreviated name of a token. | [optional]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CoboWaas2.FeeReserved
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**reserved_fee** | **String** | The estimated fee required for submitting the transaction data to L1 (Layer 1), measured in wei. | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListBabylonAirdropRegistrations200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[BabylonAirdropRegistration]**](BabylonAirdropRegistration.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListBabylonEligibleAirdrops200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[BabylonEligibleAirdrop]**](BabylonEligibleAirdrop.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListBabylonEligibleStakings200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[ListBabylonEligibleStakings200ResponseDataInner]**](ListBabylonEligibleStakings200ResponseDataInner.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.ListBabylonEligibleStakings200ResponseDataInner
|
|
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
|
+
**btc_address** | [**StakingSource**](StakingSource.md) | | [optional]
|
|
9
|
+
**babylon_address** | [**StakingSource**](StakingSource.md) | | [optional]
|
|
10
|
+
**staked_amount** | **String** | The current amount of BTC staked. | [optional]
|
|
11
|
+
**status** | [**BabylonRegistrationStatus**](BabylonRegistrationStatus.md) | | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListBabylonStakingRegistrations200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[BabylonStakingRegistration]**](BabylonStakingRegistration.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListEnableTokenPairs200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[SwapTokenPair]**](SwapTokenPair.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListSwapActivities200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[SwapActivity]**](SwapActivity.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
package/docs/MaxFeeAmount.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
7
|
+
**max_fee_amount** | **String** | The maximum fee that you are willing to pay for the transaction. Provide the value without applying precision. The transaction will fail if the transaction fee exceeds the maximum fee. | [optional]
|
|
8
8
|
|
|
9
9
|
|
|
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**source_type** | [**MessageSignSourceType**](MessageSignSourceType.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
|
|
|
11
12
|
|
|
@@ -7,5 +7,6 @@ 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
|
|
|
11
12
|
|
|
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**source_type** | [**MessageSignSourceType**](MessageSignSourceType.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
|
|
|
11
12
|
|
package/docs/MpcSigningGroup.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**used_key_share_holder_group_id** | **String** | The ID of the Signing Group. |
|
|
7
|
+
**used_key_share_holder_group_id** | **String** | The ID of the Signing Group. |
|
|
8
8
|
**used_tss_node_ids** | **[String]** | The ID of the TSS Nodes that are required to participate in the signature. | [optional]
|
|
9
9
|
|
|
10
10
|
|
|
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
|
|
10
10
|
**included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
11
11
|
**excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
12
|
+
**mpc_used_key_share_holder_group** | [**MpcSigningGroup**](MpcSigningGroup.md) | | [optional]
|
|
12
13
|
|
|
13
14
|
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
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](/v2/api-references/wallets/list-enabled-chains). |
|
|
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
9
|
|
|
10
10
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.SolContractCallAccount
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pubkey** | **String** | The public key of the account. If the account is a signer of this transaction, this property must be the same as the value of the `source.address` property. |
|
|
8
|
+
**is_signer** | **Boolean** | Whether the account is the signer of this transaction: - `true`: The account is a signer. - `false`: The account is not a signer. |
|
|
9
|
+
**is_writable** | **Boolean** | Whether the account can be modified by the instruction: - `true`: The account can be modified by the instruction. - `false`: The account cannot be modified by the instruction. |
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.SolContractCallDestination
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
|
|
8
|
+
**instructions** | [**[SolContractCallInstruction]**](SolContractCallInstruction.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.SolContractCallInstruction
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**accounts** | [**[SolContractCallAccount]**](SolContractCallAccount.md) | |
|
|
8
|
+
**data** | **String** | The Base64-encoded instruction data used for interacting with a Solana program. |
|
|
9
|
+
**program_id** | **String** | The address of the Solana program (smart contract). |
|
|
10
|
+
|
|
11
|
+
|
package/docs/StakingPoolId.md
CHANGED
|
@@ -17,6 +17,18 @@
|
|
|
17
17
|
|
|
18
18
|
* `sky_farm_eth_usdc` (value: `"sky_farm_eth_usdc"`)
|
|
19
19
|
|
|
20
|
+
* `bithive_signet` (value: `"bithive_signet"`)
|
|
21
|
+
|
|
22
|
+
* `bithive` (value: `"bithive"`)
|
|
23
|
+
|
|
24
|
+
* `beacon_bera` (value: `"beacon_bera"`)
|
|
25
|
+
|
|
26
|
+
* `beacon_bera_testnet` (value: `"beacon_bera_testnet"`)
|
|
27
|
+
|
|
28
|
+
* `berachain_bgt` (value: `"berachain_bgt"`)
|
|
29
|
+
|
|
30
|
+
* `berachain_bgt_testnet` (value: `"berachain_bgt_testnet"`)
|
|
31
|
+
|
|
20
32
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
21
33
|
|
|
22
34
|
|
package/docs/StakingPoolType.md
CHANGED