@cobo/cobo-waas2 1.12.0 → 1.14.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 +101 -18
- package/dist/ApiClient.js +1 -1
- package/dist/api/FeeStationApi.js +67 -24
- package/dist/api/PaymentApi.js +891 -0
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/api/WalletsApi.js +151 -8
- package/dist/index.js +430 -31
- package/dist/model/ActivityExtra.js +0 -23
- package/dist/model/AddressEncoding.js +15 -0
- package/dist/model/AddressesEventData.js +23 -3
- package/dist/model/BTCBIP137MessageSignDestination.js +122 -0
- package/dist/model/BTCBIP322MessageSignDestination.js +122 -0
- package/dist/model/BabylonStakingActivityDetailExtra.js +0 -39
- package/dist/model/BankAccount.js +123 -0
- package/dist/model/ChainsEventData.js +45 -3
- package/dist/model/CosmosAdr36MessageSignDestination.js +122 -0
- package/dist/model/CosmosContractCallDestination.js +152 -0
- package/dist/model/CosmosContractCallMessage.js +126 -0
- package/dist/model/CreateBankAccountRequest.js +108 -0
- package/dist/model/{CreateSwapQuoteRequest.js → CreateMerchantRequest.js} +35 -76
- package/dist/model/CreatePaymentOrderRequest.js +206 -0
- package/dist/model/CreateRefundRequest.js +192 -0
- package/dist/model/CreateSettlement.js +174 -0
- package/dist/model/CreateSettlementRequestRequest.js +142 -0
- package/dist/model/CreateTokenListingRequest201Response.js +110 -0
- package/dist/model/CreateTokenListingRequestRequest.js +147 -0
- package/dist/model/FeeStationDestination.js +136 -0
- package/dist/model/FeeStationTransfer.js +127 -0
- package/dist/model/GetExchangeRate200Response.js +140 -0
- package/dist/model/{ListEnableTokenPairs200Response.js → GetRefunds200Response.js} +22 -22
- package/dist/model/GetSettlementInfoByIds200Response.js +136 -0
- package/dist/model/ListMerchants200Response.js +123 -0
- package/dist/model/{ListSwapActivities200Response.js → ListPaymentOrders200Response.js} +22 -22
- package/dist/model/ListSettlementRequests200Response.js +123 -0
- package/dist/model/ListTokenBalancesForFeeStation200Response.js +123 -0
- package/dist/model/ListTokenBalancesForFeeStation200ResponseDataInner.js +142 -0
- package/dist/model/ListTokenListingRequests200Response.js +123 -0
- package/dist/model/MPCVaultEventData.js +23 -3
- package/dist/model/{CreateSwapActivityRequest.js → Merchant.js} +45 -58
- package/dist/model/MessageSignDestination.js +111 -9
- package/dist/model/MessageSignDestinationType.js +15 -0
- package/dist/model/Order.js +306 -0
- package/dist/model/OrderStatus.js +76 -0
- package/dist/model/PaymentOrderEventData.js +479 -0
- package/dist/model/PaymentRefundEventData.js +381 -0
- package/dist/model/PaymentSettlementEvent.js +285 -0
- package/dist/model/PaymentTransaction.js +201 -0
- package/dist/model/RefreshAddressBalancesByTokenRequest.js +2 -3
- package/dist/model/Refund.js +238 -0
- package/dist/model/RefundStatus.js +76 -0
- package/dist/model/RefundType.js +61 -0
- package/dist/model/SettleRequestStatus.js +76 -0
- package/dist/model/SettleStatus.js +76 -0
- package/dist/model/Settlement.js +168 -0
- package/dist/model/SettlementDetail.js +185 -0
- package/dist/model/SettlementInfo.js +175 -0
- package/dist/model/SettlementType.js +61 -0
- package/dist/model/SwapActivity.js +49 -5
- package/dist/model/SwapActivityDetail.js +378 -0
- package/dist/model/SwapActivityStatus.js +66 -0
- package/dist/model/SwapActivityTimeline.js +135 -0
- package/dist/model/SwapQuote.js +27 -38
- package/dist/model/SwapToken.js +179 -0
- package/dist/model/SwapType.js +61 -0
- package/dist/model/TSSRequestWebhookEventData.js +23 -3
- package/dist/model/TokenListing.js +230 -0
- package/dist/model/TokenListingEventData.js +378 -0
- package/dist/model/TokenListingRequestSource.js +61 -0
- package/dist/model/TokenListingRequestStatus.js +66 -0
- package/dist/model/TokensEventData.js +45 -3
- package/dist/model/Transaction.js +22 -5
- package/dist/model/TransactionBIP137Destination.js +122 -0
- package/dist/model/TransactionBIP322Destination.js +122 -0
- package/dist/model/TransactionBabylonBusinessInfo.js +138 -0
- package/dist/model/TransactionBabylonTxParameters.js +168 -0
- package/dist/model/TransactionCoreStakeInfo.js +168 -0
- package/dist/model/TransactionCosmosAdr36Destination.js +122 -0
- package/dist/model/TransactionCosmosContractDestination.js +152 -0
- package/dist/model/TransactionCosmosMessage.js +126 -0
- package/dist/model/TransactionDestination.js +172 -8
- package/dist/model/TransactionDestinationType.js +20 -0
- package/dist/model/TransactionDetail.js +29 -7
- package/dist/model/TransactionDetails.js +29 -7
- package/dist/model/TransactionEvmEip1559Fee.js +13 -0
- package/dist/model/TransactionEvmLegacyFee.js +13 -0
- package/dist/model/TransactionExtra.js +278 -0
- package/dist/model/TransactionExtraType.js +66 -0
- package/dist/model/TransactionFee.js +6 -0
- package/dist/model/TransactionFixedFee.js +13 -0
- package/dist/model/TransactionFuelingInfo.js +3 -3
- package/dist/model/TransactionMessageSignBTCEIP191Destination.js +122 -0
- package/dist/model/TransactionRbfSource.js +37 -9
- package/dist/model/TransactionSelectedUtxo.js +2 -2
- package/dist/model/TransactionSolContractDestination.js +1 -1
- package/dist/model/TransactionSubStatus.js +45 -0
- package/dist/model/TransactionUtxoFee.js +13 -0
- package/dist/model/TransactionWebhookEventData.js +52 -10
- package/dist/model/UpdateCustodialWalletParams.js +6 -4
- package/dist/model/UpdateExchangeWalletParams.js +6 -4
- package/dist/model/{SwapTokenPair.js → UpdateMerchantByIdRequest.js} +23 -36
- package/dist/model/UpdateMpcWalletParams.js +6 -4
- package/dist/model/UpdatePaymentOrderRequest.js +106 -0
- package/dist/model/UpdateSmartContractWalletParams.js +6 -4
- package/dist/model/WalletInfoEventData.js +23 -3
- package/dist/model/WebhookEventData.js +280 -19
- package/dist/model/WebhookEventDataType.js +22 -2
- package/dist/model/WebhookEventType.js +40 -0
- package/docs/ActivityExtra.md +0 -4
- package/docs/AddressEncoding.md +6 -0
- package/docs/AddressesEventData.md +9 -1
- package/docs/BTCBIP137MessageSignDestination.md +10 -0
- package/docs/BTCBIP322MessageSignDestination.md +10 -0
- package/docs/BabylonStakingActivityDetailExtra.md +0 -4
- package/docs/BankAccount.md +10 -0
- package/docs/ChainsEventData.md +11 -1
- package/docs/CosmosAdr36MessageSignDestination.md +10 -0
- package/docs/CosmosContractCallDestination.md +11 -0
- package/docs/CosmosContractCallMessage.md +10 -0
- package/docs/CreateBankAccountRequest.md +9 -0
- package/docs/CreateMerchantRequest.md +10 -0
- package/docs/CreatePaymentOrderRequest.md +16 -0
- package/docs/CreateRefundRequest.md +15 -0
- package/docs/CreateSettlement.md +14 -0
- package/docs/CreateSettlementRequestRequest.md +10 -0
- package/docs/CreateTokenListingRequest201Response.md +9 -0
- package/docs/CreateTokenListingRequestRequest.md +12 -0
- package/docs/FeeStationApi.md +68 -15
- package/docs/FeeStationDestination.md +11 -0
- package/docs/FeeStationTransfer.md +10 -0
- package/docs/GetExchangeRate200Response.md +11 -0
- package/docs/{ListSwapActivities200Response.md → GetRefunds200Response.md} +2 -2
- package/docs/GetSettlementInfoByIds200Response.md +10 -0
- package/docs/{ListEnableTokenPairs200Response.md → ListMerchants200Response.md} +2 -2
- package/docs/ListPaymentOrders200Response.md +10 -0
- package/docs/ListSettlementRequests200Response.md +10 -0
- package/docs/ListTokenBalancesForFeeStation200Response.md +10 -0
- package/docs/ListTokenBalancesForFeeStation200ResponseDataInner.md +11 -0
- package/docs/ListTokenListingRequests200Response.md +10 -0
- package/docs/MPCVaultEventData.md +9 -1
- package/docs/Merchant.md +11 -0
- package/docs/MessageSignDestination.md +3 -0
- package/docs/MessageSignDestinationType.md +6 -0
- package/docs/Order.md +23 -0
- package/docs/OrderStatus.md +18 -0
- package/docs/PaymentApi.md +986 -0
- package/docs/PaymentOrderEventData.md +55 -0
- package/docs/PaymentRefundEventData.md +49 -0
- package/docs/PaymentSettlementEvent.md +44 -0
- package/docs/PaymentTransaction.md +16 -0
- package/docs/RefreshAddressBalancesByTokenRequest.md +1 -1
- package/docs/Refund.md +17 -0
- package/docs/RefundStatus.md +18 -0
- package/docs/RefundType.md +12 -0
- package/docs/SettleRequestStatus.md +18 -0
- package/docs/SettleStatus.md +18 -0
- package/docs/Settlement.md +12 -0
- package/docs/SettlementDetail.md +15 -0
- package/docs/SettlementInfo.md +14 -0
- package/docs/SettlementType.md +12 -0
- package/docs/SwapActivity.md +5 -1
- package/docs/SwapActivityDetail.md +25 -0
- package/docs/SwapActivityStatus.md +14 -0
- package/docs/SwapActivityTimeline.md +11 -0
- package/docs/SwapQuote.md +3 -4
- package/docs/SwapToken.md +14 -0
- package/docs/SwapType.md +12 -0
- package/docs/TSSRequestWebhookEventData.md +9 -1
- package/docs/TokenListing.md +19 -0
- package/docs/TokenListingEventData.md +51 -0
- package/docs/TokenListingRequestSource.md +12 -0
- package/docs/TokenListingRequestStatus.md +14 -0
- package/docs/TokensEventData.md +11 -1
- package/docs/Transaction.md +4 -3
- package/docs/TransactionBIP137Destination.md +10 -0
- package/docs/TransactionBIP322Destination.md +10 -0
- package/docs/TransactionBabylonBusinessInfo.md +11 -0
- package/docs/TransactionBabylonTxParameters.md +15 -0
- package/docs/TransactionCoreStakeInfo.md +14 -0
- package/docs/TransactionCosmosAdr36Destination.md +10 -0
- package/docs/TransactionCosmosContractDestination.md +11 -0
- package/docs/TransactionCosmosMessage.md +10 -0
- package/docs/TransactionDestination.md +4 -0
- package/docs/TransactionDestinationType.md +8 -0
- package/docs/TransactionDetail.md +4 -3
- package/docs/TransactionDetails.md +4 -3
- package/docs/TransactionEvmEip1559Fee.md +1 -0
- package/docs/TransactionEvmLegacyFee.md +1 -0
- package/docs/TransactionExtra.md +21 -0
- package/docs/TransactionExtraType.md +14 -0
- package/docs/TransactionFee.md +1 -0
- package/docs/TransactionFixedFee.md +1 -0
- package/docs/TransactionFuelingInfo.md +2 -2
- package/docs/TransactionMessageSignBTCEIP191Destination.md +10 -0
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionSelectedUtxo.md +2 -2
- package/docs/TransactionSubStatus.md +18 -0
- package/docs/TransactionUtxoFee.md +1 -0
- package/docs/TransactionWebhookEventData.md +13 -4
- package/docs/TransactionsApi.md +3 -3
- package/docs/UpdateCustodialWalletParams.md +1 -1
- package/docs/UpdateExchangeWalletParams.md +1 -1
- package/docs/UpdateMerchantByIdRequest.md +9 -0
- package/docs/UpdateMpcWalletParams.md +1 -1
- package/docs/UpdatePaymentOrderRequest.md +9 -0
- package/docs/UpdateSmartContractWalletParams.md +1 -1
- package/docs/UpdateWalletParams.md +1 -1
- package/docs/WalletInfoEventData.md +9 -1
- package/docs/WalletsApi.md +166 -5
- package/docs/WebhookEventData.md +42 -9
- package/docs/WebhookEventDataType.md +9 -1
- package/docs/WebhookEventType.md +16 -0
- package/package.json +1 -1
- package/dist/api/SwapsApi.js +0 -360
- package/dist/model/CreateSwapQuote201Response.js +0 -264
- package/docs/CreateSwapActivityRequest.md +0 -12
- package/docs/CreateSwapQuote201Response.md +0 -17
- package/docs/CreateSwapQuoteRequest.md +0 -13
- package/docs/SwapTokenPair.md +0 -10
- package/docs/SwapsApi.md +0 -348
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
|
|
|
15
15
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
16
16
|
|
|
17
17
|
- API version: v2
|
|
18
|
-
- Package version: 1.
|
|
18
|
+
- Package version: 1.14.0
|
|
19
19
|
- Generator version: 7.6.0
|
|
20
20
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
21
21
|
For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
|
|
@@ -81,12 +81,31 @@ Class | Method | HTTP request | Description
|
|
|
81
81
|
*CoboWaas2.DevelopersWebhooksApi* | [**retryWebhookEventById**](docs/DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
82
82
|
*CoboWaas2.DevelopersWebhooksApi* | [**triggerTestWebhookEvent**](docs/DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
83
83
|
*CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
84
|
-
*CoboWaas2.FeeStationApi* | [**
|
|
85
|
-
*CoboWaas2.FeeStationApi* | [**
|
|
86
|
-
*CoboWaas2.FeeStationApi* | [**
|
|
87
|
-
*CoboWaas2.FeeStationApi* | [**
|
|
84
|
+
*CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate transaction fee
|
|
85
|
+
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
|
|
86
|
+
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
87
|
+
*CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
|
|
88
|
+
*CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List Fee Station token balances
|
|
88
89
|
*CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
|
|
89
90
|
*CoboWaas2.OAuthApi* | [**refreshToken**](docs/OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
|
|
91
|
+
*CoboWaas2.PaymentApi* | [**createBankAccount**](docs/PaymentApi.md#createBankAccount) | **POST** /payments/bank_accounts | Create bank account
|
|
92
|
+
*CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
|
|
93
|
+
*CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
|
|
94
|
+
*CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
|
|
95
|
+
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
96
|
+
*CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
|
|
97
|
+
*CoboWaas2.PaymentApi* | [**getPaymentOrderDetailById**](docs/PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
|
|
98
|
+
*CoboWaas2.PaymentApi* | [**getRefundDetailById**](docs/PaymentApi.md#getRefundDetailById) | **GET** /payments/refunds/{refund_id} | Get refund order information
|
|
99
|
+
*CoboWaas2.PaymentApi* | [**getRefunds**](docs/PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
|
|
100
|
+
*CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
|
|
101
|
+
*CoboWaas2.PaymentApi* | [**getSettlementInfoByIds**](docs/PaymentApi.md#getSettlementInfoByIds) | **GET** /payments/settlement_info | Get withdrawable balances
|
|
102
|
+
*CoboWaas2.PaymentApi* | [**listBankAccounts**](docs/PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
|
|
103
|
+
*CoboWaas2.PaymentApi* | [**listMerchants**](docs/PaymentApi.md#listMerchants) | **GET** /payments/merchants | List all merchants
|
|
104
|
+
*CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
|
|
105
|
+
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
106
|
+
*CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
|
|
107
|
+
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
108
|
+
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
90
109
|
*CoboWaas2.PrimeBrokerApi* | [**changeGuardPubkey**](docs/PrimeBrokerApi.md#changeGuardPubkey) | **PUT** /prime_broker/user/{user_id}/guard_pubkey | Change Guard pubkey binding
|
|
91
110
|
*CoboWaas2.PrimeBrokerApi* | [**createGuardPubkey**](docs/PrimeBrokerApi.md#createGuardPubkey) | **POST** /prime_broker/user/{user_id}/guard_pubkey | Create Guard pubkey binding
|
|
92
111
|
*CoboWaas2.PrimeBrokerApi* | [**createPrimeBrokerAddress**](docs/PrimeBrokerApi.md#createPrimeBrokerAddress) | **POST** /prime_broker/user/{user_id}/addresses | Bind addresses to a broker user
|
|
@@ -113,12 +132,6 @@ Class | Method | HTTP request | Description
|
|
|
113
132
|
*CoboWaas2.StakingsApi* | [**listStakingActivities**](docs/StakingsApi.md#listStakingActivities) | **GET** /stakings/activities | List staking activities
|
|
114
133
|
*CoboWaas2.StakingsApi* | [**listStakingPools**](docs/StakingsApi.md#listStakingPools) | **GET** /stakings/pools | List staking pools
|
|
115
134
|
*CoboWaas2.StakingsApi* | [**listStakings**](docs/StakingsApi.md#listStakings) | **GET** /stakings | List staking positions
|
|
116
|
-
*CoboWaas2.SwapsApi* | [**createSwapActivity**](docs/SwapsApi.md#createSwapActivity) | **POST** /swaps/swap | Create Swap Activity
|
|
117
|
-
*CoboWaas2.SwapsApi* | [**createSwapQuote**](docs/SwapsApi.md#createSwapQuote) | **POST** /swaps/quote | Create Swap Quote
|
|
118
|
-
*CoboWaas2.SwapsApi* | [**getSwapActivity**](docs/SwapsApi.md#getSwapActivity) | **GET** /swaps/activities/{activity_id} | Get Swap Activity Details
|
|
119
|
-
*CoboWaas2.SwapsApi* | [**getSwapQuote**](docs/SwapsApi.md#getSwapQuote) | **GET** /swaps/quote | Get Current Swap Rate
|
|
120
|
-
*CoboWaas2.SwapsApi* | [**listEnableTokenPairs**](docs/SwapsApi.md#listEnableTokenPairs) | **GET** /swaps/enabled_pairs | List Supported Token Pairs
|
|
121
|
-
*CoboWaas2.SwapsApi* | [**listSwapActivities**](docs/SwapsApi.md#listSwapActivities) | **GET** /swaps/activities | List Swap Activities
|
|
122
135
|
*CoboWaas2.TransactionsApi* | [**broadcastSignedTransactions**](docs/TransactionsApi.md#broadcastSignedTransactions) | **POST** /transactions/broadcast | Broadcast signed transactions
|
|
123
136
|
*CoboWaas2.TransactionsApi* | [**cancelTransactionById**](docs/TransactionsApi.md#cancelTransactionById) | **POST** /transactions/{transaction_id}/cancel | Cancel transaction
|
|
124
137
|
*CoboWaas2.TransactionsApi* | [**checkLoopTransfers**](docs/TransactionsApi.md#checkLoopTransfers) | **GET** /transactions/check_loop_transfers | Check Cobo Loop transfers
|
|
@@ -142,11 +155,13 @@ Class | Method | HTTP request | Description
|
|
|
142
155
|
*CoboWaas2.WalletsApi* | [**checkAddressValidity**](docs/WalletsApi.md#checkAddressValidity) | **GET** /wallets/check_address_validity | Check address validity
|
|
143
156
|
*CoboWaas2.WalletsApi* | [**checkAddressesValidity**](docs/WalletsApi.md#checkAddressesValidity) | **GET** /wallets/check_addresses_validity | Check addresses validity
|
|
144
157
|
*CoboWaas2.WalletsApi* | [**createAddress**](docs/WalletsApi.md#createAddress) | **POST** /wallets/{wallet_id}/addresses | Create addresses in wallet
|
|
158
|
+
*CoboWaas2.WalletsApi* | [**createTokenListingRequest**](docs/WalletsApi.md#createTokenListingRequest) | **POST** /wallets/tokens/listing_requests | Submit token listing request
|
|
145
159
|
*CoboWaas2.WalletsApi* | [**createWallet**](docs/WalletsApi.md#createWallet) | **POST** /wallets | Create wallet
|
|
146
160
|
*CoboWaas2.WalletsApi* | [**deleteWalletById**](docs/WalletsApi.md#deleteWalletById) | **POST** /wallets/{wallet_id}/delete | Delete wallet
|
|
147
161
|
*CoboWaas2.WalletsApi* | [**getChainById**](docs/WalletsApi.md#getChainById) | **GET** /wallets/chains/{chain_id} | Get chain information
|
|
148
162
|
*CoboWaas2.WalletsApi* | [**getMaxTransferableValue**](docs/WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
|
|
149
163
|
*CoboWaas2.WalletsApi* | [**getTokenById**](docs/WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
|
|
164
|
+
*CoboWaas2.WalletsApi* | [**getTokenListingRequestByRequestId**](docs/WalletsApi.md#getTokenListingRequestByRequestId) | **GET** /wallets/tokens/listing_requests/{request_id} | Get token listing request details
|
|
150
165
|
*CoboWaas2.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
|
|
151
166
|
*CoboWaas2.WalletsApi* | [**listAddressBalancesByToken**](docs/WalletsApi.md#listAddressBalancesByToken) | **GET** /wallets/{wallet_id}/tokens/{token_id} | List address balances by token
|
|
152
167
|
*CoboWaas2.WalletsApi* | [**listAddresses**](docs/WalletsApi.md#listAddresses) | **GET** /wallets/{wallet_id}/addresses | List wallet addresses
|
|
@@ -156,10 +171,11 @@ Class | Method | HTTP request | Description
|
|
|
156
171
|
*CoboWaas2.WalletsApi* | [**listSupportedTokens**](docs/WalletsApi.md#listSupportedTokens) | **GET** /wallets/tokens | List supported tokens
|
|
157
172
|
*CoboWaas2.WalletsApi* | [**listTokenBalancesForAddress**](docs/WalletsApi.md#listTokenBalancesForAddress) | **GET** /wallets/{wallet_id}/addresses/{address}/tokens | List token balances by address
|
|
158
173
|
*CoboWaas2.WalletsApi* | [**listTokenBalancesForWallet**](docs/WalletsApi.md#listTokenBalancesForWallet) | **GET** /wallets/{wallet_id}/tokens | List token balances by wallet
|
|
174
|
+
*CoboWaas2.WalletsApi* | [**listTokenListingRequests**](docs/WalletsApi.md#listTokenListingRequests) | **GET** /wallets/tokens/listing_requests | Get all token listing requests
|
|
159
175
|
*CoboWaas2.WalletsApi* | [**listUtxos**](docs/WalletsApi.md#listUtxos) | **GET** /wallets/{wallet_id}/utxos | List UTXOs
|
|
160
176
|
*CoboWaas2.WalletsApi* | [**listWallets**](docs/WalletsApi.md#listWallets) | **GET** /wallets | List all wallets
|
|
161
177
|
*CoboWaas2.WalletsApi* | [**lockUtxos**](docs/WalletsApi.md#lockUtxos) | **POST** /wallets/{wallet_id}/utxos/lock | Lock UTXOs
|
|
162
|
-
*CoboWaas2.WalletsApi* | [**refreshAddressBalancesByToken**](docs/WalletsApi.md#refreshAddressBalancesByToken) | **PUT** /wallets/{wallet_id}/tokens/{token_id}/refresh_address_balances |
|
|
178
|
+
*CoboWaas2.WalletsApi* | [**refreshAddressBalancesByToken**](docs/WalletsApi.md#refreshAddressBalancesByToken) | **PUT** /wallets/{wallet_id}/tokens/{token_id}/refresh_address_balances | Refresh address balances by token
|
|
163
179
|
*CoboWaas2.WalletsApi* | [**unlockUtxos**](docs/WalletsApi.md#unlockUtxos) | **POST** /wallets/{wallet_id}/utxos/unlock | Unlock UTXOs
|
|
164
180
|
*CoboWaas2.WalletsApi* | [**updateWalletById**](docs/WalletsApi.md#updateWalletById) | **PUT** /wallets/{wallet_id} | Update wallet
|
|
165
181
|
*CoboWaas2.WalletsExchangeWalletApi* | [**listAssetBalancesForExchangeWallet**](docs/WalletsExchangeWalletApi.md#listAssetBalancesForExchangeWallet) | **GET** /wallets/{wallet_id}/exchanges/assets | List asset balances
|
|
@@ -215,6 +231,8 @@ Class | Method | HTTP request | Description
|
|
|
215
231
|
- [CoboWaas2.AssetBalance](docs/AssetBalance.md)
|
|
216
232
|
- [CoboWaas2.AssetInfo](docs/AssetInfo.md)
|
|
217
233
|
- [CoboWaas2.AutoFuelType](docs/AutoFuelType.md)
|
|
234
|
+
- [CoboWaas2.BTCBIP137MessageSignDestination](docs/BTCBIP137MessageSignDestination.md)
|
|
235
|
+
- [CoboWaas2.BTCBIP322MessageSignDestination](docs/BTCBIP322MessageSignDestination.md)
|
|
218
236
|
- [CoboWaas2.BTCEIP191MessageSignDestination](docs/BTCEIP191MessageSignDestination.md)
|
|
219
237
|
- [CoboWaas2.BabylonAirdropPop](docs/BabylonAirdropPop.md)
|
|
220
238
|
- [CoboWaas2.BabylonAirdropRegistration](docs/BabylonAirdropRegistration.md)
|
|
@@ -228,6 +246,7 @@ Class | Method | HTTP request | Description
|
|
|
228
246
|
- [CoboWaas2.BabylonStakingRegistration](docs/BabylonStakingRegistration.md)
|
|
229
247
|
- [CoboWaas2.BabylonValidator](docs/BabylonValidator.md)
|
|
230
248
|
- [CoboWaas2.Balance](docs/Balance.md)
|
|
249
|
+
- [CoboWaas2.BankAccount](docs/BankAccount.md)
|
|
231
250
|
- [CoboWaas2.BaseContractCallSource](docs/BaseContractCallSource.md)
|
|
232
251
|
- [CoboWaas2.BaseEstimateStakingFee](docs/BaseEstimateStakingFee.md)
|
|
233
252
|
- [CoboWaas2.BaseStakeExtra](docs/BaseStakeExtra.md)
|
|
@@ -252,31 +271,39 @@ Class | Method | HTTP request | Description
|
|
|
252
271
|
- [CoboWaas2.CoreStakeExtra](docs/CoreStakeExtra.md)
|
|
253
272
|
- [CoboWaas2.CoreStakingActivityDetailExtra](docs/CoreStakingActivityDetailExtra.md)
|
|
254
273
|
- [CoboWaas2.CoreStakingExtra](docs/CoreStakingExtra.md)
|
|
274
|
+
- [CoboWaas2.CosmosAdr36MessageSignDestination](docs/CosmosAdr36MessageSignDestination.md)
|
|
275
|
+
- [CoboWaas2.CosmosContractCallDestination](docs/CosmosContractCallDestination.md)
|
|
276
|
+
- [CoboWaas2.CosmosContractCallMessage](docs/CosmosContractCallMessage.md)
|
|
255
277
|
- [CoboWaas2.CreateAddressRequest](docs/CreateAddressRequest.md)
|
|
256
278
|
- [CoboWaas2.CreateBabylonAirdropRegistration201Response](docs/CreateBabylonAirdropRegistration201Response.md)
|
|
257
279
|
- [CoboWaas2.CreateBabylonAirdropRegistrationRequest](docs/CreateBabylonAirdropRegistrationRequest.md)
|
|
258
280
|
- [CoboWaas2.CreateBabylonStakingRegistration201Response](docs/CreateBabylonStakingRegistration201Response.md)
|
|
259
281
|
- [CoboWaas2.CreateBabylonStakingRegistrationRequest](docs/CreateBabylonStakingRegistrationRequest.md)
|
|
282
|
+
- [CoboWaas2.CreateBankAccountRequest](docs/CreateBankAccountRequest.md)
|
|
260
283
|
- [CoboWaas2.CreateClaimActivity](docs/CreateClaimActivity.md)
|
|
261
284
|
- [CoboWaas2.CreateClaimActivityRequest](docs/CreateClaimActivityRequest.md)
|
|
262
285
|
- [CoboWaas2.CreateCustodialWalletParams](docs/CreateCustodialWalletParams.md)
|
|
263
286
|
- [CoboWaas2.CreateExchangeWalletParams](docs/CreateExchangeWalletParams.md)
|
|
264
287
|
- [CoboWaas2.CreateKeyShareHolder](docs/CreateKeyShareHolder.md)
|
|
265
288
|
- [CoboWaas2.CreateKeyShareHolderGroupRequest](docs/CreateKeyShareHolderGroupRequest.md)
|
|
289
|
+
- [CoboWaas2.CreateMerchantRequest](docs/CreateMerchantRequest.md)
|
|
266
290
|
- [CoboWaas2.CreateMpcProjectRequest](docs/CreateMpcProjectRequest.md)
|
|
267
291
|
- [CoboWaas2.CreateMpcVaultRequest](docs/CreateMpcVaultRequest.md)
|
|
268
292
|
- [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
|
|
293
|
+
- [CoboWaas2.CreatePaymentOrderRequest](docs/CreatePaymentOrderRequest.md)
|
|
269
294
|
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
270
295
|
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
296
|
+
- [CoboWaas2.CreateRefundRequest](docs/CreateRefundRequest.md)
|
|
271
297
|
- [CoboWaas2.CreateSafeWalletParams](docs/CreateSafeWalletParams.md)
|
|
298
|
+
- [CoboWaas2.CreateSettlement](docs/CreateSettlement.md)
|
|
299
|
+
- [CoboWaas2.CreateSettlementRequestRequest](docs/CreateSettlementRequestRequest.md)
|
|
272
300
|
- [CoboWaas2.CreateSmartContractWalletParams](docs/CreateSmartContractWalletParams.md)
|
|
273
301
|
- [CoboWaas2.CreateStakeActivity](docs/CreateStakeActivity.md)
|
|
274
302
|
- [CoboWaas2.CreateStakeActivity201Response](docs/CreateStakeActivity201Response.md)
|
|
275
303
|
- [CoboWaas2.CreateStakeActivityExtra](docs/CreateStakeActivityExtra.md)
|
|
276
304
|
- [CoboWaas2.CreateStakeActivityRequest](docs/CreateStakeActivityRequest.md)
|
|
277
|
-
- [CoboWaas2.
|
|
278
|
-
- [CoboWaas2.
|
|
279
|
-
- [CoboWaas2.CreateSwapQuoteRequest](docs/CreateSwapQuoteRequest.md)
|
|
305
|
+
- [CoboWaas2.CreateTokenListingRequest201Response](docs/CreateTokenListingRequest201Response.md)
|
|
306
|
+
- [CoboWaas2.CreateTokenListingRequestRequest](docs/CreateTokenListingRequestRequest.md)
|
|
280
307
|
- [CoboWaas2.CreateTransferTransaction201Response](docs/CreateTransferTransaction201Response.md)
|
|
281
308
|
- [CoboWaas2.CreateTssRequestRequest](docs/CreateTssRequestRequest.md)
|
|
282
309
|
- [CoboWaas2.CreateUnstakeActivity](docs/CreateUnstakeActivity.md)
|
|
@@ -339,10 +366,15 @@ Class | Method | HTTP request | Description
|
|
|
339
366
|
- [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
|
|
340
367
|
- [CoboWaas2.FeeRate](docs/FeeRate.md)
|
|
341
368
|
- [CoboWaas2.FeeReserved](docs/FeeReserved.md)
|
|
369
|
+
- [CoboWaas2.FeeStationDestination](docs/FeeStationDestination.md)
|
|
342
370
|
- [CoboWaas2.FeeStationTransactionType](docs/FeeStationTransactionType.md)
|
|
371
|
+
- [CoboWaas2.FeeStationTransfer](docs/FeeStationTransfer.md)
|
|
343
372
|
- [CoboWaas2.FeeType](docs/FeeType.md)
|
|
344
373
|
- [CoboWaas2.FixedFeeRate](docs/FixedFeeRate.md)
|
|
345
374
|
- [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
|
|
375
|
+
- [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
|
|
376
|
+
- [CoboWaas2.GetRefunds200Response](docs/GetRefunds200Response.md)
|
|
377
|
+
- [CoboWaas2.GetSettlementInfoByIds200Response](docs/GetSettlementInfoByIds200Response.md)
|
|
346
378
|
- [CoboWaas2.GetStakingEstimationFee201Response](docs/GetStakingEstimationFee201Response.md)
|
|
347
379
|
- [CoboWaas2.GetStakingEstimationFeeRequest](docs/GetStakingEstimationFeeRequest.md)
|
|
348
380
|
- [CoboWaas2.GetToken2XXResponse](docs/GetToken2XXResponse.md)
|
|
@@ -365,12 +397,14 @@ Class | Method | HTTP request | Description
|
|
|
365
397
|
- [CoboWaas2.ListBabylonEligibleStakings200ResponseDataInner](docs/ListBabylonEligibleStakings200ResponseDataInner.md)
|
|
366
398
|
- [CoboWaas2.ListBabylonStakingRegistrations200Response](docs/ListBabylonStakingRegistrations200Response.md)
|
|
367
399
|
- [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
|
|
368
|
-
- [CoboWaas2.ListEnableTokenPairs200Response](docs/ListEnableTokenPairs200Response.md)
|
|
369
400
|
- [CoboWaas2.ListExchanges200ResponseInner](docs/ListExchanges200ResponseInner.md)
|
|
370
401
|
- [CoboWaas2.ListKeyShareHolderGroups200Response](docs/ListKeyShareHolderGroups200Response.md)
|
|
371
402
|
- [CoboWaas2.ListKeyShareHolders200Response](docs/ListKeyShareHolders200Response.md)
|
|
403
|
+
- [CoboWaas2.ListMerchants200Response](docs/ListMerchants200Response.md)
|
|
372
404
|
- [CoboWaas2.ListMpcProjects200Response](docs/ListMpcProjects200Response.md)
|
|
373
405
|
- [CoboWaas2.ListMpcVaults200Response](docs/ListMpcVaults200Response.md)
|
|
406
|
+
- [CoboWaas2.ListPaymentOrders200Response](docs/ListPaymentOrders200Response.md)
|
|
407
|
+
- [CoboWaas2.ListSettlementRequests200Response](docs/ListSettlementRequests200Response.md)
|
|
374
408
|
- [CoboWaas2.ListStakingActivities200Response](docs/ListStakingActivities200Response.md)
|
|
375
409
|
- [CoboWaas2.ListStakingPools200Response](docs/ListStakingPools200Response.md)
|
|
376
410
|
- [CoboWaas2.ListStakings200Response](docs/ListStakings200Response.md)
|
|
@@ -378,8 +412,10 @@ Class | Method | HTTP request | Description
|
|
|
378
412
|
- [CoboWaas2.ListSupportedChains200Response](docs/ListSupportedChains200Response.md)
|
|
379
413
|
- [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
|
|
380
414
|
- [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
|
|
381
|
-
- [CoboWaas2.ListSwapActivities200Response](docs/ListSwapActivities200Response.md)
|
|
382
415
|
- [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
|
|
416
|
+
- [CoboWaas2.ListTokenBalancesForFeeStation200Response](docs/ListTokenBalancesForFeeStation200Response.md)
|
|
417
|
+
- [CoboWaas2.ListTokenBalancesForFeeStation200ResponseDataInner](docs/ListTokenBalancesForFeeStation200ResponseDataInner.md)
|
|
418
|
+
- [CoboWaas2.ListTokenListingRequests200Response](docs/ListTokenListingRequests200Response.md)
|
|
383
419
|
- [CoboWaas2.ListTransactionApprovalDetails200Response](docs/ListTransactionApprovalDetails200Response.md)
|
|
384
420
|
- [CoboWaas2.ListTransactions200Response](docs/ListTransactions200Response.md)
|
|
385
421
|
- [CoboWaas2.ListTssRequests200Response](docs/ListTssRequests200Response.md)
|
|
@@ -400,6 +436,7 @@ Class | Method | HTTP request | Description
|
|
|
400
436
|
- [CoboWaas2.MPCWalletInfo](docs/MPCWalletInfo.md)
|
|
401
437
|
- [CoboWaas2.MaxFeeAmount](docs/MaxFeeAmount.md)
|
|
402
438
|
- [CoboWaas2.MaxTransferableValue](docs/MaxTransferableValue.md)
|
|
439
|
+
- [CoboWaas2.Merchant](docs/Merchant.md)
|
|
403
440
|
- [CoboWaas2.MessageSignDestination](docs/MessageSignDestination.md)
|
|
404
441
|
- [CoboWaas2.MessageSignDestinationType](docs/MessageSignDestinationType.md)
|
|
405
442
|
- [CoboWaas2.MessageSignParams](docs/MessageSignParams.md)
|
|
@@ -410,8 +447,14 @@ Class | Method | HTTP request | Description
|
|
|
410
447
|
- [CoboWaas2.MpcSigningGroup](docs/MpcSigningGroup.md)
|
|
411
448
|
- [CoboWaas2.MpcStakeSource](docs/MpcStakeSource.md)
|
|
412
449
|
- [CoboWaas2.MpcTransferSource](docs/MpcTransferSource.md)
|
|
450
|
+
- [CoboWaas2.Order](docs/Order.md)
|
|
451
|
+
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
413
452
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
414
453
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
454
|
+
- [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
|
|
455
|
+
- [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
|
|
456
|
+
- [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
|
|
457
|
+
- [CoboWaas2.PaymentTransaction](docs/PaymentTransaction.md)
|
|
415
458
|
- [CoboWaas2.PoolDetails](docs/PoolDetails.md)
|
|
416
459
|
- [CoboWaas2.PoolDetailsAllOfValidatorsInfo](docs/PoolDetailsAllOfValidatorsInfo.md)
|
|
417
460
|
- [CoboWaas2.PoolSummary](docs/PoolSummary.md)
|
|
@@ -423,6 +466,9 @@ Class | Method | HTTP request | Description
|
|
|
423
466
|
- [CoboWaas2.RefreshAddressBalancesByTokenRequest](docs/RefreshAddressBalancesByTokenRequest.md)
|
|
424
467
|
- [CoboWaas2.RefreshToken2XXResponse](docs/RefreshToken2XXResponse.md)
|
|
425
468
|
- [CoboWaas2.RefreshTokenRequest](docs/RefreshTokenRequest.md)
|
|
469
|
+
- [CoboWaas2.Refund](docs/Refund.md)
|
|
470
|
+
- [CoboWaas2.RefundStatus](docs/RefundStatus.md)
|
|
471
|
+
- [CoboWaas2.RefundType](docs/RefundType.md)
|
|
426
472
|
- [CoboWaas2.ReplaceType](docs/ReplaceType.md)
|
|
427
473
|
- [CoboWaas2.RetryCallbackMessage201Response](docs/RetryCallbackMessage201Response.md)
|
|
428
474
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
@@ -441,6 +487,12 @@ Class | Method | HTTP request | Description
|
|
|
441
487
|
- [CoboWaas2.Scopes](docs/Scopes.md)
|
|
442
488
|
- [CoboWaas2.SelectedEntityType](docs/SelectedEntityType.md)
|
|
443
489
|
- [CoboWaas2.SelfCustodyWallet](docs/SelfCustodyWallet.md)
|
|
490
|
+
- [CoboWaas2.SettleRequestStatus](docs/SettleRequestStatus.md)
|
|
491
|
+
- [CoboWaas2.SettleStatus](docs/SettleStatus.md)
|
|
492
|
+
- [CoboWaas2.Settlement](docs/Settlement.md)
|
|
493
|
+
- [CoboWaas2.SettlementDetail](docs/SettlementDetail.md)
|
|
494
|
+
- [CoboWaas2.SettlementInfo](docs/SettlementInfo.md)
|
|
495
|
+
- [CoboWaas2.SettlementType](docs/SettlementType.md)
|
|
444
496
|
- [CoboWaas2.SmartContractInitiator](docs/SmartContractInitiator.md)
|
|
445
497
|
- [CoboWaas2.SmartContractWalletInfo](docs/SmartContractWalletInfo.md)
|
|
446
498
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
@@ -458,8 +510,12 @@ Class | Method | HTTP request | Description
|
|
|
458
510
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
459
511
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
460
512
|
- [CoboWaas2.SwapActivity](docs/SwapActivity.md)
|
|
513
|
+
- [CoboWaas2.SwapActivityDetail](docs/SwapActivityDetail.md)
|
|
514
|
+
- [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
|
|
515
|
+
- [CoboWaas2.SwapActivityTimeline](docs/SwapActivityTimeline.md)
|
|
461
516
|
- [CoboWaas2.SwapQuote](docs/SwapQuote.md)
|
|
462
|
-
- [CoboWaas2.
|
|
517
|
+
- [CoboWaas2.SwapToken](docs/SwapToken.md)
|
|
518
|
+
- [CoboWaas2.SwapType](docs/SwapType.md)
|
|
463
519
|
- [CoboWaas2.TSSGroups](docs/TSSGroups.md)
|
|
464
520
|
- [CoboWaas2.TSSRequest](docs/TSSRequest.md)
|
|
465
521
|
- [CoboWaas2.TSSRequestStatus](docs/TSSRequestStatus.md)
|
|
@@ -468,13 +524,25 @@ Class | Method | HTTP request | Description
|
|
|
468
524
|
- [CoboWaas2.TokenAssetModelType](docs/TokenAssetModelType.md)
|
|
469
525
|
- [CoboWaas2.TokenBalance](docs/TokenBalance.md)
|
|
470
526
|
- [CoboWaas2.TokenInfo](docs/TokenInfo.md)
|
|
527
|
+
- [CoboWaas2.TokenListing](docs/TokenListing.md)
|
|
528
|
+
- [CoboWaas2.TokenListingEventData](docs/TokenListingEventData.md)
|
|
529
|
+
- [CoboWaas2.TokenListingRequestSource](docs/TokenListingRequestSource.md)
|
|
530
|
+
- [CoboWaas2.TokenListingRequestStatus](docs/TokenListingRequestStatus.md)
|
|
471
531
|
- [CoboWaas2.TokensEventData](docs/TokensEventData.md)
|
|
472
532
|
- [CoboWaas2.Transaction](docs/Transaction.md)
|
|
473
533
|
- [CoboWaas2.TransactionApprovalDetail](docs/TransactionApprovalDetail.md)
|
|
474
534
|
- [CoboWaas2.TransactionApprovalResult](docs/TransactionApprovalResult.md)
|
|
475
535
|
- [CoboWaas2.TransactionApprover](docs/TransactionApprover.md)
|
|
536
|
+
- [CoboWaas2.TransactionBIP137Destination](docs/TransactionBIP137Destination.md)
|
|
537
|
+
- [CoboWaas2.TransactionBIP322Destination](docs/TransactionBIP322Destination.md)
|
|
538
|
+
- [CoboWaas2.TransactionBabylonBusinessInfo](docs/TransactionBabylonBusinessInfo.md)
|
|
539
|
+
- [CoboWaas2.TransactionBabylonTxParameters](docs/TransactionBabylonTxParameters.md)
|
|
476
540
|
- [CoboWaas2.TransactionBlockInfo](docs/TransactionBlockInfo.md)
|
|
477
541
|
- [CoboWaas2.TransactionCoboCategory](docs/TransactionCoboCategory.md)
|
|
542
|
+
- [CoboWaas2.TransactionCoreStakeInfo](docs/TransactionCoreStakeInfo.md)
|
|
543
|
+
- [CoboWaas2.TransactionCosmosAdr36Destination](docs/TransactionCosmosAdr36Destination.md)
|
|
544
|
+
- [CoboWaas2.TransactionCosmosContractDestination](docs/TransactionCosmosContractDestination.md)
|
|
545
|
+
- [CoboWaas2.TransactionCosmosMessage](docs/TransactionCosmosMessage.md)
|
|
478
546
|
- [CoboWaas2.TransactionCustodialAssetWalletSource](docs/TransactionCustodialAssetWalletSource.md)
|
|
479
547
|
- [CoboWaas2.TransactionCustodialWeb3WalletSource](docs/TransactionCustodialWeb3WalletSource.md)
|
|
480
548
|
- [CoboWaas2.TransactionDepositFromAddressSource](docs/TransactionDepositFromAddressSource.md)
|
|
@@ -493,12 +561,15 @@ Class | Method | HTTP request | Description
|
|
|
493
561
|
- [CoboWaas2.TransactionEvmEip1559Fee](docs/TransactionEvmEip1559Fee.md)
|
|
494
562
|
- [CoboWaas2.TransactionEvmLegacyFee](docs/TransactionEvmLegacyFee.md)
|
|
495
563
|
- [CoboWaas2.TransactionExchangeWalletSource](docs/TransactionExchangeWalletSource.md)
|
|
564
|
+
- [CoboWaas2.TransactionExtra](docs/TransactionExtra.md)
|
|
565
|
+
- [CoboWaas2.TransactionExtraType](docs/TransactionExtraType.md)
|
|
496
566
|
- [CoboWaas2.TransactionFee](docs/TransactionFee.md)
|
|
497
567
|
- [CoboWaas2.TransactionFeeStationWalletSource](docs/TransactionFeeStationWalletSource.md)
|
|
498
568
|
- [CoboWaas2.TransactionFixedFee](docs/TransactionFixedFee.md)
|
|
499
569
|
- [CoboWaas2.TransactionFuelingInfo](docs/TransactionFuelingInfo.md)
|
|
500
570
|
- [CoboWaas2.TransactionInitiatorType](docs/TransactionInitiatorType.md)
|
|
501
571
|
- [CoboWaas2.TransactionMPCWalletSource](docs/TransactionMPCWalletSource.md)
|
|
572
|
+
- [CoboWaas2.TransactionMessageSignBTCEIP191Destination](docs/TransactionMessageSignBTCEIP191Destination.md)
|
|
502
573
|
- [CoboWaas2.TransactionMessageSignEIP191Destination](docs/TransactionMessageSignEIP191Destination.md)
|
|
503
574
|
- [CoboWaas2.TransactionMessageSignEIP712Destination](docs/TransactionMessageSignEIP712Destination.md)
|
|
504
575
|
- [CoboWaas2.TransactionProcessType](docs/TransactionProcessType.md)
|
|
@@ -563,9 +634,11 @@ Class | Method | HTTP request | Description
|
|
|
563
634
|
- [CoboWaas2.UpdateExchangeWalletParams](docs/UpdateExchangeWalletParams.md)
|
|
564
635
|
- [CoboWaas2.UpdateGroupAction](docs/UpdateGroupAction.md)
|
|
565
636
|
- [CoboWaas2.UpdateKeyShareHolderGroupByIdRequest](docs/UpdateKeyShareHolderGroupByIdRequest.md)
|
|
637
|
+
- [CoboWaas2.UpdateMerchantByIdRequest](docs/UpdateMerchantByIdRequest.md)
|
|
566
638
|
- [CoboWaas2.UpdateMpcProjectByIdRequest](docs/UpdateMpcProjectByIdRequest.md)
|
|
567
639
|
- [CoboWaas2.UpdateMpcVaultByIdRequest](docs/UpdateMpcVaultByIdRequest.md)
|
|
568
640
|
- [CoboWaas2.UpdateMpcWalletParams](docs/UpdateMpcWalletParams.md)
|
|
641
|
+
- [CoboWaas2.UpdatePaymentOrderRequest](docs/UpdatePaymentOrderRequest.md)
|
|
569
642
|
- [CoboWaas2.UpdateSmartContractWalletParams](docs/UpdateSmartContractWalletParams.md)
|
|
570
643
|
- [CoboWaas2.UpdateWalletParams](docs/UpdateWalletParams.md)
|
|
571
644
|
- [CoboWaas2.UpdateWebhookEndpointByIdRequest](docs/UpdateWebhookEndpointByIdRequest.md)
|
|
@@ -653,4 +726,14 @@ Authentication schemes defined for the API:
|
|
|
653
726
|
- webhook.read: Read webhook URLs/events
|
|
654
727
|
- webhook.edit: Edit webhook URLs
|
|
655
728
|
- webhook.resend: Resend webhook events
|
|
729
|
+
- payment_orders_payin.create: Create pay-in order
|
|
730
|
+
- payment_orders_payin.read: Read pay-in order information
|
|
731
|
+
- payment_orders_payin.update: Update pay-in order
|
|
732
|
+
- payment_orders_refund.create: Create payment refund order
|
|
733
|
+
- payment_orders_refund.read: Read payment refund order information
|
|
734
|
+
- payment_settlement.create: Create payment settlement request
|
|
735
|
+
- payment_settlement.read: Read payment settlement request information
|
|
736
|
+
- payment_merchant.create: Create payment merchant
|
|
737
|
+
- payment_merchant.read: Read payment merchant information
|
|
738
|
+
- payment_merchant.update: Update payment merchant
|
|
656
739
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -6,8 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
9
|
+
var _EstimatedFixedFee = _interopRequireDefault(require("../model/EstimatedFixedFee"));
|
|
10
|
+
var _FeeStationTransfer = _interopRequireDefault(require("../model/FeeStationTransfer"));
|
|
9
11
|
var _ListAddresses200Response = _interopRequireDefault(require("../model/ListAddresses200Response"));
|
|
10
|
-
var
|
|
12
|
+
var _ListTokenBalancesForFeeStation200Response = _interopRequireDefault(require("../model/ListTokenBalancesForFeeStation200Response"));
|
|
11
13
|
var _ListTransactions200Response = _interopRequireDefault(require("../model/ListTransactions200Response"));
|
|
12
14
|
var _TransactionDetail = _interopRequireDefault(require("../model/TransactionDetail"));
|
|
13
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -44,12 +46,53 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
48
|
-
* This operation
|
|
49
|
-
* @param {
|
|
50
|
-
* @
|
|
49
|
+
* Estimate transaction fee
|
|
50
|
+
* This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {module:model/FeeStationTransfer} [FeeStationTransfer] The information about a token transfer.
|
|
53
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EstimatedFixedFee} and HTTP response
|
|
51
54
|
*/
|
|
52
55
|
return _createClass(FeeStationApi, [{
|
|
56
|
+
key: "estimateFeeStationFeeWithHttpInfo",
|
|
57
|
+
value: function estimateFeeStationFeeWithHttpInfo(opts) {
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
var postBody = opts['FeeStationTransfer'];
|
|
60
|
+
if (postBody && postBody.toJSON) {
|
|
61
|
+
postBody = postBody.toJSON();
|
|
62
|
+
}
|
|
63
|
+
var pathParams = {};
|
|
64
|
+
var queryParams = {};
|
|
65
|
+
var headerParams = {};
|
|
66
|
+
var formParams = {};
|
|
67
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
68
|
+
var contentTypes = ['application/json'];
|
|
69
|
+
var accepts = ['application/json'];
|
|
70
|
+
var returnType = _EstimatedFixedFee["default"];
|
|
71
|
+
return this.apiClient.callApi('/fee_station/transactions/estimate_fee', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Estimate transaction fee
|
|
76
|
+
* This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
|
|
77
|
+
* @param {Object} opts Optional parameters
|
|
78
|
+
* @param {module:model/FeeStationTransfer} opts.FeeStationTransfer The information about a token transfer.
|
|
79
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EstimatedFixedFee}
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "estimateFeeStationFee",
|
|
83
|
+
value: function estimateFeeStationFee(opts) {
|
|
84
|
+
return this.estimateFeeStationFeeWithHttpInfo(opts).then(function (response_and_data) {
|
|
85
|
+
return response_and_data.data;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Get Fee Station transaction information
|
|
91
|
+
* This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
92
|
+
* @param {String} transaction_id The transaction ID.
|
|
93
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionDetail} and HTTP response
|
|
94
|
+
*/
|
|
95
|
+
}, {
|
|
53
96
|
key: "getFeeStationTransactionByIdWithHttpInfo",
|
|
54
97
|
value: function getFeeStationTransactionByIdWithHttpInfo(transaction_id) {
|
|
55
98
|
var postBody = null;
|
|
@@ -74,8 +117,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
74
117
|
}
|
|
75
118
|
|
|
76
119
|
/**
|
|
77
|
-
* Get
|
|
78
|
-
* This operation retrieves detailed information about a specified transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
120
|
+
* Get Fee Station transaction information
|
|
121
|
+
* This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
|
|
79
122
|
* @param {String} transaction_id The transaction ID.
|
|
80
123
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransactionDetail}
|
|
81
124
|
*/
|
|
@@ -88,8 +131,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
131
|
}
|
|
89
132
|
|
|
90
133
|
/**
|
|
91
|
-
* List
|
|
92
|
-
* This operation retrieves a list of addresses within
|
|
134
|
+
* List Fee Station addresses
|
|
135
|
+
* This operation retrieves a list of addresses within your Fee Station.
|
|
93
136
|
* @param {Object} opts Optional parameters
|
|
94
137
|
* @param {String} [chain_ids] A list of chain IDs, separated by comma. The chain ID 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).
|
|
95
138
|
* @param {String} [addresses] A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
@@ -124,8 +167,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
124
167
|
}
|
|
125
168
|
|
|
126
169
|
/**
|
|
127
|
-
* List
|
|
128
|
-
* This operation retrieves a list of addresses within
|
|
170
|
+
* List Fee Station addresses
|
|
171
|
+
* This operation retrieves a list of addresses within your Fee Station.
|
|
129
172
|
* @param {Object} opts Optional parameters
|
|
130
173
|
* @param {String} opts.chain_ids A list of chain IDs, separated by comma. The chain ID 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).
|
|
131
174
|
* @param {String} opts.addresses A list of wallet addresses, separated by comma. For addresses requiring a memo, append the memo after the address using the '|' separator (e.g., \"address|memo\").
|
|
@@ -143,14 +186,14 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
143
186
|
}
|
|
144
187
|
|
|
145
188
|
/**
|
|
146
|
-
* List all
|
|
147
|
-
* This operation retrieves all
|
|
189
|
+
* List all Fee Station transactions
|
|
190
|
+
* This operation retrieves all Fee Station transactions under your organization. You can filter the results by request ID, Cobo ID, transaction ID, transaction hash, type, status, and timestamp. You can also paginate and sort your query results.
|
|
148
191
|
* @param {Object} opts Optional parameters
|
|
149
192
|
* @param {String} [request_id] 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.
|
|
150
193
|
* @param {String} [cobo_ids] A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction.
|
|
151
194
|
* @param {String} [transaction_ids] A list of transaction IDs, separated by comma.
|
|
152
195
|
* @param {String} [transaction_hashes] A list of transaction hashes, separated by comma.
|
|
153
|
-
* @param {String} [types] A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
196
|
+
* @param {String} [types] A list of transaction types for Fee Station, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
154
197
|
* @param {String} [statuses] A list of transaction statuses, separated by comma. Possible values include: - `Submitted`: The transaction is submitted. - `PendingScreening`: The transaction is pending screening by Risk Control. - `PendingAuthorization`: The transaction is pending approvals. - `PendingSignature`: The transaction is pending signature. - `Broadcasting`: The transaction is being broadcast. - `Confirming`: The transaction is waiting for the required number of confirmations. - `Completed`: The transaction is completed. - `Failed`: The transaction failed. - `Rejected`: The transaction is rejected. - `Pending`: The transaction is waiting to be included in the next block of the blockchain.
|
|
155
198
|
* @param {String} [chain_ids] A list of chain IDs, separated by comma. The chain ID 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).
|
|
156
199
|
* @param {String} [token_ids] A list of token IDs, separated by comma. The token ID 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).
|
|
@@ -199,14 +242,14 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
199
242
|
}
|
|
200
243
|
|
|
201
244
|
/**
|
|
202
|
-
* List all
|
|
203
|
-
* This operation retrieves all
|
|
245
|
+
* List all Fee Station transactions
|
|
246
|
+
* This operation retrieves all Fee Station transactions under your organization. You can filter the results by request ID, Cobo ID, transaction ID, transaction hash, type, status, and timestamp. You can also paginate and sort your query results.
|
|
204
247
|
* @param {Object} opts Optional parameters
|
|
205
248
|
* @param {String} opts.request_id 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.
|
|
206
249
|
* @param {String} opts.cobo_ids A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction.
|
|
207
250
|
* @param {String} opts.transaction_ids A list of transaction IDs, separated by comma.
|
|
208
251
|
* @param {String} opts.transaction_hashes A list of transaction hashes, separated by comma.
|
|
209
|
-
* @param {String} opts.types A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
252
|
+
* @param {String} opts.types A list of transaction types for Fee Station, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction.
|
|
210
253
|
* @param {String} opts.statuses A list of transaction statuses, separated by comma. Possible values include: - `Submitted`: The transaction is submitted. - `PendingScreening`: The transaction is pending screening by Risk Control. - `PendingAuthorization`: The transaction is pending approvals. - `PendingSignature`: The transaction is pending signature. - `Broadcasting`: The transaction is being broadcast. - `Confirming`: The transaction is waiting for the required number of confirmations. - `Completed`: The transaction is completed. - `Failed`: The transaction failed. - `Rejected`: The transaction is rejected. - `Pending`: The transaction is waiting to be included in the next block of the blockchain.
|
|
211
254
|
* @param {String} opts.chain_ids A list of chain IDs, separated by comma. The chain ID 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).
|
|
212
255
|
* @param {String} opts.token_ids A list of token IDs, separated by comma. The token ID 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).
|
|
@@ -228,14 +271,14 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
228
271
|
}
|
|
229
272
|
|
|
230
273
|
/**
|
|
231
|
-
* List token balances
|
|
232
|
-
* The operation retrieves a list of token balances within
|
|
274
|
+
* List Fee Station token balances
|
|
275
|
+
* The operation retrieves a list of token balances within your Fee Station.
|
|
233
276
|
* @param {Object} opts Optional parameters
|
|
234
277
|
* @param {String} [token_ids] A list of token IDs, separated by comma. The token ID 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).
|
|
235
278
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
236
279
|
* @param {String} [before] 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.
|
|
237
280
|
* @param {String} [after] 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.
|
|
238
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
281
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTokenBalancesForFeeStation200Response} and HTTP response
|
|
239
282
|
*/
|
|
240
283
|
}, {
|
|
241
284
|
key: "listTokenBalancesForFeeStationWithHttpInfo",
|
|
@@ -257,19 +300,19 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
257
300
|
var authNames = ['OAuth2', 'CoboAuth'];
|
|
258
301
|
var contentTypes = [];
|
|
259
302
|
var accepts = ['application/json'];
|
|
260
|
-
var returnType =
|
|
303
|
+
var returnType = _ListTokenBalancesForFeeStation200Response["default"];
|
|
261
304
|
return this.apiClient.callApi('/fee_station/tokens', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
262
305
|
}
|
|
263
306
|
|
|
264
307
|
/**
|
|
265
|
-
* List token balances
|
|
266
|
-
* The operation retrieves a list of token balances within
|
|
308
|
+
* List Fee Station token balances
|
|
309
|
+
* The operation retrieves a list of token balances within your Fee Station.
|
|
267
310
|
* @param {Object} opts Optional parameters
|
|
268
311
|
* @param {String} opts.token_ids A list of token IDs, separated by comma. The token ID 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).
|
|
269
312
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
270
313
|
* @param {String} opts.before 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.
|
|
271
314
|
* @param {String} opts.after 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.
|
|
272
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
315
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTokenBalancesForFeeStation200Response}
|
|
273
316
|
*/
|
|
274
317
|
}, {
|
|
275
318
|
key: "listTokenBalancesForFeeStation",
|