Skip to content

Commit 3ff79dd

Browse files
author
gateio
committed
update to v6.99.0
1 parent a1346a9 commit 3ff79dd

File tree

288 files changed

+950
-2683
lines changed

Some content is hidden

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

288 files changed

+950
-2683
lines changed

README.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## gate-api@6.98.0
1+
## gate-api@6.99.0
22

33
TypeScript NodeJS client for gate-api.
44

@@ -8,7 +8,7 @@ APIv4 provides spot, margin and futures trading operations. There are public API
88

99
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1010

11-
- API version: 4.98.0
11+
- API version: 4.99.0
1212
- Package version:
1313
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1414
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
@@ -143,7 +143,6 @@ Class | Method | HTTP request | Description
143143
*EarnUniApi* | [**listUniLendRecords**](docs/EarnUniApi.md#listUniLendRecords) | **GET** /earn/uni/lend_records | List records of lending
144144
*EarnUniApi* | [**getUniInterest**](docs/EarnUniApi.md#getUniInterest) | **GET** /earn/uni/interests/{currency} | Get the user\'s total interest income of specified currency
145145
*EarnUniApi* | [**listUniInterestRecords**](docs/EarnUniApi.md#listUniInterestRecords) | **GET** /earn/uni/interest_records | List interest records
146-
*EarnUniApi* | [**switchInterestReinvest**](docs/EarnUniApi.md#switchInterestReinvest) | **PUT** /earn/uni/interest_reinvest | Set interest reinvestment toggle
147146
*EarnUniApi* | [**getUniInterestStatus**](docs/EarnUniApi.md#getUniInterestStatus) | **GET** /earn/uni/interest_status/{currency} | query currency interest compounding status
148147
*EarnUniApi* | [**listUniChart**](docs/EarnUniApi.md#listUniChart) | **GET** /earn/uni/chart | UniLoan currency annualized trend chart
149148
*EarnUniApi* | [**listUniRate**](docs/EarnUniApi.md#listUniRate) | **GET** /earn/uni/rate | Currency estimate annualized interest rate
@@ -201,36 +200,25 @@ Class | Method | HTTP request | Description
201200
*FuturesApi* | [**getPriceTriggeredOrder**](docs/FuturesApi.md#getPriceTriggeredOrder) | **GET** /futures/{settle}/price_orders/{order_id} | Get a price-triggered order
202201
*FuturesApi* | [**cancelPriceTriggeredOrder**](docs/FuturesApi.md#cancelPriceTriggeredOrder) | **DELETE** /futures/{settle}/price_orders/{order_id} | cancel a price-triggered order
203202
*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
204207
*MarginApi* | [**listMarginAccountBook**](docs/MarginApi.md#listMarginAccountBook) | **GET** /margin/account_book | List margin account balance change history
205208
*MarginApi* | [**listFundingAccounts**](docs/MarginApi.md#listFundingAccounts) | **GET** /margin/funding_accounts | Funding account list
206209
*MarginApi* | [**getAutoRepayStatus**](docs/MarginApi.md#getAutoRepayStatus) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
207210
*MarginApi* | [**setAutoRepay**](docs/MarginApi.md#setAutoRepay) | **POST** /margin/auto_repay | Update user\'s auto repayment setting
208211
*MarginApi* | [**getMarginTransferable**](docs/MarginApi.md#getMarginTransferable) | **GET** /margin/transferable | Get the max transferable amount for a specific margin currency
209-
*MarginApi* | [**listCrossMarginCurrencies**](docs/MarginApi.md#listCrossMarginCurrencies) | **GET** /margin/cross/currencies | Currencies supported by cross margin.(deprecated)
210-
*MarginApi* | [**getCrossMarginCurrency**](docs/MarginApi.md#getCrossMarginCurrency) | **GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin. (deprecated)
211-
*MarginApi* | [**getCrossMarginAccount**](docs/MarginApi.md#getCrossMarginAccount) | **GET** /margin/cross/accounts | Retrieve cross margin account. (deprecated)
212-
*MarginApi* | [**listCrossMarginAccountBook**](docs/MarginApi.md#listCrossMarginAccountBook) | **GET** /margin/cross/account_book | Retrieve cross margin account change history. (deprecated)
213212
*MarginApi* | [**listCrossMarginLoans**](docs/MarginApi.md#listCrossMarginLoans) | **GET** /margin/cross/loans | List cross margin borrow history. (deprecated)
214-
*MarginApi* | [**createCrossMarginLoan**](docs/MarginApi.md#createCrossMarginLoan) | **POST** /margin/cross/loans | Create a cross margin borrow loan. (deprecated)
215-
*MarginApi* | [**getCrossMarginLoan**](docs/MarginApi.md#getCrossMarginLoan) | **GET** /margin/cross/loans/{loan_id} | Retrieve single borrow loan detail. (deprecated)
216213
*MarginApi* | [**listCrossMarginRepayments**](docs/MarginApi.md#listCrossMarginRepayments) | **GET** /margin/cross/repayments | Retrieve cross margin repayments. (deprecated)
217-
*MarginApi* | [**repayCrossMarginLoan**](docs/MarginApi.md#repayCrossMarginLoan) | **POST** /margin/cross/repayments | Cross margin repayments. (deprecated)
218-
*MarginApi* | [**getCrossMarginInterestRecords**](docs/MarginApi.md#getCrossMarginInterestRecords) | **GET** /margin/cross/interest_records | Interest records for the cross margin account. (deprecated)
219-
*MarginApi* | [**getCrossMarginTransferable**](docs/MarginApi.md#getCrossMarginTransferable) | **GET** /margin/cross/transferable | Get the max transferable amount for a specific cross margin currency. (deprecated)
220-
*MarginApi* | [**getCrossMarginEstimateRate**](docs/MarginApi.md#getCrossMarginEstimateRate) | **GET** /margin/cross/estimate_rate | Estimated interest rates. (deprecated)
221-
*MarginApi* | [**getCrossMarginBorrowable**](docs/MarginApi.md#getCrossMarginBorrowable) | **GET** /margin/cross/borrowable | Get the max borrowable amount for a specific cross margin currency. (deprecated)
222-
*MarginApi* | [**getUserMarginTier**](docs/MarginApi.md#getUserMarginTier) | **GET** /margin/user/loan_margin_tiers | Check the user\'s own leverage lending gradient in the current market
223-
*MarginApi* | [**getMarketMarginTier**](docs/MarginApi.md#getMarketMarginTier) | **GET** /margin/loan_margin_tiers | Query the current market leverage lending gradient
224-
*MarginApi* | [**setUserMarketLeverage**](docs/MarginApi.md#setUserMarketLeverage) | **POST** /margin/leverage/user_market_setting | Set the user market leverage multiple
225-
*MarginApi* | [**listMarginUserAccount**](docs/MarginApi.md#listMarginUserAccount) | **GET** /margin/user/account | Query the user\'s leverage account list
226214
*MarginUniApi* | [**listUniCurrencyPairs**](docs/MarginUniApi.md#listUniCurrencyPairs) | **GET** /margin/uni/currency_pairs | List lending markets
227-
*MarginUniApi* | [**getUniCurrencyPair**](docs/MarginUniApi.md#getUniCurrencyPair) | **GET** /margin/uni/currency_pairs/{currency_pair} | Get detail of lending market
228-
*MarginUniApi* | [**getMarginUniEstimateRate**](docs/MarginUniApi.md#getMarginUniEstimateRate) | **GET** /margin/uni/estimate_rate | Estimate interest Rate
229215
*MarginUniApi* | [**listUniLoans**](docs/MarginUniApi.md#listUniLoans) | **GET** /margin/uni/loans | List loans
230216
*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
218+
*MarginUniApi* | [**getUniCurrencyPair**](docs/MarginUniApi.md#getUniCurrencyPair) | **GET** /margin/uni/currency_pairs/{currency_pair} | Get detail of lending market
219+
*MarginUniApi* | [**getMarginUniEstimateRate**](docs/MarginUniApi.md#getMarginUniEstimateRate) | **GET** /margin/uni/estimate_rate | Estimate interest Rate
231220
*MarginUniApi* | [**listUniLoanRecords**](docs/MarginUniApi.md#listUniLoanRecords) | **GET** /margin/uni/loan_records | Get load records
232221
*MarginUniApi* | [**listUniLoanInterestRecords**](docs/MarginUniApi.md#listUniLoanInterestRecords) | **GET** /margin/uni/interest_records | List interest records
233-
*MarginUniApi* | [**getUniBorrowable**](docs/MarginUniApi.md#getUniBorrowable) | **GET** /margin/uni/borrowable | Get maximum borrowable
234222
*MultiCollateralLoanApi* | [**listMultiCollateralOrders**](docs/MultiCollateralLoanApi.md#listMultiCollateralOrders) | **GET** /loan/multi_collateral/orders | List Multi-Collateral Orders
235223
*MultiCollateralLoanApi* | [**createMultiCollateral**](docs/MultiCollateralLoanApi.md#createMultiCollateral) | **POST** /loan/multi_collateral/orders | Create Multi-Collateral Order
236224
*MultiCollateralLoanApi* | [**getMultiCollateralOrderDetail**](docs/MultiCollateralLoanApi.md#getMultiCollateralOrderDetail) | **GET** /loan/multi_collateral/orders/{order_id} | Get Multi-Collateral Order Detail
@@ -414,15 +402,9 @@ Class | Method | HTTP request | Description
414402
- [CreateMultiCollateralOrder](docs/CreateMultiCollateralOrder.md)
415403
- [CreateUniLend](docs/CreateUniLend.md)
416404
- [CreateUniLoan](docs/CreateUniLoan.md)
417-
- [CrossMarginAccount](docs/CrossMarginAccount.md)
418-
- [CrossMarginAccountBook](docs/CrossMarginAccountBook.md)
419405
- [CrossMarginBalance](docs/CrossMarginBalance.md)
420-
- [CrossMarginBalance1](docs/CrossMarginBalance1.md)
421-
- [CrossMarginCurrency](docs/CrossMarginCurrency.md)
422406
- [CrossMarginLoan](docs/CrossMarginLoan.md)
423-
- [CrossMarginRepayRequest](docs/CrossMarginRepayRequest.md)
424407
- [CrossMarginRepayment](docs/CrossMarginRepayment.md)
425-
- [CrossMarginTransferable](docs/CrossMarginTransferable.md)
426408
- [Currency](docs/Currency.md)
427409
- [CurrencyChain](docs/CurrencyChain.md)
428410
- [CurrencyPair](docs/CurrencyPair.md)
@@ -589,7 +571,6 @@ Class | Method | HTTP request | Description
589571
- [UniCurrency](docs/UniCurrency.md)
590572
- [UniCurrencyInterest](docs/UniCurrencyInterest.md)
591573
- [UniCurrencyPair](docs/UniCurrencyPair.md)
592-
- [UniInterestMode](docs/UniInterestMode.md)
593574
- [UniInterestRecord](docs/UniInterestRecord.md)
594575
- [UniLend](docs/UniLend.md)
595576
- [UniLendInterest](docs/UniLendInterest.md)

api/accountApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/apiClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/collateralLoanApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/deliveryApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/earnApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/earnUniApi.ts

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
@@ -16,7 +16,6 @@ import { InlineResponse2001 } from '../model/inlineResponse2001';
1616
import { PatchUniLend } from '../model/patchUniLend';
1717
import { UniCurrency } from '../model/uniCurrency';
1818
import { UniCurrencyInterest } from '../model/uniCurrencyInterest';
19-
import { UniInterestMode } from '../model/uniInterestMode';
2019
import { UniInterestRecord } from '../model/uniInterestRecord';
2120
import { UniLend } from '../model/uniLend';
2221
import { UniLendInterest } from '../model/uniLendInterest';
@@ -365,37 +364,6 @@ export class EarnUniApi {
365364
return this.client.request<Array<UniInterestRecord>>(config, 'Array<UniInterestRecord>', authSettings);
366365
}
367366

368-
/**
369-
*
370-
* @summary Set interest reinvestment toggle
371-
* @param uniInterestMode
372-
*/
373-
public async switchInterestReinvest(
374-
uniInterestMode: UniInterestMode,
375-
): Promise<{ response: AxiosResponse; body?: any }> {
376-
const localVarPath = this.client.basePath + '/earn/uni/interest_reinvest';
377-
let localVarQueryParameters: any = {};
378-
let localVarHeaderParams: any = (<any>Object).assign({}, this.client.defaultHeaders);
379-
380-
// verify required parameter 'uniInterestMode' is not null or undefined
381-
if (uniInterestMode === null || uniInterestMode === undefined) {
382-
throw new Error(
383-
'Required parameter uniInterestMode was null or undefined when calling switchInterestReinvest.',
384-
);
385-
}
386-
387-
const config: AxiosRequestConfig = {
388-
method: 'PUT',
389-
params: localVarQueryParameters,
390-
headers: localVarHeaderParams,
391-
url: localVarPath,
392-
data: ObjectSerializer.serialize(uniInterestMode, 'UniInterestMode'),
393-
};
394-
395-
const authSettings = ['apiv4'];
396-
return this.client.request<any>(config, '', authSettings);
397-
}
398-
399367
/**
400368
*
401369
* @summary query currency interest compounding status
@@ -437,7 +405,7 @@ export class EarnUniApi {
437405
}
438406

439407
/**
440-
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-06-04 01:36+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
408+
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-06-17 09:55+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
441409
* @summary UniLoan currency annualized trend chart
442410
* @param from Start timestamp, unit s, maximum span of 30 days
443411
* @param to End timestamp, unit s, maximum span of 30 days
@@ -492,7 +460,7 @@ export class EarnUniApi {
492460
}
493461

494462
/**
495-
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-06-04 01:36+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
463+
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-06-17 09:55+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
496464
* @summary Currency estimate annualized interest rate
497465
*/
498466
public async listUniRate(): Promise<{ response: AxiosResponse; body: Array<InlineResponse2001> }> {

api/flashSwapApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

api/futuresApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Gate API v4
33
* Welcome to Gate API 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.
44
*
5-
* Contact: [email protected].io
5+
* Contact: [email protected].com
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech

0 commit comments

Comments
 (0)