@cobo/cobo-waas2 1.27.0 → 1.28.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 +33 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +2 -2
- package/dist/api/AutoSweepApi.js +4 -4
- package/dist/api/OAuthApi.js +4 -4
- package/dist/api/PaymentApi.js +491 -36
- package/dist/api/StakingsApi.js +44 -2
- package/dist/api/SwapsApi.js +2 -2
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/api/WalletsApi.js +14 -14
- package/dist/index.js +154 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationRecord.js +193 -0
- package/dist/model/AllocationRequest.js +167 -0
- package/dist/model/BabylonCreateStakingExpansion.js +157 -0
- package/dist/model/BabylonStakeExtra.js +26 -0
- package/dist/model/BabylonStakingRegistration.js +1 -1
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BatchAllocation.js +190 -0
- package/dist/model/BatchAllocationDetail.js +188 -0
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/ContractCallDestination.js +42 -8
- package/dist/model/ContractCallDestinationType.js +5 -0
- package/dist/model/CosmosContractCallDestination.js +0 -13
- package/dist/model/CreateBatchAllocationRequest.js +142 -0
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateExchangeWalletParams.js +2 -2
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePaymentOrderRequest.js +115 -68
- package/dist/model/CreatePayoutRequest.js +192 -0
- package/dist/model/CreateRefundRequest.js +3 -3
- package/dist/model/CreateSafeWalletParams.js +1 -1
- package/dist/model/CreateSettlement.js +1 -1
- package/dist/model/CreateSettlementRequestRequest.js +1 -1
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +12 -0
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/GetExchangeRate200Response.js +2 -2
- package/dist/model/LinkDisplayInfo.js +13 -0
- package/dist/model/ListAllocations200Response.js +123 -0
- package/dist/model/ListBatchAllocations200Response.js +123 -0
- package/dist/model/ListPayoutItems200Response.js +123 -0
- package/dist/model/ListPayouts200Response.js +123 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/MerchantBalance.js +28 -2
- package/dist/model/Order.js +135 -102
- package/dist/model/OrderLinkBusinessInfo.js +151 -87
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +4 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +125 -0
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentAllocationAmount.js +125 -0
- package/dist/model/PaymentOrderEventData.js +198 -145
- package/dist/model/PaymentPayout.js +250 -0
- package/dist/model/PaymentPayoutDetail.js +248 -0
- package/dist/model/PaymentPayoutEvent.js +433 -0
- package/dist/model/PaymentPayoutItem.js +298 -0
- package/dist/model/PaymentPayoutItemDetail.js +298 -0
- package/dist/model/PaymentPayoutItemStatus.js +76 -0
- package/dist/model/PaymentPayoutParam.js +165 -0
- package/dist/model/PaymentPayoutStatus.js +81 -0
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentSourceType.js +61 -0
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +28 -2
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Stakings.js +33 -6
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapActivity.js +1 -1
- package/dist/model/SwapActivityDetail.js +2 -2
- package/dist/model/SwapActivityTimeline.js +1 -1
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionCosmosContractDestination.js +0 -13
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +106 -42
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/AddressBooksApi.md +1 -1
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationRecord.md +15 -0
- package/docs/AllocationRequest.md +13 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/BabylonCreateStakingExpansion.md +12 -0
- package/docs/BabylonStakeExtra.md +2 -0
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BatchAllocation.md +14 -0
- package/docs/BatchAllocationDetail.md +14 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/ContractCallDestination.md +1 -0
- package/docs/ContractCallDestinationType.md +2 -0
- package/docs/CosmosContractCallDestination.md +0 -1
- package/docs/CreateBatchAllocationRequest.md +10 -0
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +15 -11
- package/docs/CreatePayoutRequest.md +14 -0
- package/docs/CreateRefundRequest.md +3 -3
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSettlement.md +1 -1
- package/docs/CreateSettlementRequestRequest.md +1 -1
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateStakeActivityExtra.md +2 -0
- package/docs/CreateWalletParams.md +1 -1
- package/docs/GetExchangeRate200Response.md +1 -1
- package/docs/LinkDisplayInfo.md +1 -0
- package/docs/ListAllocations200Response.md +10 -0
- package/docs/ListBatchAllocations200Response.md +10 -0
- package/docs/ListPayoutItems200Response.md +10 -0
- package/docs/ListPayouts200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/MerchantBalance.md +4 -2
- package/docs/OAuthApi.md +2 -2
- package/docs/Order.md +16 -13
- package/docs/OrderLinkBusinessInfo.md +11 -7
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
- package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +10 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentAllocationAmount.md +10 -0
- package/docs/PaymentApi.md +527 -20
- package/docs/PaymentOrderEventData.md +19 -14
- package/docs/PaymentPayout.md +19 -0
- package/docs/PaymentPayoutDetail.md +19 -0
- package/docs/PaymentPayoutEvent.md +65 -0
- package/docs/PaymentPayoutItem.md +22 -0
- package/docs/PaymentPayoutItemDetail.md +22 -0
- package/docs/PaymentPayoutItemStatus.md +18 -0
- package/docs/PaymentPayoutParam.md +13 -0
- package/docs/PaymentPayoutStatus.md +20 -0
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentSourceType.md +12 -0
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +4 -2
- package/docs/RefundLinkBusinessInfo.md +1 -1
- package/docs/Stakings.md +2 -1
- package/docs/StakingsApi.md +54 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapActivity.md +1 -1
- package/docs/SwapActivityDetail.md +1 -1
- package/docs/SwapActivityTimeline.md +1 -1
- package/docs/SwapsApi.md +1 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionCosmosContractDestination.md +0 -1
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +3 -3
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +7 -7
- package/docs/WebhookEventData.md +21 -13
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
package/dist/api/StakingsApi.js
CHANGED
|
@@ -9,6 +9,7 @@ var _Activity = _interopRequireDefault(require("../model/Activity"));
|
|
|
9
9
|
var _ActivityStatus = _interopRequireDefault(require("../model/ActivityStatus"));
|
|
10
10
|
var _ActivityType = _interopRequireDefault(require("../model/ActivityType"));
|
|
11
11
|
var _BabylonAirdropRegistration = _interopRequireDefault(require("../model/BabylonAirdropRegistration"));
|
|
12
|
+
var _BabylonCreateStakingExpansion = _interopRequireDefault(require("../model/BabylonCreateStakingExpansion"));
|
|
12
13
|
var _BabylonStakingRegistration = _interopRequireDefault(require("../model/BabylonStakingRegistration"));
|
|
13
14
|
var _CreateBabylonAirdropRegistration201Response = _interopRequireDefault(require("../model/CreateBabylonAirdropRegistration201Response"));
|
|
14
15
|
var _CreateBabylonAirdropRegistrationRequest = _interopRequireDefault(require("../model/CreateBabylonAirdropRegistrationRequest"));
|
|
@@ -106,11 +107,52 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Expand Babylon BTC staking
|
|
112
|
+
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain has a unique finality provider public key at most. The system first checks whether the provided BTC staking position is active. If active, it creates a new BTC staking position for the Phase-3 expansion. The expansion is processed asynchronously and may take some time to complete. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
113
|
+
* @param {Object} opts Optional parameters
|
|
114
|
+
* @param {module:model/BabylonCreateStakingExpansion} [BabylonCreateStakingExpansion] The request body to expand Babylon BTC staking to Phase-3
|
|
115
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Stakings} and HTTP response
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "createBabylonStakingExpansionWithHttpInfo",
|
|
119
|
+
value: function createBabylonStakingExpansionWithHttpInfo(opts) {
|
|
120
|
+
opts = opts || {};
|
|
121
|
+
var postBody = opts['BabylonCreateStakingExpansion'];
|
|
122
|
+
if (postBody && postBody.toJSON) {
|
|
123
|
+
postBody = postBody.toJSON();
|
|
124
|
+
}
|
|
125
|
+
var pathParams = {};
|
|
126
|
+
var queryParams = {};
|
|
127
|
+
var headerParams = {};
|
|
128
|
+
var formParams = {};
|
|
129
|
+
var authNames = ['CoboAuth'];
|
|
130
|
+
var contentTypes = ['application/json'];
|
|
131
|
+
var accepts = ['application/json'];
|
|
132
|
+
var returnType = _Stakings["default"];
|
|
133
|
+
return this.apiClient.callApi('/stakings/protocols/babylon/stakings/expansions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Expand Babylon BTC staking
|
|
138
|
+
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain has a unique finality provider public key at most. The system first checks whether the provided BTC staking position is active. If active, it creates a new BTC staking position for the Phase-3 expansion. The expansion is processed asynchronously and may take some time to complete. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
139
|
+
* @param {Object} opts Optional parameters
|
|
140
|
+
* @param {module:model/BabylonCreateStakingExpansion} opts.BabylonCreateStakingExpansion The request body to expand Babylon BTC staking to Phase-3
|
|
141
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Stakings}
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "createBabylonStakingExpansion",
|
|
145
|
+
value: function createBabylonStakingExpansion(opts) {
|
|
146
|
+
return this.createBabylonStakingExpansionWithHttpInfo(opts).then(function (response_and_data) {
|
|
147
|
+
return response_and_data.data;
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
|
|
109
151
|
/**
|
|
110
152
|
* Register for Babylon Phase-2
|
|
111
153
|
* This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions-eligible-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
112
154
|
* @param {Object} opts Optional parameters
|
|
113
|
-
* @param {module:model/CreateBabylonStakingRegistrationRequest} [CreateBabylonStakingRegistrationRequest] The request body to transit Babylon BTC staking to
|
|
155
|
+
* @param {module:model/CreateBabylonStakingRegistrationRequest} [CreateBabylonStakingRegistrationRequest] The request body to transit Babylon BTC staking to Phase-2
|
|
114
156
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateBabylonStakingRegistration201Response} and HTTP response
|
|
115
157
|
*/
|
|
116
158
|
}, {
|
|
@@ -136,7 +178,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
136
178
|
* Register for Babylon Phase-2
|
|
137
179
|
* This operation initiates a Babylon Phase-2 registration request. Before calling this operation, please ensure the following: - The staking position is eligible for the Babylon Phase-2 and has not been registered. You can call the [List staking positions eligible for Babylon Phase-2](https://www.cobo.com/developers/v2/api-references/stakings/list-staking-positions-eligible-for-babylon-phase-2) operation to check the registration status. - The Babylon address has enough asset to pay for the registration fee. - The Babylon address must be a Babylon address in an MPC Wallet in your organization. The system first checks whether the provided address is eligible for Phase-2. If eligible, it creates a unique registration ID, which can be used to track the status. The registration is processed asynchronously and may take some time to complete. It is recommended that you regularly call the [Get Babylon Phase-2 registration details](https://www.cobo.com/developers/v2/api-references/stakings/get-babylon-phase-2-registration-details) operation to check the status and handle registration accordingly. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
138
180
|
* @param {Object} opts Optional parameters
|
|
139
|
-
* @param {module:model/CreateBabylonStakingRegistrationRequest} opts.CreateBabylonStakingRegistrationRequest The request body to transit Babylon BTC staking to
|
|
181
|
+
* @param {module:model/CreateBabylonStakingRegistrationRequest} opts.CreateBabylonStakingRegistrationRequest The request body to transit Babylon BTC staking to Phase-2
|
|
140
182
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateBabylonStakingRegistration201Response}
|
|
141
183
|
*/
|
|
142
184
|
}, {
|
package/dist/api/SwapsApi.js
CHANGED
|
@@ -92,7 +92,7 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Estimate swap fee
|
|
95
|
-
* This operation estimates the network fee of a swap activity. You can use this operation to estimate the network fee before initiating swap activities from MPC Wallets or Web3 Wallets. It requires a valid `wallet_id` and `quote_id`, so you need to [get a swap quote](https://www.cobo.com/developers/v2/api-references/swaps/get-swap-quote) first.
|
|
95
|
+
* This operation estimates the network fee of a swap activity. You can use this operation to estimate the network fee before initiating swap activities from MPC Wallets or Custodial Wallets (Web3 Wallets). It requires a valid `wallet_id` and `quote_id`, so you need to [get a swap quote](https://www.cobo.com/developers/v2/api-references/swaps/get-swap-quote) first.
|
|
96
96
|
* @param {module:model/SwapEstimateFee} SwapEstimateFee The request body for estimating the network fee of a swap activity.
|
|
97
97
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EstimatedFee} and HTTP response
|
|
98
98
|
*/
|
|
@@ -120,7 +120,7 @@ var SwapsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Estimate swap fee
|
|
123
|
-
* This operation estimates the network fee of a swap activity. You can use this operation to estimate the network fee before initiating swap activities from MPC Wallets or Web3 Wallets. It requires a valid `wallet_id` and `quote_id`, so you need to [get a swap quote](https://www.cobo.com/developers/v2/api-references/swaps/get-swap-quote) first.
|
|
123
|
+
* This operation estimates the network fee of a swap activity. You can use this operation to estimate the network fee before initiating swap activities from MPC Wallets or Custodial Wallets (Web3 Wallets). It requires a valid `wallet_id` and `quote_id`, so you need to [get a swap quote](https://www.cobo.com/developers/v2/api-references/swaps/get-swap-quote) first.
|
|
124
124
|
* @param {module:model/SwapEstimateFee} SwapEstimateFee The request body for estimating the network fee of a swap activity.
|
|
125
125
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EstimatedFee}
|
|
126
126
|
*/
|
|
@@ -203,7 +203,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Call smart contract
|
|
206
|
-
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
206
|
+
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
207
207
|
* @param {Object} opts Optional parameters
|
|
208
208
|
* @param {module:model/ContractCallParams} [ContractCallParams] The request body for making a contract call.
|
|
209
209
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateTransferTransaction201Response} and HTTP response
|
|
@@ -229,7 +229,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Call smart contract
|
|
232
|
-
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
232
|
+
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
233
233
|
* @param {Object} opts Optional parameters
|
|
234
234
|
* @param {module:model/ContractCallParams} opts.ContractCallParams The request body for making a contract call.
|
|
235
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateTransferTransaction201Response}
|
|
@@ -244,7 +244,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Sign message
|
|
247
|
-
* This operation creates a transaction to sign the provided message using cryptographic techniques. In some scenarios, you want to sign a message for identity authentication or transaction approval. You need to provide details such as the source address, destination address, and the message to be signed. A transaction request for tracking is returned upon successful operation. You can get the signature result by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information). <Note> This operation only supports message signing transactions from the following wallets and chains: - MPC Wallets: BTC, EVM-compatible chains, and Cosmos. - Web3 Wallets: EVM-compatible chains. </Note>
|
|
247
|
+
* This operation creates a transaction to sign the provided message using cryptographic techniques. In some scenarios, you want to sign a message for identity authentication or transaction approval. You need to provide details such as the source address, destination address, and the message to be signed. A transaction request for tracking is returned upon successful operation. You can get the signature result by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information). <Note> This operation only supports message signing transactions from the following wallets and chains: - MPC Wallets: BTC, EVM-compatible chains, and Cosmos. - Custodial Wallets (Web3 Wallets): EVM-compatible chains. </Note>
|
|
248
248
|
* @param {Object} opts Optional parameters
|
|
249
249
|
* @param {module:model/MessageSignParams} [MessageSignParams] The request body to create a message signing transaction
|
|
250
250
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateTransferTransaction201Response} and HTTP response
|
|
@@ -270,7 +270,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* Sign message
|
|
273
|
-
* This operation creates a transaction to sign the provided message using cryptographic techniques. In some scenarios, you want to sign a message for identity authentication or transaction approval. You need to provide details such as the source address, destination address, and the message to be signed. A transaction request for tracking is returned upon successful operation. You can get the signature result by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information). <Note> This operation only supports message signing transactions from the following wallets and chains: - MPC Wallets: BTC, EVM-compatible chains, and Cosmos. - Web3 Wallets: EVM-compatible chains. </Note>
|
|
273
|
+
* This operation creates a transaction to sign the provided message using cryptographic techniques. In some scenarios, you want to sign a message for identity authentication or transaction approval. You need to provide details such as the source address, destination address, and the message to be signed. A transaction request for tracking is returned upon successful operation. You can get the signature result by calling [Get transaction information](https://www.cobo.com/developers/v2/api-references/transactions/get-transaction-information). <Note> This operation only supports message signing transactions from the following wallets and chains: - MPC Wallets: BTC, EVM-compatible chains, and Cosmos. - Custodial Wallets (Web3 Wallets): EVM-compatible chains. </Note>
|
|
274
274
|
* @param {Object} opts Optional parameters
|
|
275
275
|
* @param {module:model/MessageSignParams} opts.MessageSignParams The request body to create a message signing transaction
|
|
276
276
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateTransferTransaction201Response}
|
|
@@ -326,7 +326,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* Drop transaction
|
|
329
|
-
* This operation drops a specified transaction. Dropping a transaction leverages RBF to replace the original transaction with a version that effectively cancels it. For more details about dropping a transaction, refer to [Drop a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#drop-a-transaction). A transaction can be
|
|
329
|
+
* This operation drops a specified transaction. Dropping a transaction leverages RBF to replace the original transaction with a version that effectively cancels it. For more details about dropping a transaction, refer to [Drop a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#drop-a-transaction). A transaction can be dropped only if its status is `Broadcasting`. <Note>This operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee.
|
|
330
330
|
* @param {String} transaction_id The transaction ID.
|
|
331
331
|
* @param {Object} opts Optional parameters
|
|
332
332
|
* @param {module:model/TransactionRbf} [TransactionRbf] The request body to drop or to speed up transactions
|
|
@@ -359,7 +359,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* Drop transaction
|
|
362
|
-
* This operation drops a specified transaction. Dropping a transaction leverages RBF to replace the original transaction with a version that effectively cancels it. For more details about dropping a transaction, refer to [Drop a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#drop-a-transaction). A transaction can be
|
|
362
|
+
* This operation drops a specified transaction. Dropping a transaction leverages RBF to replace the original transaction with a version that effectively cancels it. For more details about dropping a transaction, refer to [Drop a transaction](https://www.cobo.com/developers/v2/guides/transactions/manage-transactions#drop-a-transaction). A transaction can be dropped only if its status is `Broadcasting`. <Note>This operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee.
|
|
363
363
|
* @param {String} transaction_id The transaction ID.
|
|
364
364
|
* @param {Object} opts Optional parameters
|
|
365
365
|
* @param {module:model/TransactionRbf} opts.TransactionRbf The request body to drop or to speed up transactions
|
package/dist/api/WalletsApi.js
CHANGED
|
@@ -75,7 +75,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* Batch check UTXOs
|
|
78
|
-
* This operation verifies the existence and details of specified unspent transaction outputs (UTXOs) for a given wallet and token. A maximum of 100 UTXOs can be verified per request.
|
|
78
|
+
* This operation verifies the existence and details of specified **unspent** transaction outputs (UTXOs) for a given wallet and token. A maximum of 100 UTXOs can be verified per request. <Note>This operation returns only UTXOs that are not used by any transaction. It does not return all UTXOs.</Note> <Info>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Info>
|
|
79
79
|
* @param {String} wallet_id The wallet ID.
|
|
80
80
|
* @param {Object} opts Optional parameters
|
|
81
81
|
* @param {module:model/BatchCheckUtxoRequest} [BatchCheckUtxoRequest] The request body of the Batch check UTXOs operation.
|
|
@@ -108,7 +108,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Batch check UTXOs
|
|
111
|
-
* This operation verifies the existence and details of specified unspent transaction outputs (UTXOs) for a given wallet and token. A maximum of 100 UTXOs can be verified per request.
|
|
111
|
+
* This operation verifies the existence and details of specified **unspent** transaction outputs (UTXOs) for a given wallet and token. A maximum of 100 UTXOs can be verified per request. <Note>This operation returns only UTXOs that are not used by any transaction. It does not return all UTXOs.</Note> <Info>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Info>
|
|
112
112
|
* @param {String} wallet_id The wallet ID.
|
|
113
113
|
* @param {Object} opts Optional parameters
|
|
114
114
|
* @param {module:model/BatchCheckUtxoRequest} opts.BatchCheckUtxoRequest The request body of the Batch check UTXOs operation.
|
|
@@ -750,7 +750,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
752
|
* List address balances by token
|
|
753
|
-
* This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
753
|
+
* This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
754
754
|
* @param {String} wallet_id The wallet ID.
|
|
755
755
|
* @param {String} token_id The token ID, which is the unique identifier of a token.
|
|
756
756
|
* @param {Object} opts Optional parameters
|
|
@@ -797,7 +797,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
797
797
|
|
|
798
798
|
/**
|
|
799
799
|
* List address balances by token
|
|
800
|
-
* This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
800
|
+
* This operation retrieves a list of address balances for a specified token within a wallet. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
801
801
|
* @param {String} wallet_id The wallet ID.
|
|
802
802
|
* @param {String} token_id The token ID, which is the unique identifier of a token.
|
|
803
803
|
* @param {Object} opts Optional parameters
|
|
@@ -1115,7 +1115,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* List token balances by address
|
|
1118
|
-
* The operation retrieves a list of token balances for a specified address within a wallet. <Note>This operation is applicable to MPC Wallets and Smart Contract Wallets only.</Note>
|
|
1118
|
+
* The operation retrieves a list of token balances for a specified address within a wallet. <Note>This operation is applicable to MPC Wallets, Custodial Wallets (Web3 Wallets), and Smart Contract Wallets only.</Note>
|
|
1119
1119
|
* @param {String} wallet_id The wallet ID.
|
|
1120
1120
|
* @param {String} address The wallet address.
|
|
1121
1121
|
* @param {Object} opts Optional parameters
|
|
@@ -1162,7 +1162,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1162
1162
|
|
|
1163
1163
|
/**
|
|
1164
1164
|
* List token balances by address
|
|
1165
|
-
* The operation retrieves a list of token balances for a specified address within a wallet. <Note>This operation is applicable to MPC Wallets and Smart Contract Wallets only.</Note>
|
|
1165
|
+
* The operation retrieves a list of token balances for a specified address within a wallet. <Note>This operation is applicable to MPC Wallets, Custodial Wallets (Web3 Wallets), and Smart Contract Wallets only.</Note>
|
|
1166
1166
|
* @param {String} wallet_id The wallet ID.
|
|
1167
1167
|
* @param {String} address The wallet address.
|
|
1168
1168
|
* @param {Object} opts Optional parameters
|
|
@@ -1294,11 +1294,11 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1294
1294
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* List UTXOs
|
|
1297
|
-
* The operation retrieves a list of unspent transaction outputs (UTXOs) for a specified wallet and token. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</
|
|
1297
|
+
* The operation retrieves a list of **unspent** transaction outputs (UTXOs) for a specified wallet and token. <Note>This operation returns only UTXOs that are not used by any transaction. It does not return all UTXOs.</Note> <Info>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Info>
|
|
1298
1298
|
* @param {String} wallet_id The wallet ID.
|
|
1299
1299
|
* @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
1300
1300
|
* @param {Object} opts Optional parameters
|
|
1301
|
-
* @param {String} [address]
|
|
1301
|
+
* @param {String} [address]
|
|
1302
1302
|
* @param {String} [tx_hash]
|
|
1303
1303
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
1304
1304
|
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
@@ -1343,11 +1343,11 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1343
1343
|
|
|
1344
1344
|
/**
|
|
1345
1345
|
* List UTXOs
|
|
1346
|
-
* The operation retrieves a list of unspent transaction outputs (UTXOs) for a specified wallet and token. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</
|
|
1346
|
+
* The operation retrieves a list of **unspent** transaction outputs (UTXOs) for a specified wallet and token. <Note>This operation returns only UTXOs that are not used by any transaction. It does not return all UTXOs.</Note> <Info>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Info>
|
|
1347
1347
|
* @param {String} wallet_id The wallet ID.
|
|
1348
1348
|
* @param {String} token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
1349
1349
|
* @param {Object} opts Optional parameters
|
|
1350
|
-
* @param {String} opts.address
|
|
1350
|
+
* @param {String} opts.address
|
|
1351
1351
|
* @param {String} opts.tx_hash
|
|
1352
1352
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
1353
1353
|
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
@@ -1425,7 +1425,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1425
1425
|
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Lock UTXOs
|
|
1428
|
-
* This operation locks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
1428
|
+
* This operation locks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
1429
1429
|
* @param {String} wallet_id The wallet ID.
|
|
1430
1430
|
* @param {Object} opts Optional parameters
|
|
1431
1431
|
* @param {module:model/LockUtxosRequest} [LockUtxosRequest] The request body of the Lock/Unlock UTXOs operation.
|
|
@@ -1458,7 +1458,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1458
1458
|
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Lock UTXOs
|
|
1461
|
-
* This operation locks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets only.</Note>
|
|
1461
|
+
* This operation locks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
1462
1462
|
* @param {String} wallet_id The wallet ID.
|
|
1463
1463
|
* @param {Object} opts Optional parameters
|
|
1464
1464
|
* @param {module:model/LockUtxosRequest} opts.LockUtxosRequest The request body of the Lock/Unlock UTXOs operation.
|
|
@@ -1530,7 +1530,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1530
1530
|
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Unlock UTXOs
|
|
1533
|
-
* This operation unlocks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked.
|
|
1533
|
+
* This operation unlocks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
1534
1534
|
* @param {String} wallet_id The wallet ID.
|
|
1535
1535
|
* @param {Object} opts Optional parameters
|
|
1536
1536
|
* @param {module:model/LockUtxosRequest} [LockUtxosRequest] The request body of the Lock/Unlock UTXOs operation.
|
|
@@ -1563,7 +1563,7 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1563
1563
|
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Unlock UTXOs
|
|
1566
|
-
* This operation unlocks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked.
|
|
1566
|
+
* This operation unlocks the UTXOs with specified transaction hashes. Locked UTXOs cannot be transferred until unlocked. <Note>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Note>
|
|
1567
1567
|
* @param {String} wallet_id The wallet ID.
|
|
1568
1568
|
* @param {Object} opts Optional parameters
|
|
1569
1569
|
* @param {module:model/LockUtxosRequest} opts.LockUtxosRequest The request body of the Lock/Unlock UTXOs operation.
|
package/dist/index.js
CHANGED
|
@@ -117,6 +117,18 @@ Object.defineProperty(exports, "AddressesEventDataAllOfAddresses", {
|
|
|
117
117
|
return _AddressesEventDataAllOfAddresses["default"];
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
+
Object.defineProperty(exports, "AllocationRecord", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function get() {
|
|
123
|
+
return _AllocationRecord["default"];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "AllocationRequest", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _AllocationRequest["default"];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
120
132
|
Object.defineProperty(exports, "AmountDetailsInner", {
|
|
121
133
|
enumerable: true,
|
|
122
134
|
get: function get() {
|
|
@@ -297,6 +309,12 @@ Object.defineProperty(exports, "BabylonAirdropRegistration", {
|
|
|
297
309
|
return _BabylonAirdropRegistration["default"];
|
|
298
310
|
}
|
|
299
311
|
});
|
|
312
|
+
Object.defineProperty(exports, "BabylonCreateStakingExpansion", {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: function get() {
|
|
315
|
+
return _BabylonCreateStakingExpansion["default"];
|
|
316
|
+
}
|
|
317
|
+
});
|
|
300
318
|
Object.defineProperty(exports, "BabylonEligibleAirdrop", {
|
|
301
319
|
enumerable: true,
|
|
302
320
|
get: function get() {
|
|
@@ -405,6 +423,18 @@ Object.defineProperty(exports, "BaseStakeSource", {
|
|
|
405
423
|
return _BaseStakeSource["default"];
|
|
406
424
|
}
|
|
407
425
|
});
|
|
426
|
+
Object.defineProperty(exports, "BatchAllocation", {
|
|
427
|
+
enumerable: true,
|
|
428
|
+
get: function get() {
|
|
429
|
+
return _BatchAllocation["default"];
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
Object.defineProperty(exports, "BatchAllocationDetail", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function get() {
|
|
435
|
+
return _BatchAllocationDetail["default"];
|
|
436
|
+
}
|
|
437
|
+
});
|
|
408
438
|
Object.defineProperty(exports, "BatchCheckUtxo201Response", {
|
|
409
439
|
enumerable: true,
|
|
410
440
|
get: function get() {
|
|
@@ -675,6 +705,12 @@ Object.defineProperty(exports, "CreateBabylonStakingRegistrationRequest", {
|
|
|
675
705
|
return _CreateBabylonStakingRegistrationRequest["default"];
|
|
676
706
|
}
|
|
677
707
|
});
|
|
708
|
+
Object.defineProperty(exports, "CreateBatchAllocationRequest", {
|
|
709
|
+
enumerable: true,
|
|
710
|
+
get: function get() {
|
|
711
|
+
return _CreateBatchAllocationRequest["default"];
|
|
712
|
+
}
|
|
713
|
+
});
|
|
678
714
|
Object.defineProperty(exports, "CreateClaimActivity", {
|
|
679
715
|
enumerable: true,
|
|
680
716
|
get: function get() {
|
|
@@ -789,6 +825,12 @@ Object.defineProperty(exports, "CreatePaymentOrderRequest", {
|
|
|
789
825
|
return _CreatePaymentOrderRequest["default"];
|
|
790
826
|
}
|
|
791
827
|
});
|
|
828
|
+
Object.defineProperty(exports, "CreatePayoutRequest", {
|
|
829
|
+
enumerable: true,
|
|
830
|
+
get: function get() {
|
|
831
|
+
return _CreatePayoutRequest["default"];
|
|
832
|
+
}
|
|
833
|
+
});
|
|
792
834
|
Object.defineProperty(exports, "CreatePrimeBrokerAddress201Response", {
|
|
793
835
|
enumerable: true,
|
|
794
836
|
get: function get() {
|
|
@@ -1755,6 +1797,12 @@ Object.defineProperty(exports, "ListAddresses200Response", {
|
|
|
1755
1797
|
return _ListAddresses200Response["default"];
|
|
1756
1798
|
}
|
|
1757
1799
|
});
|
|
1800
|
+
Object.defineProperty(exports, "ListAllocations200Response", {
|
|
1801
|
+
enumerable: true,
|
|
1802
|
+
get: function get() {
|
|
1803
|
+
return _ListAllocations200Response["default"];
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1758
1806
|
Object.defineProperty(exports, "ListApprovalRequests200Response", {
|
|
1759
1807
|
enumerable: true,
|
|
1760
1808
|
get: function get() {
|
|
@@ -1803,6 +1851,12 @@ Object.defineProperty(exports, "ListBabylonStakingRegistrations200Response", {
|
|
|
1803
1851
|
return _ListBabylonStakingRegistrations200Response["default"];
|
|
1804
1852
|
}
|
|
1805
1853
|
});
|
|
1854
|
+
Object.defineProperty(exports, "ListBatchAllocations200Response", {
|
|
1855
|
+
enumerable: true,
|
|
1856
|
+
get: function get() {
|
|
1857
|
+
return _ListBatchAllocations200Response["default"];
|
|
1858
|
+
}
|
|
1859
|
+
});
|
|
1806
1860
|
Object.defineProperty(exports, "ListCallbackMessages200Response", {
|
|
1807
1861
|
enumerable: true,
|
|
1808
1862
|
get: function get() {
|
|
@@ -1899,6 +1953,18 @@ Object.defineProperty(exports, "ListPaymentWalletBalances200Response", {
|
|
|
1899
1953
|
return _ListPaymentWalletBalances200Response["default"];
|
|
1900
1954
|
}
|
|
1901
1955
|
});
|
|
1956
|
+
Object.defineProperty(exports, "ListPayoutItems200Response", {
|
|
1957
|
+
enumerable: true,
|
|
1958
|
+
get: function get() {
|
|
1959
|
+
return _ListPayoutItems200Response["default"];
|
|
1960
|
+
}
|
|
1961
|
+
});
|
|
1962
|
+
Object.defineProperty(exports, "ListPayouts200Response", {
|
|
1963
|
+
enumerable: true,
|
|
1964
|
+
get: function get() {
|
|
1965
|
+
return _ListPayouts200Response["default"];
|
|
1966
|
+
}
|
|
1967
|
+
});
|
|
1902
1968
|
Object.defineProperty(exports, "ListSettlementDetails200Response", {
|
|
1903
1969
|
enumerable: true,
|
|
1904
1970
|
get: function get() {
|
|
@@ -2235,6 +2301,12 @@ Object.defineProperty(exports, "OrderLinkBusinessInfoCustomExchangeRatesInner",
|
|
|
2235
2301
|
return _OrderLinkBusinessInfoCustomExchangeRatesInner["default"];
|
|
2236
2302
|
}
|
|
2237
2303
|
});
|
|
2304
|
+
Object.defineProperty(exports, "OrderLinkBusinessInfoPayableAmountsInner", {
|
|
2305
|
+
enumerable: true,
|
|
2306
|
+
get: function get() {
|
|
2307
|
+
return _OrderLinkBusinessInfoPayableAmountsInner["default"];
|
|
2308
|
+
}
|
|
2309
|
+
});
|
|
2238
2310
|
Object.defineProperty(exports, "OrderStatus", {
|
|
2239
2311
|
enumerable: true,
|
|
2240
2312
|
get: function get() {
|
|
@@ -2277,6 +2349,12 @@ Object.defineProperty(exports, "PaymentAddressUpdateEventData", {
|
|
|
2277
2349
|
return _PaymentAddressUpdateEventData["default"];
|
|
2278
2350
|
}
|
|
2279
2351
|
});
|
|
2352
|
+
Object.defineProperty(exports, "PaymentAllocationAmount", {
|
|
2353
|
+
enumerable: true,
|
|
2354
|
+
get: function get() {
|
|
2355
|
+
return _PaymentAllocationAmount["default"];
|
|
2356
|
+
}
|
|
2357
|
+
});
|
|
2280
2358
|
Object.defineProperty(exports, "PaymentApi", {
|
|
2281
2359
|
enumerable: true,
|
|
2282
2360
|
get: function get() {
|
|
@@ -2319,6 +2397,54 @@ Object.defineProperty(exports, "PaymentOrderEventData", {
|
|
|
2319
2397
|
return _PaymentOrderEventData["default"];
|
|
2320
2398
|
}
|
|
2321
2399
|
});
|
|
2400
|
+
Object.defineProperty(exports, "PaymentPayout", {
|
|
2401
|
+
enumerable: true,
|
|
2402
|
+
get: function get() {
|
|
2403
|
+
return _PaymentPayout["default"];
|
|
2404
|
+
}
|
|
2405
|
+
});
|
|
2406
|
+
Object.defineProperty(exports, "PaymentPayoutDetail", {
|
|
2407
|
+
enumerable: true,
|
|
2408
|
+
get: function get() {
|
|
2409
|
+
return _PaymentPayoutDetail["default"];
|
|
2410
|
+
}
|
|
2411
|
+
});
|
|
2412
|
+
Object.defineProperty(exports, "PaymentPayoutEvent", {
|
|
2413
|
+
enumerable: true,
|
|
2414
|
+
get: function get() {
|
|
2415
|
+
return _PaymentPayoutEvent["default"];
|
|
2416
|
+
}
|
|
2417
|
+
});
|
|
2418
|
+
Object.defineProperty(exports, "PaymentPayoutItem", {
|
|
2419
|
+
enumerable: true,
|
|
2420
|
+
get: function get() {
|
|
2421
|
+
return _PaymentPayoutItem["default"];
|
|
2422
|
+
}
|
|
2423
|
+
});
|
|
2424
|
+
Object.defineProperty(exports, "PaymentPayoutItemDetail", {
|
|
2425
|
+
enumerable: true,
|
|
2426
|
+
get: function get() {
|
|
2427
|
+
return _PaymentPayoutItemDetail["default"];
|
|
2428
|
+
}
|
|
2429
|
+
});
|
|
2430
|
+
Object.defineProperty(exports, "PaymentPayoutItemStatus", {
|
|
2431
|
+
enumerable: true,
|
|
2432
|
+
get: function get() {
|
|
2433
|
+
return _PaymentPayoutItemStatus["default"];
|
|
2434
|
+
}
|
|
2435
|
+
});
|
|
2436
|
+
Object.defineProperty(exports, "PaymentPayoutParam", {
|
|
2437
|
+
enumerable: true,
|
|
2438
|
+
get: function get() {
|
|
2439
|
+
return _PaymentPayoutParam["default"];
|
|
2440
|
+
}
|
|
2441
|
+
});
|
|
2442
|
+
Object.defineProperty(exports, "PaymentPayoutStatus", {
|
|
2443
|
+
enumerable: true,
|
|
2444
|
+
get: function get() {
|
|
2445
|
+
return _PaymentPayoutStatus["default"];
|
|
2446
|
+
}
|
|
2447
|
+
});
|
|
2322
2448
|
Object.defineProperty(exports, "PaymentRefundEventData", {
|
|
2323
2449
|
enumerable: true,
|
|
2324
2450
|
get: function get() {
|
|
@@ -2331,6 +2457,12 @@ Object.defineProperty(exports, "PaymentSettlementEvent", {
|
|
|
2331
2457
|
return _PaymentSettlementEvent["default"];
|
|
2332
2458
|
}
|
|
2333
2459
|
});
|
|
2460
|
+
Object.defineProperty(exports, "PaymentSourceType", {
|
|
2461
|
+
enumerable: true,
|
|
2462
|
+
get: function get() {
|
|
2463
|
+
return _PaymentSourceType["default"];
|
|
2464
|
+
}
|
|
2465
|
+
});
|
|
2334
2466
|
Object.defineProperty(exports, "PaymentTransaction", {
|
|
2335
2467
|
enumerable: true,
|
|
2336
2468
|
get: function get() {
|
|
@@ -4687,6 +4819,8 @@ var _AddressTransferDestinationAccountOutput = _interopRequireDefault(require(".
|
|
|
4687
4819
|
var _AddressTransferDestinationUtxoOutputsInner = _interopRequireDefault(require("./model/AddressTransferDestinationUtxoOutputsInner"));
|
|
4688
4820
|
var _AddressesEventData = _interopRequireDefault(require("./model/AddressesEventData"));
|
|
4689
4821
|
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./model/AddressesEventDataAllOfAddresses"));
|
|
4822
|
+
var _AllocationRecord = _interopRequireDefault(require("./model/AllocationRecord"));
|
|
4823
|
+
var _AllocationRequest = _interopRequireDefault(require("./model/AllocationRequest"));
|
|
4690
4824
|
var _AmountDetailsInner = _interopRequireDefault(require("./model/AmountDetailsInner"));
|
|
4691
4825
|
var _AmountStatus = _interopRequireDefault(require("./model/AmountStatus"));
|
|
4692
4826
|
var _ApiLogDetails = _interopRequireDefault(require("./model/ApiLogDetails"));
|
|
@@ -4714,6 +4848,7 @@ var _BTCBIP137MessageSignDestination = _interopRequireDefault(require("./model/B
|
|
|
4714
4848
|
var _BTCBIP322MessageSignDestination = _interopRequireDefault(require("./model/BTCBIP322MessageSignDestination"));
|
|
4715
4849
|
var _BabylonAirdropPop = _interopRequireDefault(require("./model/BabylonAirdropPop"));
|
|
4716
4850
|
var _BabylonAirdropRegistration = _interopRequireDefault(require("./model/BabylonAirdropRegistration"));
|
|
4851
|
+
var _BabylonCreateStakingExpansion = _interopRequireDefault(require("./model/BabylonCreateStakingExpansion"));
|
|
4717
4852
|
var _BabylonEligibleAirdrop = _interopRequireDefault(require("./model/BabylonEligibleAirdrop"));
|
|
4718
4853
|
var _BabylonRegistrationRequestStatus = _interopRequireDefault(require("./model/BabylonRegistrationRequestStatus"));
|
|
4719
4854
|
var _BabylonRegistrationStatus = _interopRequireDefault(require("./model/BabylonRegistrationStatus"));
|
|
@@ -4732,6 +4867,8 @@ var _BaseContractCallSource = _interopRequireDefault(require("./model/BaseContra
|
|
|
4732
4867
|
var _BaseEstimateStakingFee = _interopRequireDefault(require("./model/BaseEstimateStakingFee"));
|
|
4733
4868
|
var _BaseStakeExtra = _interopRequireDefault(require("./model/BaseStakeExtra"));
|
|
4734
4869
|
var _BaseStakeSource = _interopRequireDefault(require("./model/BaseStakeSource"));
|
|
4870
|
+
var _BatchAllocation = _interopRequireDefault(require("./model/BatchAllocation"));
|
|
4871
|
+
var _BatchAllocationDetail = _interopRequireDefault(require("./model/BatchAllocationDetail"));
|
|
4735
4872
|
var _BatchCheckUtxo201Response = _interopRequireDefault(require("./model/BatchCheckUtxo201Response"));
|
|
4736
4873
|
var _BatchCheckUtxoRequest = _interopRequireDefault(require("./model/BatchCheckUtxoRequest"));
|
|
4737
4874
|
var _BatchUTXOParam = _interopRequireDefault(require("./model/BatchUTXOParam"));
|
|
@@ -4776,6 +4913,7 @@ var _CreateBabylonAirdropRegistration201Response = _interopRequireDefault(requir
|
|
|
4776
4913
|
var _CreateBabylonAirdropRegistrationRequest = _interopRequireDefault(require("./model/CreateBabylonAirdropRegistrationRequest"));
|
|
4777
4914
|
var _CreateBabylonStakingRegistration201Response = _interopRequireDefault(require("./model/CreateBabylonStakingRegistration201Response"));
|
|
4778
4915
|
var _CreateBabylonStakingRegistrationRequest = _interopRequireDefault(require("./model/CreateBabylonStakingRegistrationRequest"));
|
|
4916
|
+
var _CreateBatchAllocationRequest = _interopRequireDefault(require("./model/CreateBatchAllocationRequest"));
|
|
4779
4917
|
var _CreateClaimActivity = _interopRequireDefault(require("./model/CreateClaimActivity"));
|
|
4780
4918
|
var _CreateClaimActivityRequest = _interopRequireDefault(require("./model/CreateClaimActivityRequest"));
|
|
4781
4919
|
var _CreateCounterpartyRequest = _interopRequireDefault(require("./model/CreateCounterpartyRequest"));
|
|
@@ -4795,6 +4933,7 @@ var _CreateMpcVaultRequest = _interopRequireDefault(require("./model/CreateMpcVa
|
|
|
4795
4933
|
var _CreateMpcWalletParams = _interopRequireDefault(require("./model/CreateMpcWalletParams"));
|
|
4796
4934
|
var _CreateOrderLinkRequest = _interopRequireDefault(require("./model/CreateOrderLinkRequest"));
|
|
4797
4935
|
var _CreatePaymentOrderRequest = _interopRequireDefault(require("./model/CreatePaymentOrderRequest"));
|
|
4936
|
+
var _CreatePayoutRequest = _interopRequireDefault(require("./model/CreatePayoutRequest"));
|
|
4798
4937
|
var _CreatePrimeBrokerAddress201Response = _interopRequireDefault(require("./model/CreatePrimeBrokerAddress201Response"));
|
|
4799
4938
|
var _CreatePrimeBrokerAddressRequest = _interopRequireDefault(require("./model/CreatePrimeBrokerAddressRequest"));
|
|
4800
4939
|
var _CreateRefundLinkRequest = _interopRequireDefault(require("./model/CreateRefundLinkRequest"));
|
|
@@ -4951,6 +5090,7 @@ var _LinkDisplayInfo = _interopRequireDefault(require("./model/LinkDisplayInfo")
|
|
|
4951
5090
|
var _ListAddressBalancesByToken200Response = _interopRequireDefault(require("./model/ListAddressBalancesByToken200Response"));
|
|
4952
5091
|
var _ListAddressBooks200Response = _interopRequireDefault(require("./model/ListAddressBooks200Response"));
|
|
4953
5092
|
var _ListAddresses200Response = _interopRequireDefault(require("./model/ListAddresses200Response"));
|
|
5093
|
+
var _ListAllocations200Response = _interopRequireDefault(require("./model/ListAllocations200Response"));
|
|
4954
5094
|
var _ListApprovalRequests200Response = _interopRequireDefault(require("./model/ListApprovalRequests200Response"));
|
|
4955
5095
|
var _ListAssetBalancesForExchangeWallet200Response = _interopRequireDefault(require("./model/ListAssetBalancesForExchangeWallet200Response"));
|
|
4956
5096
|
var _ListAutoSweepTask200Response = _interopRequireDefault(require("./model/ListAutoSweepTask200Response"));
|
|
@@ -4959,6 +5099,7 @@ var _ListBabylonEligibleAirdrops200Response = _interopRequireDefault(require("./
|
|
|
4959
5099
|
var _ListBabylonEligibleStakings200Response = _interopRequireDefault(require("./model/ListBabylonEligibleStakings200Response"));
|
|
4960
5100
|
var _ListBabylonEligibleStakings200ResponseDataInner = _interopRequireDefault(require("./model/ListBabylonEligibleStakings200ResponseDataInner"));
|
|
4961
5101
|
var _ListBabylonStakingRegistrations200Response = _interopRequireDefault(require("./model/ListBabylonStakingRegistrations200Response"));
|
|
5102
|
+
var _ListBatchAllocations200Response = _interopRequireDefault(require("./model/ListBatchAllocations200Response"));
|
|
4962
5103
|
var _ListCallbackMessages200Response = _interopRequireDefault(require("./model/ListCallbackMessages200Response"));
|
|
4963
5104
|
var _ListCounterparties200Response = _interopRequireDefault(require("./model/ListCounterparties200Response"));
|
|
4964
5105
|
var _ListCounterpartyWalletAddress200Response = _interopRequireDefault(require("./model/ListCounterpartyWalletAddress200Response"));
|
|
@@ -4975,6 +5116,8 @@ var _ListMpcProjects200Response = _interopRequireDefault(require("./model/ListMp
|
|
|
4975
5116
|
var _ListMpcVaults200Response = _interopRequireDefault(require("./model/ListMpcVaults200Response"));
|
|
4976
5117
|
var _ListPaymentOrders200Response = _interopRequireDefault(require("./model/ListPaymentOrders200Response"));
|
|
4977
5118
|
var _ListPaymentWalletBalances200Response = _interopRequireDefault(require("./model/ListPaymentWalletBalances200Response"));
|
|
5119
|
+
var _ListPayoutItems200Response = _interopRequireDefault(require("./model/ListPayoutItems200Response"));
|
|
5120
|
+
var _ListPayouts200Response = _interopRequireDefault(require("./model/ListPayouts200Response"));
|
|
4978
5121
|
var _ListSettlementDetails200Response = _interopRequireDefault(require("./model/ListSettlementDetails200Response"));
|
|
4979
5122
|
var _ListSettlementRequests200Response = _interopRequireDefault(require("./model/ListSettlementRequests200Response"));
|
|
4980
5123
|
var _ListStakingActivities200Response = _interopRequireDefault(require("./model/ListStakingActivities200Response"));
|
|
@@ -5030,20 +5173,31 @@ var _MpcTransferSource = _interopRequireDefault(require("./model/MpcTransferSour
|
|
|
5030
5173
|
var _Order = _interopRequireDefault(require("./model/Order"));
|
|
5031
5174
|
var _OrderLinkBusinessInfo = _interopRequireDefault(require("./model/OrderLinkBusinessInfo"));
|
|
5032
5175
|
var _OrderLinkBusinessInfoCustomExchangeRatesInner = _interopRequireDefault(require("./model/OrderLinkBusinessInfoCustomExchangeRatesInner"));
|
|
5176
|
+
var _OrderLinkBusinessInfoPayableAmountsInner = _interopRequireDefault(require("./model/OrderLinkBusinessInfoPayableAmountsInner"));
|
|
5033
5177
|
var _OrderStatus = _interopRequireDefault(require("./model/OrderStatus"));
|
|
5034
5178
|
var _OrgInfo = _interopRequireDefault(require("./model/OrgInfo"));
|
|
5035
5179
|
var _OtcFee = _interopRequireDefault(require("./model/OtcFee"));
|
|
5036
5180
|
var _Pagination = _interopRequireDefault(require("./model/Pagination"));
|
|
5037
5181
|
var _PayerAccount = _interopRequireDefault(require("./model/PayerAccount"));
|
|
5038
5182
|
var _PaymentAddressUpdateEventData = _interopRequireDefault(require("./model/PaymentAddressUpdateEventData"));
|
|
5183
|
+
var _PaymentAllocationAmount = _interopRequireDefault(require("./model/PaymentAllocationAmount"));
|
|
5039
5184
|
var _PaymentEstimateFee = _interopRequireDefault(require("./model/PaymentEstimateFee"));
|
|
5040
5185
|
var _PaymentEstimateFee201Response = _interopRequireDefault(require("./model/PaymentEstimateFee201Response"));
|
|
5041
5186
|
var _PaymentEstimateFeeRequest = _interopRequireDefault(require("./model/PaymentEstimateFeeRequest"));
|
|
5042
5187
|
var _PaymentEstimatedFee = _interopRequireDefault(require("./model/PaymentEstimatedFee"));
|
|
5043
5188
|
var _PaymentFeeType = _interopRequireDefault(require("./model/PaymentFeeType"));
|
|
5044
5189
|
var _PaymentOrderEventData = _interopRequireDefault(require("./model/PaymentOrderEventData"));
|
|
5190
|
+
var _PaymentPayout = _interopRequireDefault(require("./model/PaymentPayout"));
|
|
5191
|
+
var _PaymentPayoutDetail = _interopRequireDefault(require("./model/PaymentPayoutDetail"));
|
|
5192
|
+
var _PaymentPayoutEvent = _interopRequireDefault(require("./model/PaymentPayoutEvent"));
|
|
5193
|
+
var _PaymentPayoutItem = _interopRequireDefault(require("./model/PaymentPayoutItem"));
|
|
5194
|
+
var _PaymentPayoutItemDetail = _interopRequireDefault(require("./model/PaymentPayoutItemDetail"));
|
|
5195
|
+
var _PaymentPayoutItemStatus = _interopRequireDefault(require("./model/PaymentPayoutItemStatus"));
|
|
5196
|
+
var _PaymentPayoutParam = _interopRequireDefault(require("./model/PaymentPayoutParam"));
|
|
5197
|
+
var _PaymentPayoutStatus = _interopRequireDefault(require("./model/PaymentPayoutStatus"));
|
|
5045
5198
|
var _PaymentRefundEventData = _interopRequireDefault(require("./model/PaymentRefundEventData"));
|
|
5046
5199
|
var _PaymentSettlementEvent = _interopRequireDefault(require("./model/PaymentSettlementEvent"));
|
|
5200
|
+
var _PaymentSourceType = _interopRequireDefault(require("./model/PaymentSourceType"));
|
|
5047
5201
|
var _PaymentTransaction = _interopRequireDefault(require("./model/PaymentTransaction"));
|
|
5048
5202
|
var _PaymentTransactionEventData = _interopRequireDefault(require("./model/PaymentTransactionEventData"));
|
|
5049
5203
|
var _PaymentWalletBalance = _interopRequireDefault(require("./model/PaymentWalletBalance"));
|