You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/accountApi.ts
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/**
2
2
* Gate API
3
-
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
3
+
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
* - Only the master account that created the STP user group is allowed to add users group.- Only accounts under the main account are allowed to be added. Cross-account is not permitted
196
-
* @summary Add users to the STP group.
197
-
* @param stpId STP Group ID.
198
-
* @param requestBody User ID.
195
+
* - Only the main account that created this STP group can add users to the STP user group- Only accounts under the current main account are allowed, cross-main account is not permitted
196
+
* @summary Add users to the STP user group
197
+
* @param stpId STP Group ID
198
+
* @param requestBody User ID
199
199
*/
200
200
publicasyncaddSTPGroupUsers(
201
201
stpId: number,
@@ -238,9 +238,9 @@ export class AccountApi {
238
238
239
239
/**
240
240
* - Only the main account that created this STP group is allowed to delete users from the STP user group - Deletion is limited to accounts under the current main account; cross-account deletion is not permitted
241
-
* @summary Delete the user in the STP group.
242
-
* @param stpId STP Group ID.
243
-
* @param userId STP user ID, multiple can be separated by commas.
241
+
* @summary Delete users from the STP user group
242
+
* @param stpId STP Group ID
243
+
* @param userId STP user IDs, multiple IDs can be separated by commas
244
244
*/
245
245
publicasyncdeleteSTPGroupUsers(
246
246
stpId: number,
@@ -283,8 +283,8 @@ export class AccountApi {
283
283
}
284
284
285
285
/**
286
-
* Query the current GT deduction configuration for the account.
287
-
* @summary Query GT deduction configuration.
286
+
* Query the GT fee deduction configuration for the current account
Copy file name to clipboardExpand all lines: api/apiClient.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/**
2
2
* Gate API
3
-
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
3
+
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
Copy file name to clipboardExpand all lines: api/collateralLoanApi.ts
+32-32Lines changed: 32 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/**
2
2
* Gate API
3
-
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
3
+
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
4
4
*
5
5
* Contact: support@mail.gate.com
6
6
*
@@ -42,12 +42,12 @@ export class CollateralLoanApi {
42
42
43
43
/**
44
44
*
45
-
* @summaryList Orders.
45
+
* @summaryQuery collateral loan order list
46
46
* @param opts Optional parameters
47
-
* @param opts.page Page number.
48
-
* @param opts.limit Maximum number of records to be returned in a single list.
49
-
* @param opts.collateralCurrency Collateral.
50
-
* @param opts.borrowCurrency Borrowed currency.
47
+
* @param opts.page Page number
48
+
* @param opts.limit Maximum number of records returned in a single list
@@ -413,9 +413,9 @@ export class CollateralLoanApi {
413
413
414
414
/**
415
415
*
416
-
* @summary Query user\'s collateralization ratio.
417
-
* @param collateralCurrency Collateral.
418
-
* @param borrowCurrency Borrowed currency.
416
+
* @summary Query user\'s collateralization ratio and remaining borrowable currencies
417
+
* @param collateralCurrency Collateral currency
418
+
* @param borrowCurrency Borrowed currency
419
419
*/
420
420
publicasyncgetUserLtvInfo(
421
421
collateralCurrency: string,
@@ -459,9 +459,9 @@ export class CollateralLoanApi {
459
459
460
460
/**
461
461
*
462
-
* @summary Query supported borrowing and collateral currencies.
462
+
* @summary Query supported borrowing and collateral currencies
463
463
* @param opts Optional parameters
464
-
* @param opts.loanCurrency The parameter loan_currency is used to specify the borrowing currency. If loan_currency is not provided, the API will return all supported borrowing currencies.
464
+
* @param opts.loanCurrency Parameter loan_currency. If omitted, returns all supported borrowing currencies; if provided, returns the array of collateral currencies supported for that borrowing currency
0 commit comments