1- ## gate-api@4.20.1
1+ ## gate-api@5.21.2
22
33TypeScript NodeJS client for gate-api.
44
@@ -8,7 +8,7 @@ APIv4 provides spot, margin and futures trading operations. There are public API
88
99This SDK is automatically generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project:
1010
11- - API version: 4.20.1
11+ - API version: 4.21.2
1212- Package version:
1313- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1414For more information, please visit [ https://www.gate.io/page/contacts ] ( https://www.gate.io/page/contacts )
@@ -160,6 +160,14 @@ Class | Method | HTTP request | Description
160160* MarginApi* | [ ** updateLoanRecord** ] ( docs/MarginApi.md#updateLoanRecord ) | ** PATCH** /margin/loan_records/{loan_record_id} | Modify a loan record
161161* MarginApi* | [ ** getAutoRepayStatus** ] ( docs/MarginApi.md#getAutoRepayStatus ) | ** GET** /margin/auto_repay | Retrieve user auto repayment setting
162162* MarginApi* | [ ** setAutoRepay** ] ( docs/MarginApi.md#setAutoRepay ) | ** POST** /margin/auto_repay | Update user\& #39 ;s auto repayment setting
163+ * MarginApi* | [ ** listCrossMarginCurrencies** ] ( docs/MarginApi.md#listCrossMarginCurrencies ) | ** GET** /margin/cross/currencies | Currencies supported by cross margin.
164+ * MarginApi* | [ ** getCrossMarginCurrency** ] ( docs/MarginApi.md#getCrossMarginCurrency ) | ** GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin
165+ * MarginApi* | [ ** getCrossMarginAccount** ] ( docs/MarginApi.md#getCrossMarginAccount ) | ** GET** /margin/cross/accounts | Retrieve cross margin account
166+ * MarginApi* | [ ** listCrossMarginLoans** ] ( docs/MarginApi.md#listCrossMarginLoans ) | ** GET** /margin/cross/loans | List cross margin borrow history
167+ * MarginApi* | [ ** createCrossMarginLoan** ] ( docs/MarginApi.md#createCrossMarginLoan ) | ** POST** /margin/cross/loans | Create a cross margin borrow loan
168+ * MarginApi* | [ ** getCrossMarginLoan** ] ( docs/MarginApi.md#getCrossMarginLoan ) | ** GET** /margin/cross/loans/{loan_id} | Retrieve single borrow loan detail
169+ * MarginApi* | [ ** listCrossMarginRepayments** ] ( docs/MarginApi.md#listCrossMarginRepayments ) | ** GET** /margin/cross/repayments | Retrieve cross margin repayments
170+ * MarginApi* | [ ** repayCrossMarginLoan** ] ( docs/MarginApi.md#repayCrossMarginLoan ) | ** POST** /margin/cross/repayments | Repay cross margin loan
163171* SpotApi* | [ ** listCurrencies** ] ( docs/SpotApi.md#listCurrencies ) | ** GET** /spot/currencies | List all currencies\& #39 ; detail
164172* SpotApi* | [ ** getCurrency** ] ( docs/SpotApi.md#getCurrency ) | ** GET** /spot/currencies/{currency} | Get detail of one particular currency
165173* SpotApi* | [ ** listCurrencyPairs** ] ( docs/SpotApi.md#listCurrencyPairs ) | ** GET** /spot/currency_pairs | List all currency pairs supported
@@ -194,6 +202,7 @@ Class | Method | HTTP request | Description
194202* WalletApi* | [ ** listSubAccountBalances** ] ( docs/WalletApi.md#listSubAccountBalances ) | ** GET** /wallet/sub_account_balances | Retrieve sub account balances
195203* WalletApi* | [ ** getTradeFee** ] ( docs/WalletApi.md#getTradeFee ) | ** GET** /wallet/fee | Retrieve personal trading fee
196204* WithdrawalApi* | [ ** withdraw** ] ( docs/WithdrawalApi.md#withdraw ) | ** POST** /withdrawals | Withdraw
205+ * WithdrawalApi* | [ ** cancelWithdrawal** ] ( docs/WithdrawalApi.md#cancelWithdrawal ) | ** DELETE** /withdrawals/{withdrawal_id} | Cancel withdrawal with specified ID
197206
198207
199208## Documentation for Models
@@ -204,6 +213,12 @@ Class | Method | HTTP request | Description
204213 - [ CancelOrderResult] ( docs/CancelOrderResult.md )
205214 - [ Contract] ( docs/Contract.md )
206215 - [ ContractStat] ( docs/ContractStat.md )
216+ - [ CrossMarginAccount] ( docs/CrossMarginAccount.md )
217+ - [ CrossMarginBalance] ( docs/CrossMarginBalance.md )
218+ - [ CrossMarginCurrency] ( docs/CrossMarginCurrency.md )
219+ - [ CrossMarginLoan] ( docs/CrossMarginLoan.md )
220+ - [ CrossMarginRepayRequest] ( docs/CrossMarginRepayRequest.md )
221+ - [ CrossMarginRepayment] ( docs/CrossMarginRepayment.md )
207222 - [ Currency] ( docs/Currency.md )
208223 - [ CurrencyPair] ( docs/CurrencyPair.md )
209224 - [ DeliveryContract] ( docs/DeliveryContract.md )
0 commit comments