Skip to content

Commit 2b0d07c

Browse files
author
gateio
committed
update to v6.100.0
1 parent 3ff79dd commit 2b0d07c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2875
-613
lines changed

README.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
## gate-api@6.99.0
1+
## gate-api@6.100.0
22

33
TypeScript NodeJS client for gate-api.
44

55
Welcome to Gate API
66

77
APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
88

9+
910
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1011

11-
- API version: 4.99.0
12+
- API version: 4.100.0
1213
- Package version:
1314
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1415
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
@@ -88,6 +89,14 @@ Class | Method | HTTP request | Description
8889
*AccountApi* | [**deleteSTPGroupUsers**](docs/AccountApi.md#deleteSTPGroupUsers) | **DELETE** /account/stp_groups/{stp_id}/users | Delete the user in the STP group
8990
*AccountApi* | [**getDebitFee**](docs/AccountApi.md#getDebitFee) | **GET** /account/debit_fee | Query GT deduction configuration.
9091
*AccountApi* | [**setDebitFee**](docs/AccountApi.md#setDebitFee) | **POST** /account/debit_fee | Set GT deduction.
92+
*AlphaApi* | [**listAlphaAccounts**](docs/AlphaApi.md#listAlphaAccounts) | **GET** /alpha/accounts | API for Alpha Accounts
93+
*AlphaApi* | [**listAlphaAccountBook**](docs/AlphaApi.md#listAlphaAccountBook) | **GET** /alpha/account_book | Alpha Asset Transaction API
94+
*AlphaApi* | [**quoteAlphaOrder**](docs/AlphaApi.md#quoteAlphaOrder) | **POST** /alpha/quote | Alpha Quotation API
95+
*AlphaApi* | [**listAlphaOrder**](docs/AlphaApi.md#listAlphaOrder) | **GET** /alpha/orders | Alpha 查询订单列表接口
96+
*AlphaApi* | [**placeAlphaOrder**](docs/AlphaApi.md#placeAlphaOrder) | **POST** /alpha/orders | Alpha Order Placement API
97+
*AlphaApi* | [**getAlphaOrder**](docs/AlphaApi.md#getAlphaOrder) | **GET** /alpha/order | Alpha 查询单个订单接口
98+
*AlphaApi* | [**listAlphaCurrencies**](docs/AlphaApi.md#listAlphaCurrencies) | **GET** /alpha/currencies | 查询币种信息
99+
*AlphaApi* | [**listAlphaTickers**](docs/AlphaApi.md#listAlphaTickers) | **GET** /alpha/tickers | 查询币种ticker
91100
*CollateralLoanApi* | [**listCollateralLoanOrders**](docs/CollateralLoanApi.md#listCollateralLoanOrders) | **GET** /loan/collateral/orders | List Orders
92101
*CollateralLoanApi* | [**createCollateralLoan**](docs/CollateralLoanApi.md#createCollateralLoan) | **POST** /loan/collateral/orders | Place order
93102
*CollateralLoanApi* | [**getCollateralLoanOrderDetail**](docs/CollateralLoanApi.md#getCollateralLoanOrderDetail) | **GET** /loan/collateral/orders/{order_id} | Get a single order
@@ -135,6 +144,8 @@ Class | Method | HTTP request | Description
135144
*EarnApi* | [**listStructuredProducts**](docs/EarnApi.md#listStructuredProducts) | **GET** /earn/structured/products | Structured Product List
136145
*EarnApi* | [**listStructuredOrders**](docs/EarnApi.md#listStructuredOrders) | **GET** /earn/structured/orders | Structured Product Order List
137146
*EarnApi* | [**placeStructuredOrder**](docs/EarnApi.md#placeStructuredOrder) | **POST** /earn/structured/orders | Place Structured Product Order
147+
*EarnApi* | [**findCoin**](docs/EarnApi.md#findCoin) | **GET** /earn/staking/coins | 链上赚币币种
148+
*EarnApi* | [**swapStakingCoin**](docs/EarnApi.md#swapStakingCoin) | **POST** /earn/staking/swap | On-chain Token Swap for Earned Coins
138149
*EarnUniApi* | [**listUniCurrencies**](docs/EarnUniApi.md#listUniCurrencies) | **GET** /earn/uni/currencies | List currencies for lending
139150
*EarnUniApi* | [**getUniCurrency**](docs/EarnUniApi.md#getUniCurrency) | **GET** /earn/uni/currencies/{currency} | Get currency detail for lending
140151
*EarnUniApi* | [**listUserUniLends**](docs/EarnUniApi.md#listUserUniLends) | **GET** /earn/uni/lends | List user\'s lending orders
@@ -200,25 +211,25 @@ Class | Method | HTTP request | Description
200211
*FuturesApi* | [**getPriceTriggeredOrder**](docs/FuturesApi.md#getPriceTriggeredOrder) | **GET** /futures/{settle}/price_orders/{order_id} | Get a price-triggered order
201212
*FuturesApi* | [**cancelPriceTriggeredOrder**](docs/FuturesApi.md#cancelPriceTriggeredOrder) | **DELETE** /futures/{settle}/price_orders/{order_id} | cancel a price-triggered order
202213
*MarginApi* | [**listMarginAccounts**](docs/MarginApi.md#listMarginAccounts) | **GET** /margin/accounts | Margin account list
203-
*MarginApi* | [**getUserMarginTier**](docs/MarginApi.md#getUserMarginTier) | **GET** /margin/user/loan_margin_tiers | Check the user\'s own leverage lending gradient in the current market
204-
*MarginApi* | [**getMarketMarginTier**](docs/MarginApi.md#getMarketMarginTier) | **GET** /margin/loan_margin_tiers | Query the current market leverage lending gradient
205-
*MarginApi* | [**setUserMarketLeverage**](docs/MarginApi.md#setUserMarketLeverage) | **POST** /margin/leverage/user_market_setting | Set the user market leverage multiple
206-
*MarginApi* | [**listMarginUserAccount**](docs/MarginApi.md#listMarginUserAccount) | **GET** /margin/user/account | Query the user\'s leverage account list
207214
*MarginApi* | [**listMarginAccountBook**](docs/MarginApi.md#listMarginAccountBook) | **GET** /margin/account_book | List margin account balance change history
208215
*MarginApi* | [**listFundingAccounts**](docs/MarginApi.md#listFundingAccounts) | **GET** /margin/funding_accounts | Funding account list
209216
*MarginApi* | [**getAutoRepayStatus**](docs/MarginApi.md#getAutoRepayStatus) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
210217
*MarginApi* | [**setAutoRepay**](docs/MarginApi.md#setAutoRepay) | **POST** /margin/auto_repay | Update user\'s auto repayment setting
211218
*MarginApi* | [**getMarginTransferable**](docs/MarginApi.md#getMarginTransferable) | **GET** /margin/transferable | Get the max transferable amount for a specific margin currency
219+
*MarginApi* | [**getUserMarginTier**](docs/MarginApi.md#getUserMarginTier) | **GET** /margin/user/loan_margin_tiers | Check the user\'s own leverage lending gradient in the current market
220+
*MarginApi* | [**getMarketMarginTier**](docs/MarginApi.md#getMarketMarginTier) | **GET** /margin/loan_margin_tiers | Query the current market leverage lending gradient
221+
*MarginApi* | [**setUserMarketLeverage**](docs/MarginApi.md#setUserMarketLeverage) | **POST** /margin/leverage/user_market_setting | Set the user market leverage multiple
222+
*MarginApi* | [**listMarginUserAccount**](docs/MarginApi.md#listMarginUserAccount) | **GET** /margin/user/account | Query the user\'s leverage account list
212223
*MarginApi* | [**listCrossMarginLoans**](docs/MarginApi.md#listCrossMarginLoans) | **GET** /margin/cross/loans | List cross margin borrow history. (deprecated)
213224
*MarginApi* | [**listCrossMarginRepayments**](docs/MarginApi.md#listCrossMarginRepayments) | **GET** /margin/cross/repayments | Retrieve cross margin repayments. (deprecated)
214225
*MarginUniApi* | [**listUniCurrencyPairs**](docs/MarginUniApi.md#listUniCurrencyPairs) | **GET** /margin/uni/currency_pairs | List lending markets
215-
*MarginUniApi* | [**listUniLoans**](docs/MarginUniApi.md#listUniLoans) | **GET** /margin/uni/loans | List loans
216-
*MarginUniApi* | [**createUniLoan**](docs/MarginUniApi.md#createUniLoan) | **POST** /margin/uni/loans | Borrow or repay
217-
*MarginUniApi* | [**getUniBorrowable**](docs/MarginUniApi.md#getUniBorrowable) | **GET** /margin/uni/borrowable | Get maximum borrowable
218226
*MarginUniApi* | [**getUniCurrencyPair**](docs/MarginUniApi.md#getUniCurrencyPair) | **GET** /margin/uni/currency_pairs/{currency_pair} | Get detail of lending market
219227
*MarginUniApi* | [**getMarginUniEstimateRate**](docs/MarginUniApi.md#getMarginUniEstimateRate) | **GET** /margin/uni/estimate_rate | Estimate interest Rate
228+
*MarginUniApi* | [**listUniLoans**](docs/MarginUniApi.md#listUniLoans) | **GET** /margin/uni/loans | List loans
229+
*MarginUniApi* | [**createUniLoan**](docs/MarginUniApi.md#createUniLoan) | **POST** /margin/uni/loans | Borrow or repay
220230
*MarginUniApi* | [**listUniLoanRecords**](docs/MarginUniApi.md#listUniLoanRecords) | **GET** /margin/uni/loan_records | Get load records
221231
*MarginUniApi* | [**listUniLoanInterestRecords**](docs/MarginUniApi.md#listUniLoanInterestRecords) | **GET** /margin/uni/interest_records | List interest records
232+
*MarginUniApi* | [**getUniBorrowable**](docs/MarginUniApi.md#getUniBorrowable) | **GET** /margin/uni/borrowable | Get maximum borrowable
222233
*MultiCollateralLoanApi* | [**listMultiCollateralOrders**](docs/MultiCollateralLoanApi.md#listMultiCollateralOrders) | **GET** /loan/multi_collateral/orders | List Multi-Collateral Orders
223234
*MultiCollateralLoanApi* | [**createMultiCollateral**](docs/MultiCollateralLoanApi.md#createMultiCollateral) | **POST** /loan/multi_collateral/orders | Create Multi-Collateral Order
224235
*MultiCollateralLoanApi* | [**getMultiCollateralOrderDetail**](docs/MultiCollateralLoanApi.md#getMultiCollateralOrderDetail) | **GET** /loan/multi_collateral/orders/{order_id} | Get Multi-Collateral Order Detail
@@ -361,9 +372,11 @@ Class | Method | HTTP request | Description
361372
## Documentation for Models
362373

363374
- [AccountBalance](docs/AccountBalance.md)
375+
- [AccountBookResponse](docs/AccountBookResponse.md)
364376
- [AccountDetail](docs/AccountDetail.md)
365377
- [AccountDetailKey](docs/AccountDetailKey.md)
366378
- [AccountRateLimit](docs/AccountRateLimit.md)
379+
- [AccountsResponse](docs/AccountsResponse.md)
367380
- [AgencyCommission](docs/AgencyCommission.md)
368381
- [AgencyCommissionHistory](docs/AgencyCommissionHistory.md)
369382
- [AgencyTransaction](docs/AgencyTransaction.md)
@@ -376,6 +389,7 @@ Class | Method | HTTP request | Description
376389
- [BorrowCurrencyInfo](docs/BorrowCurrencyInfo.md)
377390
- [BrokerCommission](docs/BrokerCommission.md)
378391
- [BrokerCommission1](docs/BrokerCommission1.md)
392+
- [BrokerCommissionSubBrokerInfo](docs/BrokerCommissionSubBrokerInfo.md)
379393
- [BrokerTransaction](docs/BrokerTransaction.md)
380394
- [BrokerTransaction1](docs/BrokerTransaction1.md)
381395
- [CancelBatchOrder](docs/CancelBatchOrder.md)
@@ -406,6 +420,7 @@ Class | Method | HTTP request | Description
406420
- [CrossMarginLoan](docs/CrossMarginLoan.md)
407421
- [CrossMarginRepayment](docs/CrossMarginRepayment.md)
408422
- [Currency](docs/Currency.md)
423+
- [Currency2](docs/Currency2.md)
409424
- [CurrencyChain](docs/CurrencyChain.md)
410425
- [CurrencyPair](docs/CurrencyPair.md)
411426
- [CurrencyQuota](docs/CurrencyQuota.md)
@@ -420,6 +435,7 @@ Class | Method | HTTP request | Description
420435
- [DualGetPlans](docs/DualGetPlans.md)
421436
- [Eth2RateList](docs/Eth2RateList.md)
422437
- [Eth2Swap](docs/Eth2Swap.md)
438+
- [FindCoin](docs/FindCoin.md)
423439
- [FlashSwapCurrencyPair](docs/FlashSwapCurrencyPair.md)
424440
- [FlashSwapOrder](docs/FlashSwapOrder.md)
425441
- [FlashSwapOrderPreview](docs/FlashSwapOrderPreview.md)
@@ -444,13 +460,13 @@ Class | Method | HTTP request | Description
444460
- [FuturesOrderAmendment](docs/FuturesOrderAmendment.md)
445461
- [FuturesOrderBook](docs/FuturesOrderBook.md)
446462
- [FuturesOrderBookItem](docs/FuturesOrderBookItem.md)
463+
- [FuturesPositionCrossMode](docs/FuturesPositionCrossMode.md)
447464
- [FuturesPremiumIndex](docs/FuturesPremiumIndex.md)
448465
- [FuturesPriceTrigger](docs/FuturesPriceTrigger.md)
449466
- [FuturesPriceTriggeredOrder](docs/FuturesPriceTriggeredOrder.md)
450467
- [FuturesTicker](docs/FuturesTicker.md)
451468
- [FuturesTrade](docs/FuturesTrade.md)
452469
- [IndexConstituent](docs/IndexConstituent.md)
453-
- [InlineObject](docs/InlineObject.md)
454470
- [InlineResponse200](docs/InlineResponse200.md)
455471
- [InlineResponse2001](docs/InlineResponse2001.md)
456472
- [InsuranceRecord](docs/InsuranceRecord.md)
@@ -506,16 +522,21 @@ Class | Method | HTTP request | Description
506522
- [OrderCancel](docs/OrderCancel.md)
507523
- [OrderPatch](docs/OrderPatch.md)
508524
- [OrderResp](docs/OrderResp.md)
525+
- [OrderResponse](docs/OrderResponse.md)
509526
- [PartnerCommissionHistory](docs/PartnerCommissionHistory.md)
510527
- [PartnerSub](docs/PartnerSub.md)
511528
- [PartnerSubList](docs/PartnerSubList.md)
512529
- [PartnerTransactionHistory](docs/PartnerTransactionHistory.md)
513530
- [PatchUniLend](docs/PatchUniLend.md)
514531
- [PlaceDualInvestmentOrder](docs/PlaceDualInvestmentOrder.md)
532+
- [PlaceOrderRequest](docs/PlaceOrderRequest.md)
533+
- [PlaceOrderResponse](docs/PlaceOrderResponse.md)
515534
- [Position](docs/Position.md)
516535
- [PositionClose](docs/PositionClose.md)
517536
- [PositionCloseOrder](docs/PositionCloseOrder.md)
518537
- [ProfitLossRange](docs/ProfitLossRange.md)
538+
- [QuoteRequest](docs/QuoteRequest.md)
539+
- [QuoteResponse](docs/QuoteResponse.md)
519540
- [RebateUserInfo](docs/RebateUserInfo.md)
520541
- [RepayCurrencyRes](docs/RepayCurrencyRes.md)
521542
- [RepayLoan](docs/RepayLoan.md)
@@ -552,10 +573,13 @@ Class | Method | HTTP request | Description
552573
- [SubAccountMarginBalance](docs/SubAccountMarginBalance.md)
553574
- [SubAccountToSubAccount](docs/SubAccountToSubAccount.md)
554575
- [SubAccountTransfer](docs/SubAccountTransfer.md)
576+
- [SubAccountTransferRecordItem](docs/SubAccountTransferRecordItem.md)
555577
- [SubCrossMarginAccount](docs/SubCrossMarginAccount.md)
556578
- [SubUserMode](docs/SubUserMode.md)
579+
- [SwapCoin](docs/SwapCoin.md)
557580
- [SystemTime](docs/SystemTime.md)
558581
- [Ticker](docs/Ticker.md)
582+
- [Ticker2](docs/Ticker2.md)
559583
- [TotalBalance](docs/TotalBalance.md)
560584
- [Trade](docs/Trade.md)
561585
- [TradeFee](docs/TradeFee.md)

0 commit comments

Comments
 (0)