@cobo/cobo-waas2 1.7.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.
- package/README.md +122 -29
- package/dist/ApiClient.js +11 -1
- package/dist/api/AddressBooksApi.js +7 -7
- package/dist/api/DevelopersApi.js +111 -1
- package/dist/api/DevelopersWebhooksApi.js +38 -38
- package/dist/api/OAuthApi.js +2 -2
- package/dist/api/PrimeBrokerApi.js +317 -0
- package/dist/api/StakingsApi.js +45 -42
- package/dist/api/TransactionsApi.js +131 -42
- package/dist/api/TravelRuleApi.js +216 -0
- package/dist/api/WalletsApi.js +152 -81
- package/dist/api/WalletsExchangeWalletApi.js +13 -13
- package/dist/api/WalletsMPCWalletsApi.js +189 -77
- package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
- package/dist/index.js +385 -7
- package/dist/model/Activity.js +29 -0
- package/dist/model/ActivityAction.js +30 -0
- package/dist/model/ActivityExtra.js +274 -0
- package/dist/model/AddressBalance.js +129 -0
- package/dist/model/AddressInfo.js +15 -2
- package/dist/model/AddressTransferDestination.js +37 -1
- package/dist/model/AddressesEventData.js +190 -0
- package/dist/model/ApiLogDetails.js +2 -2
- package/dist/model/ApprovalStatementStatus.js +81 -0
- package/dist/model/AssetBalance.js +6 -6
- package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
- package/dist/model/BabylonStakeExtra.js +1 -1
- package/dist/model/BabylonStakingActivityDetailExtra.js +165 -0
- package/dist/model/{TokenBalanceBalance.js → Balance.js} +28 -28
- package/dist/model/BaseContractCallSource.js +1 -1
- package/dist/model/BroadcastSignedTransactionsRequest.js +1 -1
- package/dist/model/CallbackMessage.js +288 -0
- package/dist/model/ChainInfo.js +2 -2
- package/dist/model/ChangeGuardPubkey200Response.js +110 -0
- package/dist/model/ContractCallParams.js +38 -2
- package/dist/model/CoreStakingActivityDetailExtra.js +164 -0
- package/dist/model/CreateAddressRequest.js +30 -4
- package/dist/model/CreateClaimActivity.js +2 -2
- package/dist/model/CreateClaimActivityRequest.js +3 -3
- package/dist/model/CreateKeyShareHolder.js +1 -1
- package/dist/model/CreateMpcVaultRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
- package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
- package/dist/model/CreateStakeActivity.js +4 -6
- package/dist/model/CreateStakeActivityExtra.js +1 -1
- package/dist/model/CreateStakeActivityRequest.js +5 -7
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/CreateWebhookEndpointRequest.js +2 -2
- package/dist/model/CustodialTransferSource.js +1 -1
- package/dist/model/DeleteGuardPubkey201Response.js +110 -0
- package/dist/model/DestinationWalletType.js +61 -0
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateClaimFee.js +1 -1
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +2 -2
- package/dist/model/EstimateStakeFee.js +5 -7
- package/dist/model/EstimateTransferFeeParams.js +2 -2
- package/dist/model/EthStakeEstimatedFee.js +13 -0
- package/dist/model/EthStakingActivityDetailExtra.js +142 -0
- package/dist/model/EvmContractCallDestination.js +1 -1
- package/dist/model/EvmEIP191MessageSignDestination.js +1 -1
- package/dist/model/EvmEIP712MessageSignDestination.js +1 -1
- package/dist/model/ExchangeTransferDestination.js +1 -1
- package/dist/model/ExchangeTransferSource.js +1 -1
- package/dist/model/ExtendedTokenInfo.js +3 -3
- package/dist/model/GetStakingEstimationFee201Response.js +6 -0
- package/dist/model/GetStakingEstimationFeeRequest.js +1 -1
- package/dist/model/GetTransactionLimitation200Response.js +143 -0
- package/dist/model/GuardPubkeyStatus.js +91 -0
- package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
- package/dist/model/ListCallbackMessages200Response.js +145 -0
- package/dist/model/ListKeyShareHolders200Response.js +123 -0
- package/dist/model/ListSupportedCountries200ResponseInner.js +140 -0
- package/dist/model/LockUtxosRequestUtxosInner.js +2 -2
- package/dist/model/MPCDelegate.js +1 -1
- package/dist/model/MPCVaultEventData.js +279 -0
- package/dist/model/MaxTransferableValue.js +1 -1
- package/dist/model/MessageSignDestination.js +70 -8
- package/dist/model/MessageSignDestinationType.js +12 -2
- package/dist/model/MessageSignParams.js +2 -2
- package/dist/model/MpcTransferSource.js +1 -1
- package/dist/model/OrgInfo.js +133 -0
- package/dist/model/Pagination.js +4 -4
- package/dist/model/QueryApprovalStatement200Response.js +122 -0
- package/dist/model/QueryGuardPubkey200Response.js +129 -0
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
- package/dist/model/RawMessageSignDestination.js +1 -1
- package/dist/model/RetryCallbackMessage201Response.js +83 -0
- package/dist/model/RootPubkey.js +1 -1
- package/dist/model/SafeContractCallSource.js +1 -1
- package/dist/model/SafeTransferSource.js +1 -1
- package/dist/model/SelectedEntityType.js +61 -0
- package/dist/model/SelfCustodyWallet.js +152 -0
- package/dist/model/SourceGroup.js +1 -1
- package/dist/model/StakingPoolId.js +5 -0
- package/dist/model/StakingPoolType.js +5 -0
- package/dist/model/SubWalletAssetBalance.js +6 -6
- package/dist/model/SubmitDepositTravelRuleInfo201Response.js +83 -0
- package/dist/model/SwapActivity.js +218 -0
- package/dist/model/SwapSummary.js +121 -0
- package/dist/model/SwapTokenPair.js +100 -0
- package/dist/model/TSSGroups.js +1 -1
- package/dist/model/TSSRequestWebhookEventData.js +18 -3
- package/dist/model/TokenBalance.js +8 -8
- package/dist/model/TokenInfo.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/TransactionApprovalDetail.js +121 -0
- package/dist/model/TransactionApprovalResult.js +66 -0
- package/dist/model/TransactionCustodialAssetWalletSource.js +1 -1
- package/dist/model/TransactionDepositFromAddressSource.js +1 -1
- package/dist/model/TransactionDepositFromLoopSource.js +1 -1
- package/dist/model/TransactionDepositFromWalletSource.js +1 -1
- package/dist/model/TransactionDepositToAddressDestination.js +17 -1
- package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
- package/dist/model/TransactionDepositToWalletDestination.js +1 -1
- package/dist/model/TransactionDestination.js +6 -0
- package/dist/model/TransactionDetail.js +4 -4
- package/dist/model/TransactionDetails.js +4 -4
- package/dist/model/TransactionEvmContractDestination.js +1 -1
- package/dist/model/TransactionExchangeWalletSource.js +1 -1
- package/dist/model/TransactionMPCWalletSource.js +1 -1
- package/dist/model/TransactionMessageSignEIP191Destination.js +1 -1
- package/dist/model/TransactionMessageSignEIP712Destination.js +1 -1
- package/dist/model/TransactionRawMessageSignDestination.js +1 -1
- package/dist/model/TransactionRawTxInfo.js +17 -4
- package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
- package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
- package/dist/model/TransactionRequestFixedFee.js +1 -1
- package/dist/model/TransactionRequestUtxoFee.js +1 -1
- package/dist/model/TransactionRoleApprovalDetail.js +152 -0
- package/dist/model/TransactionSelectedUtxo.js +123 -0
- package/dist/model/TransactionSmartContractSafeWalletSource.js +1 -1
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionTokeApproval.js +3 -3
- package/dist/model/TransactionTokenAmount.js +1 -1
- package/dist/model/TransactionTransferToAddressDestination.js +1 -1
- package/dist/model/TransactionTransferToWalletDestination.js +1 -1
- package/dist/model/TransactionUserApprovalDetail.js +162 -0
- package/dist/model/TransactionWebhookEventData.js +22 -7
- package/dist/model/TransferDestination.js +6 -0
- package/dist/model/TransferParams.js +38 -2
- package/dist/model/TravelRuleDepositExchangesOrVASP.js +168 -0
- package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +222 -0
- package/dist/model/TravelRuleDepositLegalEntity.js +171 -0
- package/dist/model/TravelRuleDepositNaturalEntity.js +186 -0
- package/dist/model/TravelRuleDepositRequest.js +128 -0
- package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +222 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +155 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +222 -0
- package/dist/model/TravelRuleWithdrawLegalEntity.js +144 -0
- package/dist/model/TravelRuleWithdrawNaturalEntity.js +159 -0
- package/dist/model/TravelRuleWithdrawRequest.js +128 -0
- package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +216 -0
- package/dist/model/TriggerTestWebhookEventRequest.js +1 -1
- package/dist/model/UpdateWebhookEndpointByIdRequest.js +1 -1
- package/dist/model/Vasp.js +141 -0
- package/dist/model/WalletInfoEventData.js +175 -0
- package/dist/model/WebhookEventData.js +135 -14
- package/dist/model/WebhookEventDataType.js +17 -2
- package/dist/model/WebhookEventType.js +23 -8
- package/docs/Activity.md +2 -0
- package/docs/ActivityAction.md +12 -0
- package/docs/ActivityExtra.md +20 -0
- package/docs/AddressBalance.md +10 -0
- package/docs/AddressBooksApi.md +4 -4
- package/docs/AddressInfo.md +2 -1
- package/docs/AddressTransferDestination.md +14 -0
- package/docs/AddressesEventData.md +29 -0
- package/docs/ApiLogDetails.md +1 -1
- package/docs/ApprovalStatementStatus.md +20 -0
- package/docs/AssetBalance.md +1 -1
- package/docs/BTCEIP191MessageSignDestination.md +10 -0
- package/docs/BabylonStakeExtra.md +1 -1
- package/docs/BabylonStakingActivityDetailExtra.md +14 -0
- package/docs/{TokenBalanceBalance.md → Balance.md} +5 -5
- package/docs/BroadcastSignedTransactionsRequest.md +1 -1
- package/docs/CallbackMessage.md +46 -0
- package/docs/ChainInfo.md +1 -1
- package/docs/ChangeGuardPubkey200Response.md +9 -0
- package/docs/ContractCallParams.md +15 -1
- package/docs/CoreStakingActivityDetailExtra.md +13 -0
- package/docs/CreateAddressRequest.md +4 -2
- package/docs/CreateClaimActivity.md +1 -1
- package/docs/CreateClaimActivityRequest.md +1 -1
- package/docs/CreateKeyShareHolder.md +1 -1
- package/docs/CreateMpcVaultRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
- package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
- package/docs/CreateStakeActivity.md +1 -1
- package/docs/CreateStakeActivityExtra.md +1 -1
- package/docs/CreateStakeActivityRequest.md +1 -1
- package/docs/CreateWalletParams.md +1 -1
- package/docs/CreateWebhookEndpointRequest.md +1 -1
- package/docs/DeleteGuardPubkey201Response.md +9 -0
- package/docs/DestinationWalletType.md +12 -0
- package/docs/DevelopersApi.md +119 -1
- package/docs/DevelopersWebhooksApi.md +23 -23
- package/docs/ErrorResponse.md +1 -1
- package/docs/EstimateClaimFee.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +2 -2
- package/docs/EstimateStakeFee.md +1 -1
- package/docs/EstimateTransferFeeParams.md +1 -1
- package/docs/EthStakeEstimatedFee.md +1 -0
- package/docs/EthStakingActivityDetailExtra.md +11 -0
- package/docs/ExtendedTokenInfo.md +1 -1
- package/docs/GetStakingEstimationFee201Response.md +1 -0
- package/docs/GetStakingEstimationFeeRequest.md +2 -2
- package/docs/GetTransactionLimitation200Response.md +12 -0
- package/docs/GuardPubkeyStatus.md +24 -0
- package/docs/ListAddressBalancesByToken200Response.md +10 -0
- package/docs/ListCallbackMessages200Response.md +10 -0
- package/docs/ListKeyShareHolders200Response.md +10 -0
- package/docs/ListSupportedCountries200ResponseInner.md +11 -0
- package/docs/LockUtxosRequestUtxosInner.md +1 -1
- package/docs/MPCVaultEventData.md +34 -0
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/MessageSignDestination.md +1 -0
- package/docs/MessageSignDestinationType.md +6 -2
- package/docs/MessageSignParams.md +1 -1
- package/docs/OAuthApi.md +1 -1
- package/docs/OrgInfo.md +11 -0
- package/docs/Pagination.md +2 -2
- package/docs/PrimeBrokerApi.md +318 -0
- package/docs/QueryApprovalStatement200Response.md +12 -0
- package/docs/QueryGuardPubkey200Response.md +11 -0
- package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
- package/docs/RetryCallbackMessage201Response.md +9 -0
- package/docs/RootPubkey.md +1 -1
- package/docs/SelectedEntityType.md +12 -0
- package/docs/SelfCustodyWallet.md +12 -0
- package/docs/SourceGroup.md +1 -1
- package/docs/StakingPoolId.md +2 -0
- package/docs/StakingPoolType.md +2 -0
- package/docs/StakingsApi.md +30 -28
- package/docs/SubWalletAssetBalance.md +1 -1
- package/docs/SubmitDepositTravelRuleInfo201Response.md +9 -0
- package/docs/SwapActivity.md +20 -0
- package/docs/SwapSummary.md +10 -0
- package/docs/SwapTokenPair.md +10 -0
- package/docs/TSSGroups.md +1 -1
- package/docs/TSSRequestWebhookEventData.md +7 -1
- package/docs/TokenBalance.md +2 -2
- package/docs/TokenInfo.md +1 -1
- package/docs/Transaction.md +2 -2
- package/docs/TransactionApprovalDetail.md +11 -0
- package/docs/TransactionApprovalResult.md +14 -0
- package/docs/TransactionDepositToAddressDestination.md +1 -0
- package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
- package/docs/TransactionDestination.md +1 -0
- package/docs/TransactionDetail.md +2 -2
- package/docs/TransactionDetails.md +2 -2
- package/docs/TransactionRawTxInfo.md +2 -1
- package/docs/TransactionRoleApprovalDetail.md +13 -0
- package/docs/TransactionSelectedUtxo.md +12 -0
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionTokeApproval.md +1 -1
- package/docs/TransactionTokenAmount.md +1 -1
- package/docs/TransactionUserApprovalDetail.md +15 -0
- package/docs/TransactionWebhookEventData.md +9 -3
- package/docs/TransactionsApi.md +129 -27
- package/docs/TransferDestination.md +14 -0
- package/docs/TransferParams.md +15 -1
- package/docs/TravelRuleApi.md +214 -0
- package/docs/TravelRuleDepositExchangesOrVASP.md +13 -0
- package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +29 -0
- package/docs/TravelRuleDepositLegalEntity.md +25 -0
- package/docs/TravelRuleDepositNaturalEntity.md +26 -0
- package/docs/TravelRuleDepositRequest.md +10 -0
- package/docs/TravelRuleDepositRequestTravelRuleInfo.md +16 -0
- package/docs/TravelRuleWithdrawExchangesOrVASP.md +12 -0
- package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +16 -0
- package/docs/TravelRuleWithdrawLegalEntity.md +12 -0
- package/docs/TravelRuleWithdrawNaturalEntity.md +13 -0
- package/docs/TravelRuleWithdrawRequest.md +10 -0
- package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +15 -0
- package/docs/TriggerTestWebhookEventRequest.md +1 -1
- package/docs/UpdateWebhookEndpointByIdRequest.md +1 -1
- package/docs/Vasp.md +11 -0
- package/docs/WalletInfoEventData.md +29 -0
- package/docs/WalletsApi.md +112 -47
- package/docs/WalletsExchangeWalletApi.md +7 -7
- package/docs/WalletsMPCWalletsApi.md +160 -46
- package/docs/WalletsSmartContractWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +17 -5
- package/docs/WebhookEventDataType.md +7 -1
- package/docs/WebhookEventType.md +14 -8
- package/package.json +2 -2
|
@@ -34,42 +34,57 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
|
|
|
34
34
|
* value: "wallets.transaction.created"
|
|
35
35
|
* @const
|
|
36
36
|
*/
|
|
37
|
-
_defineProperty(this, "transaction.created", "wallets.transaction.created");
|
|
37
|
+
_defineProperty(this, "wallets.transaction.created", "wallets.transaction.created");
|
|
38
38
|
/**
|
|
39
39
|
* value: "wallets.transaction.updated"
|
|
40
40
|
* @const
|
|
41
41
|
*/
|
|
42
|
-
_defineProperty(this, "transaction.updated", "wallets.transaction.updated");
|
|
42
|
+
_defineProperty(this, "wallets.transaction.updated", "wallets.transaction.updated");
|
|
43
43
|
/**
|
|
44
44
|
* value: "wallets.transaction.failed"
|
|
45
45
|
* @const
|
|
46
46
|
*/
|
|
47
|
-
_defineProperty(this, "transaction.failed", "wallets.transaction.failed");
|
|
47
|
+
_defineProperty(this, "wallets.transaction.failed", "wallets.transaction.failed");
|
|
48
48
|
/**
|
|
49
49
|
* value: "wallets.transaction.succeeded"
|
|
50
50
|
* @const
|
|
51
51
|
*/
|
|
52
|
-
_defineProperty(this, "transaction.succeeded", "wallets.transaction.succeeded");
|
|
52
|
+
_defineProperty(this, "wallets.transaction.succeeded", "wallets.transaction.succeeded");
|
|
53
53
|
/**
|
|
54
54
|
* value: "wallets.mpc.tss_request.created"
|
|
55
55
|
* @const
|
|
56
56
|
*/
|
|
57
|
-
_defineProperty(this, "mpc.tss_request.created", "wallets.mpc.tss_request.created");
|
|
57
|
+
_defineProperty(this, "wallets.mpc.tss_request.created", "wallets.mpc.tss_request.created");
|
|
58
58
|
/**
|
|
59
59
|
* value: "wallets.mpc.tss_request.updated"
|
|
60
60
|
* @const
|
|
61
61
|
*/
|
|
62
|
-
_defineProperty(this, "mpc.tss_request.updated", "wallets.mpc.tss_request.updated");
|
|
62
|
+
_defineProperty(this, "wallets.mpc.tss_request.updated", "wallets.mpc.tss_request.updated");
|
|
63
63
|
/**
|
|
64
64
|
* value: "wallets.mpc.tss_request.failed"
|
|
65
65
|
* @const
|
|
66
66
|
*/
|
|
67
|
-
_defineProperty(this, "mpc.tss_request.failed", "wallets.mpc.tss_request.failed");
|
|
67
|
+
_defineProperty(this, "wallets.mpc.tss_request.failed", "wallets.mpc.tss_request.failed");
|
|
68
68
|
/**
|
|
69
69
|
* value: "wallets.mpc.tss_request.succeeded"
|
|
70
70
|
* @const
|
|
71
71
|
*/
|
|
72
|
-
_defineProperty(this, "mpc.tss_request.succeeded", "wallets.mpc.tss_request.succeeded");
|
|
72
|
+
_defineProperty(this, "wallets.mpc.tss_request.succeeded", "wallets.mpc.tss_request.succeeded");
|
|
73
|
+
/**
|
|
74
|
+
* value: "wallets.addresses.created"
|
|
75
|
+
* @const
|
|
76
|
+
*/
|
|
77
|
+
_defineProperty(this, "wallets.addresses.created", "wallets.addresses.created");
|
|
78
|
+
/**
|
|
79
|
+
* value: "wallets.created"
|
|
80
|
+
* @const
|
|
81
|
+
*/
|
|
82
|
+
_defineProperty(this, "wallets.created", "wallets.created");
|
|
83
|
+
/**
|
|
84
|
+
* value: "mpc_vaults.created"
|
|
85
|
+
* @const
|
|
86
|
+
*/
|
|
87
|
+
_defineProperty(this, "mpc_vaults.created", "mpc_vaults.created");
|
|
73
88
|
/**
|
|
74
89
|
* value: "unknown_default_open_api"
|
|
75
90
|
* @const
|
package/docs/Activity.md
CHANGED
|
@@ -13,11 +13,13 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**pool_id** | [**StakingPoolId**](StakingPoolId.md) | |
|
|
14
14
|
**token_id** | **String** | The token ID. |
|
|
15
15
|
**staking_id** | **String** | The ID of the corresponding staking position. | [optional]
|
|
16
|
+
**request_ids** | **[String]** | The request IDs of the corresponding transactions of the activity. | [optional]
|
|
16
17
|
**amount** | **String** | The staking amount. |
|
|
17
18
|
**transaction_ids** | **[String]** | The IDs of the corresponding transactions of the activity. | [optional]
|
|
18
19
|
**timeline** | [**[ActivityTimeline]**](ActivityTimeline.md) | The timeline of the activity. | [optional]
|
|
19
20
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
|
|
20
21
|
**status** | [**ActivityStatus**](ActivityStatus.md) | |
|
|
22
|
+
**extra** | [**ActivityExtra**](ActivityExtra.md) | | [optional]
|
|
21
23
|
**created_timestamp** | **Number** | The time when the activity was created. | [optional]
|
|
22
24
|
**updated_timestamp** | **Number** | The time when the activity was last updated. | [optional]
|
|
23
25
|
|
package/docs/ActivityAction.md
CHANGED
|
@@ -17,6 +17,18 @@
|
|
|
17
17
|
|
|
18
18
|
* `UnstakeETH` (value: `"UnstakeETH"`)
|
|
19
19
|
|
|
20
|
+
* `ApproveUSDC` (value: `"ApproveUSDC"`)
|
|
21
|
+
|
|
22
|
+
* `ConvertToUSDS` (value: `"ConvertToUSDS"`)
|
|
23
|
+
|
|
24
|
+
* `ApproveUSDS` (value: `"ApproveUSDS"`)
|
|
25
|
+
|
|
26
|
+
* `DepositUSDS` (value: `"DepositUSDS"`)
|
|
27
|
+
|
|
28
|
+
* `WithdrawUSDS` (value: `"WithdrawUSDS"`)
|
|
29
|
+
|
|
30
|
+
* `ConvertToUSDC` (value: `"ConvertToUSDC"`)
|
|
31
|
+
|
|
20
32
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
21
33
|
|
|
22
34
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CoboWaas2.ActivityExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
8
|
+
**finality_provider_public_key** | **String** | The public key of the finality provider. | [optional]
|
|
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](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
|
+
**param_version** | **Number** | The version of babylon global parameters. | [optional]
|
|
12
|
+
**withdraw_from_type** | [**ActivityType**](ActivityType.md) | | [optional]
|
|
13
|
+
**provider_name** | **String** | The name of the provider. | [optional]
|
|
14
|
+
**validator_pubkeys** | **[String]** | A list of public keys associated with the Ethereum validators for this unstaking operation. | [optional]
|
|
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 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
|
+
|
|
20
|
+
|
package/docs/AddressBooksApi.md
CHANGED
|
@@ -49,12 +49,12 @@ apiInstance.listAddressBooks(chain_id, opts).then((data) => {
|
|
|
49
49
|
|
|
50
50
|
Name | Type | Description | Notes
|
|
51
51
|
------------- | ------------- | ------------- | -------------
|
|
52
|
-
**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). |
|
|
52
|
+
**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). |
|
|
53
53
|
**address** | **String**| The wallet address. | [optional]
|
|
54
54
|
**label** | **String**| The address label. | [optional]
|
|
55
55
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
56
|
-
**before** | **String**|
|
|
57
|
-
**after** | **String**|
|
|
56
|
+
**before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned. | [optional]
|
|
57
|
+
**after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. | [optional]
|
|
58
58
|
|
|
59
59
|
### Return type
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ Name | Type | Description | Notes
|
|
|
62
62
|
|
|
63
63
|
### Authorization
|
|
64
64
|
|
|
65
|
-
[
|
|
65
|
+
[OAuth2](../README.md#OAuth2)
|
|
66
66
|
|
|
67
67
|
### HTTP request headers
|
|
68
68
|
|
package/docs/AddressInfo.md
CHANGED
|
@@ -5,12 +5,13 @@
|
|
|
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
|
**memo** | **String** | The memo code. | [optional]
|
|
10
10
|
**path** | **String** | The derivation path of the address. This property applies to MPC Wallets only. To learn the meaning of each level in the path, see [Path levels](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#path-levels). | [optional]
|
|
11
11
|
**encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
|
|
12
12
|
**pubkey** | **String** | The public key of the address. This property applies to MPC Wallets only. | [optional]
|
|
13
13
|
**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]
|
|
14
15
|
**taproot_script_tree_hash** | **String** | The information about the new address. | [optional]
|
|
15
16
|
**taproot_internal_address** | **String** | The Taproot address before tweaking. | [optional]
|
|
16
17
|
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# CoboWaas2.AddressesEventData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
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]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Enum: DataTypeEnum
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* `Transaction` (value: `"Transaction"`)
|
|
16
|
+
|
|
17
|
+
* `TSSRequest` (value: `"TSSRequest"`)
|
|
18
|
+
|
|
19
|
+
* `Addresses` (value: `"Addresses"`)
|
|
20
|
+
|
|
21
|
+
* `WalletInfo` (value: `"WalletInfo"`)
|
|
22
|
+
|
|
23
|
+
* `MPCVault` (value: `"MPCVault"`)
|
|
24
|
+
|
|
25
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
package/docs/ApiLogDetails.md
CHANGED
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**status_code** | **Number** | The HTTP status code returned by the API request. |
|
|
11
11
|
**ip_address** | **String** | The client's IP address that made the API request. |
|
|
12
12
|
**request_timestamp** | **Number** | The time when the API request was created, in Unix timestamp format, measured in milliseconds. |
|
|
13
|
-
**api_key** | **String** | The API key used to call the API. For more details, refer to [API key](/v2/guides/overview/cobo-auth#api-key). |
|
|
13
|
+
**api_key** | **String** | The API key used to call the API. For more details, refer to [API key](https://www.cobo.com/developers/v2/guides/overview/cobo-auth#api-key). |
|
|
14
14
|
**response_body** | **String** | The response body of the API request. |
|
|
15
15
|
**query_params** | **String** | The query parameters of the API request. |
|
|
16
16
|
**request_body** | **String** | The request body of the API request. |
|
|
@@ -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
|
+
|
package/docs/AssetBalance.md
CHANGED
|
@@ -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** | [**
|
|
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,6 +7,6 @@ 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. |
|
|
9
9
|
**stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. |
|
|
10
|
-
**auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. The default value is `true`. - `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. The default value is `true`. - `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
|
|
|
12
12
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.BabylonStakingActivityDetailExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
8
|
+
**finality_provider_public_key** | **String** | The public key of the finality provider. | [optional]
|
|
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](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
|
+
**param_version** | **Number** | The version of babylon global parameters. | [optional]
|
|
12
|
+
**withdraw_from_type** | [**ActivityType**](ActivityType.md) | | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# CoboWaas2.
|
|
1
|
+
# CoboWaas2.Balance
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**total** | **String** | The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
8
|
-
**available** | **String** | The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
9
|
-
**pending** | **String** | The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
10
|
-
**locked** | **String** | For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
7
|
+
**total** | **String** | The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
8
|
+
**available** | **String** | The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details. |
|
|
9
|
+
**pending** | **String** | The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
10
|
+
**locked** | **String** | For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
|
|
11
11
|
|
|
12
12
|
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**transaction_ids** | **[String]** | The transaction IDs of the signed transactions to be broadcast. You can retrieve the transactions corresponding to a staking activity by calling [Get staking activity details](/v2/api-references/stakings/get-staking-activity-details). | [optional]
|
|
7
|
+
**transaction_ids** | **[String]** | The transaction IDs of the signed transactions to be broadcast. You can retrieve the transactions corresponding to a staking activity by calling [Get staking activity details](https://www.cobo.com/developers/v2/api-references/stakings/get-staking-activity-details). | [optional]
|
|
8
8
|
|
|
9
9
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# CoboWaas2.CallbackMessage
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**id** | **String** | The callback message ID. |
|
|
8
|
+
**created_timestamp** | **Number** | The time when the callback message was created, in Unix timestamp format, measured in milliseconds. |
|
|
9
|
+
**updated_timestamp** | **Number** | The time when the callback message was updated, in Unix timestamp format, measured in milliseconds. |
|
|
10
|
+
**request_id** | **String** | The request ID of the transaction. |
|
|
11
|
+
**transaction_id** | **String** | The transaction ID. |
|
|
12
|
+
**wallet_id** | **String** | The wallet ID. | [optional]
|
|
13
|
+
**url** | **String** | The callback endpoint URL. |
|
|
14
|
+
**data** | [**Transaction**](Transaction.md) | |
|
|
15
|
+
**status** | **String** | The callback message status. Possible values include `Denied`, `Approved`, and `Failed`. |
|
|
16
|
+
**result** | **String** | The callback message result. Possible values include `ok` and `deny`. | [optional]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Enum: StatusEnum
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
* `Denied` (value: `"Denied"`)
|
|
24
|
+
|
|
25
|
+
* `Approved` (value: `"Approved"`)
|
|
26
|
+
|
|
27
|
+
* `Failed` (value: `"Failed"`)
|
|
28
|
+
|
|
29
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Enum: ResultEnum
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
* `ok` (value: `"ok"`)
|
|
39
|
+
|
|
40
|
+
* `deny` (value: `"deny"`)
|
|
41
|
+
|
|
42
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
package/docs/ChainInfo.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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](/v2/api-references/wallets/list-enabled-chains). |
|
|
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
8
|
**symbol** | **String** | The chain symbol, which is the abbreviated name of a chain. | [optional]
|
|
9
9
|
**icon_url** | **String** | The URL of the chain icon. | [optional]
|
|
10
10
|
**explorer_tx_url** | **String** | The transaction URL pattern on the blockchain explorer. You can use it to concatenate the transaction URLs. | [optional]
|
|
@@ -5,12 +5,26 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**request_id** | **String** | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. |
|
|
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
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
10
10
|
**destination** | [**ContractCallDestination**](ContractCallDestination.md) | |
|
|
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
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.CoreStakingActivityDetailExtra
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
|
|
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 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
|
+
|
|
13
|
+
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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](/v2/api-references/wallets/list-enabled-chains). |
|
|
8
|
-
**count** | **Number** | The number of addresses to create. | [default to 1]
|
|
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. 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
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
8
|
-
**staking_id** | **String** | The ID of the staking position. You can retrieve a list of staking positions by calling [List staking positions](/v2/api-references/stakings/list-staking-positions). |
|
|
8
|
+
**staking_id** | **String** | The ID of the staking position. You can retrieve a list of staking positions by calling [List staking positions](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions). |
|
|
9
9
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
|
|
10
10
|
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
8
|
-
**staking_id** | **String** | The ID of the staking position. You can retrieve a list of staking positions by calling [List staking positions](/v2/api-references/stakings/list-staking-positions). |
|
|
8
|
+
**staking_id** | **String** | The ID of the staking position. You can retrieve a list of staking positions by calling [List staking positions](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions). |
|
|
9
9
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
|
|
10
10
|
**app_initiator** | **String** | The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | Key share holder's name. | [optional]
|
|
8
8
|
**type** | [**KeyShareHolderType**](KeyShareHolderType.md) | | [optional]
|
|
9
|
-
**tss_node_id** | **String** | Key share holder's TSS Node ID. You can obtain the TSS Node ID using either mobile co-signer or
|
|
9
|
+
**tss_node_id** | **String** | Key share holder's TSS Node ID. You can obtain the TSS Node ID using either mobile co-signer or server co-signer. See the \"Primary Purposes\" row on the table in [Create a Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#create-a-main-group). | [optional]
|
|
10
10
|
**signer** | **Boolean** | Whether the key share holder has been selected as the designated transaction signer. For example, in a 2-3 [Threshold Signature Scheme (TSS)](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#threshold-signature-scheme-tss), Cobo will serve as one signer, and you can choose one of the other two key share holders to act as the second transaction signer. - `true`: The key share holder is a designated transaction signer. - `false`: The key share holder is not a designated transaction signer. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**project_id** | **String** | The project ID, which you can retrieve by calling [List all projects](/v2/api-references/wallets--mpc-wallets/list-all-projects). **Notes:** 1. If you set `vault_type` to `OrgControlled`, the value of `project_id` will be ignored. 2. If you set `vault_type` to `UserControlled`, then `project_id` is required. | [optional]
|
|
7
|
+
**project_id** | **String** | The project ID, which you can retrieve by calling [List all projects](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-projects). **Notes:** 1. If you set `vault_type` to `OrgControlled`, the value of `project_id` will be ignored. 2. If you set `vault_type` to `UserControlled`, then `project_id` is required. | [optional]
|
|
8
8
|
**name** | **String** | The vault name. |
|
|
9
9
|
**vault_type** | [**MPCVaultType**](MPCVaultType.md) | |
|
|
10
10
|
|
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
10
|
+
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
11
11
|
|
|
12
12
|
|
|
@@ -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
|
+
|
|
@@ -9,6 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**pool_id** | [**StakingPoolId**](StakingPoolId.md) | |
|
|
10
10
|
**amount** | **String** | The amount to stake. |
|
|
11
11
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
|
|
12
|
-
**extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
|
|
12
|
+
**extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | | [optional]
|
|
13
13
|
|
|
14
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. |
|
|
9
9
|
**stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. |
|
|
10
|
-
**auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. The default value is `true`. - `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. The default value is `true`. - `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
|
**provider_name** | **String** | The name of the provider. |
|
|
12
12
|
**timelock** | **Number** | The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. |
|
|
13
13
|
**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]
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**pool_id** | [**StakingPoolId**](StakingPoolId.md) | |
|
|
10
10
|
**amount** | **String** | The amount to stake. |
|
|
11
11
|
**fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
|
|
12
|
-
**extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
|
|
12
|
+
**extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | | [optional]
|
|
13
13
|
**app_initiator** | **String** | The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
|
|
14
14
|
|
|
15
15
|
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | The wallet name. |
|
|
8
8
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
9
9
|
**wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
10
|
-
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
10
|
+
**vault_id** | **String** | The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization. |
|
|
11
11
|
**exchange_id** | [**ExchangeId**](ExchangeId.md) | |
|
|
12
12
|
**apikey** | **String** | The API key of your exchange account. |
|
|
13
13
|
**secret** | **String** | The API secret of your exchange account. |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**url** | **String** | The webhook endpoint URL. |
|
|
8
|
-
**subscribed_events** | [**[WebhookEventType]**](WebhookEventType.md) | The event types you want to subscribe to for this webhook endpoint. You can call [Get webhook event types](/v2/api-references/developers--webhooks/get-webhook-event-types) to retrieve all available event types. |
|
|
8
|
+
**subscribed_events** | [**[WebhookEventType]**](WebhookEventType.md) | The event types you want to subscribe to for this webhook endpoint. You can call [Get webhook event types](https://www.cobo.com/developers/v2/api-references/developers--webhooks/get-webhook-event-types) to retrieve all available event types. |
|
|
9
9
|
**description** | **String** | The description of the webhook endpoint. | [optional]
|
|
10
10
|
|
|
11
11
|
|