@binance/crypto-loan 8.0.0 → 8.0.2
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/dist/chunk.mjs +13 -0
- package/dist/index.d.mts +2046 -2262
- package/dist/index.d.ts +2048 -2262
- package/dist/index.js +1036 -1622
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +959 -1623
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
|
|
2
|
+
|
|
3
|
+
//#region src/rest-api/types/check-collateral-repay-rate-response.d.ts
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Binance Crypto Loan REST API
|
|
@@ -19,26 +20,27 @@ export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConnectorClientError, F
|
|
|
19
20
|
* @interface CheckCollateralRepayRateResponse
|
|
20
21
|
*/
|
|
21
22
|
interface CheckCollateralRepayRateResponse {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
27
|
+
*/
|
|
28
|
+
loanCoin?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
33
|
+
*/
|
|
34
|
+
collateralCoin?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
39
|
+
*/
|
|
40
|
+
rate?: string;
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/rest-api/types/check-collateral-repay-rate-stable-rate-response.d.ts
|
|
42
44
|
/**
|
|
43
45
|
* Binance Crypto Loan REST API
|
|
44
46
|
*
|
|
@@ -57,32 +59,33 @@ interface CheckCollateralRepayRateResponse {
|
|
|
57
59
|
* @interface CheckCollateralRepayRateStableRateResponse
|
|
58
60
|
*/
|
|
59
61
|
interface CheckCollateralRepayRateStableRateResponse {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
66
|
+
*/
|
|
67
|
+
loanlCoin?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
72
|
+
*/
|
|
73
|
+
collateralCoin?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
78
|
+
*/
|
|
79
|
+
repayAmount?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
84
|
+
*/
|
|
85
|
+
rate?: string;
|
|
84
86
|
}
|
|
85
|
-
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/rest-api/types/flexible-loan-adjust-ltv-response.d.ts
|
|
86
89
|
/**
|
|
87
90
|
* Binance Crypto Loan REST API
|
|
88
91
|
*
|
|
@@ -101,44 +104,45 @@ interface CheckCollateralRepayRateStableRateResponse {
|
|
|
101
104
|
* @interface FlexibleLoanAdjustLtvResponse
|
|
102
105
|
*/
|
|
103
106
|
interface FlexibleLoanAdjustLtvResponse {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
111
|
+
*/
|
|
112
|
+
loanCoin?: string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
117
|
+
*/
|
|
118
|
+
collateralCoin?: string;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
123
|
+
*/
|
|
124
|
+
direction?: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
129
|
+
*/
|
|
130
|
+
adjustmentAmount?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
135
|
+
*/
|
|
136
|
+
currentLTV?: string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
141
|
+
*/
|
|
142
|
+
status?: string;
|
|
140
143
|
}
|
|
141
|
-
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/rest-api/types/flexible-loan-borrow-response.d.ts
|
|
142
146
|
/**
|
|
143
147
|
* Binance Crypto Loan REST API
|
|
144
148
|
*
|
|
@@ -157,38 +161,39 @@ interface FlexibleLoanAdjustLtvResponse {
|
|
|
157
161
|
* @interface FlexibleLoanBorrowResponse
|
|
158
162
|
*/
|
|
159
163
|
interface FlexibleLoanBorrowResponse {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
168
|
+
*/
|
|
169
|
+
loanCoin?: string;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
174
|
+
*/
|
|
175
|
+
loanAmount?: string;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
180
|
+
*/
|
|
181
|
+
collateralCoin?: string;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
186
|
+
*/
|
|
187
|
+
collateralAmount?: string;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
192
|
+
*/
|
|
193
|
+
status?: string;
|
|
190
194
|
}
|
|
191
|
-
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/rest-api/types/flexible-loan-repay-response.d.ts
|
|
192
197
|
/**
|
|
193
198
|
* Binance Crypto Loan REST API
|
|
194
199
|
*
|
|
@@ -207,50 +212,51 @@ interface FlexibleLoanBorrowResponse {
|
|
|
207
212
|
* @interface FlexibleLoanRepayResponse
|
|
208
213
|
*/
|
|
209
214
|
interface FlexibleLoanRepayResponse {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {string}
|
|
218
|
+
* @memberof FlexibleLoanRepayResponse
|
|
219
|
+
*/
|
|
220
|
+
loanCoin?: string;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof FlexibleLoanRepayResponse
|
|
225
|
+
*/
|
|
226
|
+
collateralCoin?: string;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof FlexibleLoanRepayResponse
|
|
231
|
+
*/
|
|
232
|
+
remainingDebt?: string;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof FlexibleLoanRepayResponse
|
|
237
|
+
*/
|
|
238
|
+
remainingCollateral?: string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {boolean}
|
|
242
|
+
* @memberof FlexibleLoanRepayResponse
|
|
243
|
+
*/
|
|
244
|
+
fullRepayment?: boolean;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof FlexibleLoanRepayResponse
|
|
249
|
+
*/
|
|
250
|
+
currentLTV?: string;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof FlexibleLoanRepayResponse
|
|
255
|
+
*/
|
|
256
|
+
repayStatus?: string;
|
|
252
257
|
}
|
|
253
|
-
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region src/rest-api/types/get-crypto-loans-income-history-response-inner.d.ts
|
|
254
260
|
/**
|
|
255
261
|
* Binance Crypto Loan REST API
|
|
256
262
|
*
|
|
@@ -269,59 +275,47 @@ interface FlexibleLoanRepayResponse {
|
|
|
269
275
|
* @interface GetCryptoLoansIncomeHistoryResponseInner
|
|
270
276
|
*/
|
|
271
277
|
interface GetCryptoLoansIncomeHistoryResponseInner {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
282
|
+
*/
|
|
283
|
+
asset?: string;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {string}
|
|
287
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
288
|
+
*/
|
|
289
|
+
type?: string;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
294
|
+
*/
|
|
295
|
+
amount?: string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {number | bigint}
|
|
299
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
300
|
+
*/
|
|
301
|
+
timestamp?: number | bigint;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
306
|
+
*/
|
|
307
|
+
tranId?: string;
|
|
302
308
|
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
* Binance Crypto Loan REST API
|
|
306
|
-
*
|
|
307
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
308
|
-
*
|
|
309
|
-
* The version of the OpenAPI document: 1.0.0
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
313
|
-
* https://openapi-generator.tech
|
|
314
|
-
* Do not edit the class manually.
|
|
315
|
-
*/
|
|
316
|
-
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region src/rest-api/types/get-crypto-loans-income-history-response.d.ts
|
|
317
311
|
/**
|
|
318
312
|
*
|
|
319
313
|
* @export
|
|
320
314
|
* @interface GetCryptoLoansIncomeHistoryResponse
|
|
321
315
|
*/
|
|
322
|
-
interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncomeHistoryResponseInner> {
|
|
323
|
-
|
|
324
|
-
|
|
316
|
+
interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncomeHistoryResponseInner> {}
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region src/rest-api/types/get-flexible-loan-assets-data-response-rows-inner.d.ts
|
|
325
319
|
/**
|
|
326
320
|
* Binance Crypto Loan REST API
|
|
327
321
|
*
|
|
@@ -340,65 +334,54 @@ interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncome
|
|
|
340
334
|
* @interface GetFlexibleLoanAssetsDataResponseRowsInner
|
|
341
335
|
*/
|
|
342
336
|
interface GetFlexibleLoanAssetsDataResponseRowsInner {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
341
|
+
*/
|
|
342
|
+
loanCoin?: string;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
347
|
+
*/
|
|
348
|
+
flexibleInterestRate?: string;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
353
|
+
*/
|
|
354
|
+
flexibleMinLimit?: string;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {string}
|
|
358
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
359
|
+
*/
|
|
360
|
+
flexibleMaxLimit?: string;
|
|
367
361
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
* Binance Crypto Loan REST API
|
|
371
|
-
*
|
|
372
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
373
|
-
*
|
|
374
|
-
* The version of the OpenAPI document: 1.0.0
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
378
|
-
* https://openapi-generator.tech
|
|
379
|
-
* Do not edit the class manually.
|
|
380
|
-
*/
|
|
381
|
-
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/rest-api/types/get-flexible-loan-assets-data-response.d.ts
|
|
382
364
|
/**
|
|
383
365
|
*
|
|
384
366
|
* @export
|
|
385
367
|
* @interface GetFlexibleLoanAssetsDataResponse
|
|
386
368
|
*/
|
|
387
369
|
interface GetFlexibleLoanAssetsDataResponse {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {Array<GetFlexibleLoanAssetsDataResponseRowsInner>}
|
|
373
|
+
* @memberof GetFlexibleLoanAssetsDataResponse
|
|
374
|
+
*/
|
|
375
|
+
rows?: Array<GetFlexibleLoanAssetsDataResponseRowsInner>;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {number | bigint}
|
|
379
|
+
* @memberof GetFlexibleLoanAssetsDataResponse
|
|
380
|
+
*/
|
|
381
|
+
total?: number | bigint;
|
|
400
382
|
}
|
|
401
|
-
|
|
383
|
+
//#endregion
|
|
384
|
+
//#region src/rest-api/types/get-flexible-loan-borrow-history-response-rows-inner.d.ts
|
|
402
385
|
/**
|
|
403
386
|
* Binance Crypto Loan REST API
|
|
404
387
|
*
|
|
@@ -417,77 +400,66 @@ interface GetFlexibleLoanAssetsDataResponse {
|
|
|
417
400
|
* @interface GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
418
401
|
*/
|
|
419
402
|
interface GetFlexibleLoanBorrowHistoryResponseRowsInner {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @type {string}
|
|
406
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
407
|
+
*/
|
|
408
|
+
loanCoin?: string;
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
413
|
+
*/
|
|
414
|
+
initialLoanAmount?: string;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
419
|
+
*/
|
|
420
|
+
collateralCoin?: string;
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
425
|
+
*/
|
|
426
|
+
initialCollateralAmount?: string;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {number | bigint}
|
|
430
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
431
|
+
*/
|
|
432
|
+
borrowTime?: number | bigint;
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @type {string}
|
|
436
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
437
|
+
*/
|
|
438
|
+
status?: string;
|
|
456
439
|
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
* Binance Crypto Loan REST API
|
|
460
|
-
*
|
|
461
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
462
|
-
*
|
|
463
|
-
* The version of the OpenAPI document: 1.0.0
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
467
|
-
* https://openapi-generator.tech
|
|
468
|
-
* Do not edit the class manually.
|
|
469
|
-
*/
|
|
470
|
-
|
|
440
|
+
//#endregion
|
|
441
|
+
//#region src/rest-api/types/get-flexible-loan-borrow-history-response.d.ts
|
|
471
442
|
/**
|
|
472
443
|
*
|
|
473
444
|
* @export
|
|
474
445
|
* @interface GetFlexibleLoanBorrowHistoryResponse
|
|
475
446
|
*/
|
|
476
447
|
interface GetFlexibleLoanBorrowHistoryResponse {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>}
|
|
451
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponse
|
|
452
|
+
*/
|
|
453
|
+
rows?: Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>;
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {number | bigint}
|
|
457
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponse
|
|
458
|
+
*/
|
|
459
|
+
total?: number | bigint;
|
|
489
460
|
}
|
|
490
|
-
|
|
461
|
+
//#endregion
|
|
462
|
+
//#region src/rest-api/types/get-flexible-loan-collateral-assets-data-response-rows-inner.d.ts
|
|
491
463
|
/**
|
|
492
464
|
* Binance Crypto Loan REST API
|
|
493
465
|
*
|
|
@@ -506,71 +478,60 @@ interface GetFlexibleLoanBorrowHistoryResponse {
|
|
|
506
478
|
* @interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
507
479
|
*/
|
|
508
480
|
interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {string}
|
|
484
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
485
|
+
*/
|
|
486
|
+
collateralCoin?: string;
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
491
|
+
*/
|
|
492
|
+
initialLTV?: string;
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
497
|
+
*/
|
|
498
|
+
marginCallLTV?: string;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @type {string}
|
|
502
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
503
|
+
*/
|
|
504
|
+
liquidationLTV?: string;
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @type {string}
|
|
508
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
509
|
+
*/
|
|
510
|
+
maxLimit?: string;
|
|
539
511
|
}
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
* Binance Crypto Loan REST API
|
|
543
|
-
*
|
|
544
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
545
|
-
*
|
|
546
|
-
* The version of the OpenAPI document: 1.0.0
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
550
|
-
* https://openapi-generator.tech
|
|
551
|
-
* Do not edit the class manually.
|
|
552
|
-
*/
|
|
553
|
-
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region src/rest-api/types/get-flexible-loan-collateral-assets-data-response.d.ts
|
|
554
514
|
/**
|
|
555
515
|
*
|
|
556
516
|
* @export
|
|
557
517
|
* @interface GetFlexibleLoanCollateralAssetsDataResponse
|
|
558
518
|
*/
|
|
559
519
|
interface GetFlexibleLoanCollateralAssetsDataResponse {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>}
|
|
523
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponse
|
|
524
|
+
*/
|
|
525
|
+
rows?: Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {number | bigint}
|
|
529
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponse
|
|
530
|
+
*/
|
|
531
|
+
total?: number | bigint;
|
|
572
532
|
}
|
|
573
|
-
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region src/rest-api/types/get-flexible-loan-liquidation-history-response-rows-inner.d.ts
|
|
574
535
|
/**
|
|
575
536
|
* Binance Crypto Loan REST API
|
|
576
537
|
*
|
|
@@ -589,95 +550,84 @@ interface GetFlexibleLoanCollateralAssetsDataResponse {
|
|
|
589
550
|
* @interface GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
590
551
|
*/
|
|
591
552
|
interface GetFlexibleLoanLiquidationHistoryResponseRowsInner {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
557
|
+
*/
|
|
558
|
+
loanCoin?: string;
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @type {string}
|
|
562
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
563
|
+
*/
|
|
564
|
+
liquidationDebt?: string;
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {string}
|
|
568
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
569
|
+
*/
|
|
570
|
+
collateralCoin?: string;
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {string}
|
|
574
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
575
|
+
*/
|
|
576
|
+
liquidationCollateralAmount?: string;
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
581
|
+
*/
|
|
582
|
+
returnCollateralAmount?: string;
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
587
|
+
*/
|
|
588
|
+
liquidationFee?: string;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
593
|
+
*/
|
|
594
|
+
liquidationStartingPrice?: string;
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @type {number | bigint}
|
|
598
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
599
|
+
*/
|
|
600
|
+
liquidationStartingTime?: number | bigint;
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @type {string}
|
|
604
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
605
|
+
*/
|
|
606
|
+
status?: string;
|
|
646
607
|
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
* Binance Crypto Loan REST API
|
|
650
|
-
*
|
|
651
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
652
|
-
*
|
|
653
|
-
* The version of the OpenAPI document: 1.0.0
|
|
654
|
-
*
|
|
655
|
-
*
|
|
656
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
657
|
-
* https://openapi-generator.tech
|
|
658
|
-
* Do not edit the class manually.
|
|
659
|
-
*/
|
|
660
|
-
|
|
608
|
+
//#endregion
|
|
609
|
+
//#region src/rest-api/types/get-flexible-loan-liquidation-history-response.d.ts
|
|
661
610
|
/**
|
|
662
611
|
*
|
|
663
612
|
* @export
|
|
664
613
|
* @interface GetFlexibleLoanLiquidationHistoryResponse
|
|
665
614
|
*/
|
|
666
615
|
interface GetFlexibleLoanLiquidationHistoryResponse {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @type {Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>}
|
|
619
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponse
|
|
620
|
+
*/
|
|
621
|
+
rows?: Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>;
|
|
622
|
+
/**
|
|
623
|
+
*
|
|
624
|
+
* @type {number | bigint}
|
|
625
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponse
|
|
626
|
+
*/
|
|
627
|
+
total?: number | bigint;
|
|
679
628
|
}
|
|
680
|
-
|
|
629
|
+
//#endregion
|
|
630
|
+
//#region src/rest-api/types/get-flexible-loan-ltv-adjustment-history-response-rows-inner.d.ts
|
|
681
631
|
/**
|
|
682
632
|
* Binance Crypto Loan REST API
|
|
683
633
|
*
|
|
@@ -696,83 +646,72 @@ interface GetFlexibleLoanLiquidationHistoryResponse {
|
|
|
696
646
|
* @interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
697
647
|
*/
|
|
698
648
|
interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {string}
|
|
652
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
653
|
+
*/
|
|
654
|
+
loanCoin?: string;
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {string}
|
|
658
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
659
|
+
*/
|
|
660
|
+
collateralCoin?: string;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @type {string}
|
|
664
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
665
|
+
*/
|
|
666
|
+
direction?: string;
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @type {string}
|
|
670
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
671
|
+
*/
|
|
672
|
+
collateralAmount?: string;
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
677
|
+
*/
|
|
678
|
+
preLTV?: string;
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
683
|
+
*/
|
|
684
|
+
afterLTV?: string;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @type {number | bigint}
|
|
688
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
689
|
+
*/
|
|
690
|
+
adjustTime?: number | bigint;
|
|
741
691
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
* Binance Crypto Loan REST API
|
|
745
|
-
*
|
|
746
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
747
|
-
*
|
|
748
|
-
* The version of the OpenAPI document: 1.0.0
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
752
|
-
* https://openapi-generator.tech
|
|
753
|
-
* Do not edit the class manually.
|
|
754
|
-
*/
|
|
755
|
-
|
|
692
|
+
//#endregion
|
|
693
|
+
//#region src/rest-api/types/get-flexible-loan-ltv-adjustment-history-response.d.ts
|
|
756
694
|
/**
|
|
757
695
|
*
|
|
758
696
|
* @export
|
|
759
697
|
* @interface GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
760
698
|
*/
|
|
761
699
|
interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @type {Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>}
|
|
703
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
704
|
+
*/
|
|
705
|
+
rows?: Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>;
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @type {number | bigint}
|
|
709
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
710
|
+
*/
|
|
711
|
+
total?: number | bigint;
|
|
774
712
|
}
|
|
775
|
-
|
|
713
|
+
//#endregion
|
|
714
|
+
//#region src/rest-api/types/get-flexible-loan-ongoing-orders-response-rows-inner.d.ts
|
|
776
715
|
/**
|
|
777
716
|
* Binance Crypto Loan REST API
|
|
778
717
|
*
|
|
@@ -791,71 +730,60 @@ interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
|
|
|
791
730
|
* @interface GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
792
731
|
*/
|
|
793
732
|
interface GetFlexibleLoanOngoingOrdersResponseRowsInner {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {string}
|
|
736
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
737
|
+
*/
|
|
738
|
+
loanCoin?: string;
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @type {string}
|
|
742
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
743
|
+
*/
|
|
744
|
+
totalDebt?: string;
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @type {string}
|
|
748
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
749
|
+
*/
|
|
750
|
+
collateralCoin?: string;
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @type {string}
|
|
754
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
755
|
+
*/
|
|
756
|
+
collateralAmount?: string;
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @type {string}
|
|
760
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
761
|
+
*/
|
|
762
|
+
currentLTV?: string;
|
|
824
763
|
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
* Binance Crypto Loan REST API
|
|
828
|
-
*
|
|
829
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
830
|
-
*
|
|
831
|
-
* The version of the OpenAPI document: 1.0.0
|
|
832
|
-
*
|
|
833
|
-
*
|
|
834
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
835
|
-
* https://openapi-generator.tech
|
|
836
|
-
* Do not edit the class manually.
|
|
837
|
-
*/
|
|
838
|
-
|
|
764
|
+
//#endregion
|
|
765
|
+
//#region src/rest-api/types/get-flexible-loan-ongoing-orders-response.d.ts
|
|
839
766
|
/**
|
|
840
767
|
*
|
|
841
768
|
* @export
|
|
842
769
|
* @interface GetFlexibleLoanOngoingOrdersResponse
|
|
843
770
|
*/
|
|
844
771
|
interface GetFlexibleLoanOngoingOrdersResponse {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @type {Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>}
|
|
775
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponse
|
|
776
|
+
*/
|
|
777
|
+
rows?: Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>;
|
|
778
|
+
/**
|
|
779
|
+
*
|
|
780
|
+
* @type {number | bigint}
|
|
781
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponse
|
|
782
|
+
*/
|
|
783
|
+
total?: number | bigint;
|
|
857
784
|
}
|
|
858
|
-
|
|
785
|
+
//#endregion
|
|
786
|
+
//#region src/rest-api/types/get-flexible-loan-repayment-history-response-rows-inner.d.ts
|
|
859
787
|
/**
|
|
860
788
|
* Binance Crypto Loan REST API
|
|
861
789
|
*
|
|
@@ -874,77 +802,66 @@ interface GetFlexibleLoanOngoingOrdersResponse {
|
|
|
874
802
|
* @interface GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
875
803
|
*/
|
|
876
804
|
interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @type {string}
|
|
808
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
809
|
+
*/
|
|
810
|
+
loanCoin?: string;
|
|
811
|
+
/**
|
|
812
|
+
*
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
815
|
+
*/
|
|
816
|
+
repayAmount?: string;
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
* @type {string}
|
|
820
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
821
|
+
*/
|
|
822
|
+
collateralCoin?: string;
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @type {string}
|
|
826
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
827
|
+
*/
|
|
828
|
+
collateralReturn?: string;
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
833
|
+
*/
|
|
834
|
+
repayStatus?: string;
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @type {number | bigint}
|
|
838
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
839
|
+
*/
|
|
840
|
+
repayTime?: number | bigint;
|
|
913
841
|
}
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
* Binance Crypto Loan REST API
|
|
917
|
-
*
|
|
918
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
919
|
-
*
|
|
920
|
-
* The version of the OpenAPI document: 1.0.0
|
|
921
|
-
*
|
|
922
|
-
*
|
|
923
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
924
|
-
* https://openapi-generator.tech
|
|
925
|
-
* Do not edit the class manually.
|
|
926
|
-
*/
|
|
927
|
-
|
|
842
|
+
//#endregion
|
|
843
|
+
//#region src/rest-api/types/get-flexible-loan-repayment-history-response.d.ts
|
|
928
844
|
/**
|
|
929
845
|
*
|
|
930
846
|
* @export
|
|
931
847
|
* @interface GetFlexibleLoanRepaymentHistoryResponse
|
|
932
848
|
*/
|
|
933
849
|
interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
850
|
+
/**
|
|
851
|
+
*
|
|
852
|
+
* @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
|
|
853
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
854
|
+
*/
|
|
855
|
+
rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* @type {number | bigint}
|
|
859
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
860
|
+
*/
|
|
861
|
+
total?: number | bigint;
|
|
946
862
|
}
|
|
947
|
-
|
|
863
|
+
//#endregion
|
|
864
|
+
//#region src/rest-api/types/get-loan-borrow-history-response-rows-inner.d.ts
|
|
948
865
|
/**
|
|
949
866
|
* Binance Crypto Loan REST API
|
|
950
867
|
*
|
|
@@ -963,95 +880,84 @@ interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
|
963
880
|
* @interface GetLoanBorrowHistoryResponseRowsInner
|
|
964
881
|
*/
|
|
965
882
|
interface GetLoanBorrowHistoryResponseRowsInner {
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @type {number | bigint}
|
|
886
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
887
|
+
*/
|
|
888
|
+
orderId?: number | bigint;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
893
|
+
*/
|
|
894
|
+
loanCoin?: string;
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
899
|
+
*/
|
|
900
|
+
initialLoanAmount?: string;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
905
|
+
*/
|
|
906
|
+
hourlyInterestRate?: string;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
911
|
+
*/
|
|
912
|
+
loanTerm?: string;
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @type {string}
|
|
916
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
917
|
+
*/
|
|
918
|
+
collateralCoin?: string;
|
|
919
|
+
/**
|
|
920
|
+
*
|
|
921
|
+
* @type {string}
|
|
922
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
923
|
+
*/
|
|
924
|
+
initialCollateralAmount?: string;
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @type {number | bigint}
|
|
928
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
929
|
+
*/
|
|
930
|
+
borrowTime?: number | bigint;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
935
|
+
*/
|
|
936
|
+
status?: string;
|
|
1020
937
|
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
* Binance Crypto Loan REST API
|
|
1024
|
-
*
|
|
1025
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1026
|
-
*
|
|
1027
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1028
|
-
*
|
|
1029
|
-
*
|
|
1030
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1031
|
-
* https://openapi-generator.tech
|
|
1032
|
-
* Do not edit the class manually.
|
|
1033
|
-
*/
|
|
1034
|
-
|
|
938
|
+
//#endregion
|
|
939
|
+
//#region src/rest-api/types/get-loan-borrow-history-response.d.ts
|
|
1035
940
|
/**
|
|
1036
941
|
*
|
|
1037
942
|
* @export
|
|
1038
943
|
* @interface GetLoanBorrowHistoryResponse
|
|
1039
944
|
*/
|
|
1040
945
|
interface GetLoanBorrowHistoryResponse {
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
|
|
949
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
950
|
+
*/
|
|
951
|
+
rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @type {number | bigint}
|
|
955
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
956
|
+
*/
|
|
957
|
+
total?: number | bigint;
|
|
1053
958
|
}
|
|
1054
|
-
|
|
959
|
+
//#endregion
|
|
960
|
+
//#region src/rest-api/types/get-loan-ltv-adjustment-history-response-rows-inner.d.ts
|
|
1055
961
|
/**
|
|
1056
962
|
* Binance Crypto Loan REST API
|
|
1057
963
|
*
|
|
@@ -1070,89 +976,78 @@ interface GetLoanBorrowHistoryResponse {
|
|
|
1070
976
|
* @interface GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1071
977
|
*/
|
|
1072
978
|
interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {string}
|
|
982
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
983
|
+
*/
|
|
984
|
+
loanCoin?: string;
|
|
985
|
+
/**
|
|
986
|
+
*
|
|
987
|
+
* @type {string}
|
|
988
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
989
|
+
*/
|
|
990
|
+
collateralCoin?: string;
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @type {string}
|
|
994
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
995
|
+
*/
|
|
996
|
+
direction?: string;
|
|
997
|
+
/**
|
|
998
|
+
*
|
|
999
|
+
* @type {string}
|
|
1000
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1001
|
+
*/
|
|
1002
|
+
amount?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @type {string}
|
|
1006
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1007
|
+
*/
|
|
1008
|
+
preLTV?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
*
|
|
1011
|
+
* @type {string}
|
|
1012
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1013
|
+
*/
|
|
1014
|
+
afterLTV?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
*
|
|
1017
|
+
* @type {number | bigint}
|
|
1018
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1019
|
+
*/
|
|
1020
|
+
adjustTime?: number | bigint;
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @type {number | bigint}
|
|
1024
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1025
|
+
*/
|
|
1026
|
+
orderId?: number | bigint;
|
|
1121
1027
|
}
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
* Binance Crypto Loan REST API
|
|
1125
|
-
*
|
|
1126
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1127
|
-
*
|
|
1128
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
1131
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1132
|
-
* https://openapi-generator.tech
|
|
1133
|
-
* Do not edit the class manually.
|
|
1134
|
-
*/
|
|
1135
|
-
|
|
1028
|
+
//#endregion
|
|
1029
|
+
//#region src/rest-api/types/get-loan-ltv-adjustment-history-response.d.ts
|
|
1136
1030
|
/**
|
|
1137
1031
|
*
|
|
1138
1032
|
* @export
|
|
1139
1033
|
* @interface GetLoanLtvAdjustmentHistoryResponse
|
|
1140
1034
|
*/
|
|
1141
1035
|
interface GetLoanLtvAdjustmentHistoryResponse {
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @type {Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>}
|
|
1039
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1040
|
+
*/
|
|
1041
|
+
rows?: Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>;
|
|
1042
|
+
/**
|
|
1043
|
+
*
|
|
1044
|
+
* @type {number | bigint}
|
|
1045
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1046
|
+
*/
|
|
1047
|
+
total?: number | bigint;
|
|
1154
1048
|
}
|
|
1155
|
-
|
|
1049
|
+
//#endregion
|
|
1050
|
+
//#region src/rest-api/types/get-loan-repayment-history-response-rows-inner.d.ts
|
|
1156
1051
|
/**
|
|
1157
1052
|
* Binance Crypto Loan REST API
|
|
1158
1053
|
*
|
|
@@ -1171,1599 +1066,1488 @@ interface GetLoanLtvAdjustmentHistoryResponse {
|
|
|
1171
1066
|
* @interface GetLoanRepaymentHistoryResponseRowsInner
|
|
1172
1067
|
*/
|
|
1173
1068
|
interface GetLoanRepaymentHistoryResponseRowsInner {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1073
|
+
*/
|
|
1074
|
+
loanCoin?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1079
|
+
*/
|
|
1080
|
+
repayAmount?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @type {string}
|
|
1084
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1085
|
+
*/
|
|
1086
|
+
collateralCoin?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
*
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1091
|
+
*/
|
|
1092
|
+
collateralUsed?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {string}
|
|
1096
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1097
|
+
*/
|
|
1098
|
+
collateralReturn?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @type {string}
|
|
1102
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1103
|
+
*/
|
|
1104
|
+
repayType?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @type {string}
|
|
1108
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1109
|
+
*/
|
|
1110
|
+
repayStatus?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @type {number | bigint}
|
|
1114
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1115
|
+
*/
|
|
1116
|
+
repayTime?: number | bigint;
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @type {number | bigint}
|
|
1120
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1121
|
+
*/
|
|
1122
|
+
orderId?: number | bigint;
|
|
1228
1123
|
}
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
* Binance Crypto Loan REST API
|
|
1232
|
-
*
|
|
1233
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1234
|
-
*
|
|
1235
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1236
|
-
*
|
|
1237
|
-
*
|
|
1238
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1239
|
-
* https://openapi-generator.tech
|
|
1240
|
-
* Do not edit the class manually.
|
|
1241
|
-
*/
|
|
1242
|
-
|
|
1124
|
+
//#endregion
|
|
1125
|
+
//#region src/rest-api/types/get-loan-repayment-history-response.d.ts
|
|
1243
1126
|
/**
|
|
1244
1127
|
*
|
|
1245
1128
|
* @export
|
|
1246
1129
|
* @interface GetLoanRepaymentHistoryResponse
|
|
1247
1130
|
*/
|
|
1248
1131
|
interface GetLoanRepaymentHistoryResponse {
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1132
|
+
/**
|
|
1133
|
+
*
|
|
1134
|
+
* @type {Array<GetLoanRepaymentHistoryResponseRowsInner>}
|
|
1135
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1136
|
+
*/
|
|
1137
|
+
rows?: Array<GetLoanRepaymentHistoryResponseRowsInner>;
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @type {number | bigint}
|
|
1141
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1142
|
+
*/
|
|
1143
|
+
total?: number | bigint;
|
|
1261
1144
|
}
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
* Binance Crypto Loan REST API
|
|
1265
|
-
*
|
|
1266
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1267
|
-
*
|
|
1268
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1269
|
-
*
|
|
1270
|
-
*
|
|
1271
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1272
|
-
* https://openapi-generator.tech
|
|
1273
|
-
* Do not edit the class manually.
|
|
1274
|
-
*/
|
|
1275
|
-
|
|
1145
|
+
//#endregion
|
|
1146
|
+
//#region src/rest-api/modules/flexible-rate-api.d.ts
|
|
1276
1147
|
/**
|
|
1277
1148
|
* FlexibleRateApi - interface
|
|
1278
1149
|
* @interface FlexibleRateApi
|
|
1279
1150
|
*/
|
|
1280
1151
|
interface FlexibleRateApiInterface {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* Weight: 6000
|
|
1155
|
+
*
|
|
1156
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
1157
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
1158
|
+
*
|
|
1159
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1160
|
+
* @memberof FlexibleRateApiInterface
|
|
1161
|
+
*/
|
|
1162
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Flexible Loan Adjust LTV
|
|
1165
|
+
*
|
|
1166
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
1167
|
+
*
|
|
1168
|
+
* Weight: 6000
|
|
1169
|
+
*
|
|
1170
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
1171
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
1172
|
+
*
|
|
1173
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1174
|
+
* @memberof FlexibleRateApiInterface
|
|
1175
|
+
*/
|
|
1176
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Borrow Flexible Loan
|
|
1179
|
+
*
|
|
1180
|
+
*
|
|
1181
|
+
* Only available for master account
|
|
1182
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
1183
|
+
*
|
|
1184
|
+
* Weight: 6000
|
|
1185
|
+
*
|
|
1186
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
1187
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
1188
|
+
*
|
|
1189
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1190
|
+
* @memberof FlexibleRateApiInterface
|
|
1191
|
+
*/
|
|
1192
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
1193
|
+
/**
|
|
1194
|
+
* Flexible Loan Repay
|
|
1195
|
+
*
|
|
1196
|
+
*
|
|
1197
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
1198
|
+
*
|
|
1199
|
+
* Weight: 6000
|
|
1200
|
+
*
|
|
1201
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
1202
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
1203
|
+
*
|
|
1204
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1205
|
+
* @memberof FlexibleRateApiInterface
|
|
1206
|
+
*/
|
|
1207
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
1210
|
+
*
|
|
1211
|
+
* Weight: 400
|
|
1212
|
+
*
|
|
1213
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
1214
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
1215
|
+
*
|
|
1216
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1217
|
+
* @memberof FlexibleRateApiInterface
|
|
1218
|
+
*/
|
|
1219
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Get Flexible Loan Borrow History
|
|
1222
|
+
*
|
|
1223
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1224
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1225
|
+
*
|
|
1226
|
+
* Weight: 400
|
|
1227
|
+
*
|
|
1228
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
1229
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1230
|
+
*
|
|
1231
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1232
|
+
* @memberof FlexibleRateApiInterface
|
|
1233
|
+
*/
|
|
1234
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
1237
|
+
*
|
|
1238
|
+
* Weight: 400
|
|
1239
|
+
*
|
|
1240
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
1241
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
1242
|
+
*
|
|
1243
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1244
|
+
* @memberof FlexibleRateApiInterface
|
|
1245
|
+
*/
|
|
1246
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* Weight: 400
|
|
1250
|
+
*
|
|
1251
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
1252
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
1253
|
+
*
|
|
1254
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1255
|
+
* @memberof FlexibleRateApiInterface
|
|
1256
|
+
*/
|
|
1257
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Get Flexible Loan LTV Adjustment History
|
|
1260
|
+
*
|
|
1261
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1262
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1263
|
+
*
|
|
1264
|
+
* Weight: 400
|
|
1265
|
+
*
|
|
1266
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
1267
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1268
|
+
*
|
|
1269
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1270
|
+
* @memberof FlexibleRateApiInterface
|
|
1271
|
+
*/
|
|
1272
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Get Flexible Loan Ongoing Orders
|
|
1275
|
+
*
|
|
1276
|
+
* Weight: 300
|
|
1277
|
+
*
|
|
1278
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
1279
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
1280
|
+
*
|
|
1281
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1282
|
+
* @memberof FlexibleRateApiInterface
|
|
1283
|
+
*/
|
|
1284
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Get Flexible Loan Repayment History
|
|
1287
|
+
*
|
|
1288
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1289
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1290
|
+
*
|
|
1291
|
+
* Weight: 400
|
|
1292
|
+
*
|
|
1293
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
1294
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1295
|
+
*
|
|
1296
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1297
|
+
* @memberof FlexibleRateApiInterface
|
|
1298
|
+
*/
|
|
1299
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
1429
1300
|
}
|
|
1430
1301
|
/**
|
|
1431
1302
|
* Request parameters for checkCollateralRepayRate operation in FlexibleRateApi.
|
|
1432
1303
|
* @interface CheckCollateralRepayRateRequest
|
|
1433
1304
|
*/
|
|
1434
1305
|
interface CheckCollateralRepayRateRequest {
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @type {string}
|
|
1309
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
1310
|
+
*/
|
|
1311
|
+
readonly loanCoin: string;
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
|
+
* @type {string}
|
|
1315
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
1316
|
+
*/
|
|
1317
|
+
readonly collateralCoin: string;
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @type {number | bigint}
|
|
1321
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
1322
|
+
*/
|
|
1323
|
+
readonly recvWindow?: number | bigint;
|
|
1453
1324
|
}
|
|
1454
1325
|
/**
|
|
1455
1326
|
* Request parameters for flexibleLoanAdjustLtv operation in FlexibleRateApi.
|
|
1456
1327
|
* @interface FlexibleLoanAdjustLtvRequest
|
|
1457
1328
|
*/
|
|
1458
1329
|
interface FlexibleLoanAdjustLtvRequest {
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
1334
|
+
*/
|
|
1335
|
+
readonly loanCoin: string;
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {string}
|
|
1339
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
1340
|
+
*/
|
|
1341
|
+
readonly collateralCoin: string;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @type {number}
|
|
1345
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
1346
|
+
*/
|
|
1347
|
+
readonly adjustmentAmount: number;
|
|
1348
|
+
/**
|
|
1349
|
+
* "ADDITIONAL", "REDUCED"
|
|
1350
|
+
* @type {string}
|
|
1351
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
1352
|
+
*/
|
|
1353
|
+
readonly direction: string;
|
|
1354
|
+
/**
|
|
1355
|
+
*
|
|
1356
|
+
* @type {number | bigint}
|
|
1357
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
1358
|
+
*/
|
|
1359
|
+
readonly recvWindow?: number | bigint;
|
|
1489
1360
|
}
|
|
1490
1361
|
/**
|
|
1491
1362
|
* Request parameters for flexibleLoanBorrow operation in FlexibleRateApi.
|
|
1492
1363
|
* @interface FlexibleLoanBorrowRequest
|
|
1493
1364
|
*/
|
|
1494
1365
|
interface FlexibleLoanBorrowRequest {
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1366
|
+
/**
|
|
1367
|
+
*
|
|
1368
|
+
* @type {string}
|
|
1369
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
1370
|
+
*/
|
|
1371
|
+
readonly loanCoin: string;
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
* @type {string}
|
|
1375
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
1376
|
+
*/
|
|
1377
|
+
readonly collateralCoin: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Mandatory when collateralAmount is empty
|
|
1380
|
+
* @type {number}
|
|
1381
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
1382
|
+
*/
|
|
1383
|
+
readonly loanAmount?: number;
|
|
1384
|
+
/**
|
|
1385
|
+
* Mandatory when loanAmount is empty
|
|
1386
|
+
* @type {number}
|
|
1387
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
1388
|
+
*/
|
|
1389
|
+
readonly collateralAmount?: number;
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @type {number | bigint}
|
|
1393
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
1394
|
+
*/
|
|
1395
|
+
readonly recvWindow?: number | bigint;
|
|
1525
1396
|
}
|
|
1526
1397
|
/**
|
|
1527
1398
|
* Request parameters for flexibleLoanRepay operation in FlexibleRateApi.
|
|
1528
1399
|
* @interface FlexibleLoanRepayRequest
|
|
1529
1400
|
*/
|
|
1530
1401
|
interface FlexibleLoanRepayRequest {
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1406
|
+
*/
|
|
1407
|
+
readonly loanCoin: string;
|
|
1408
|
+
/**
|
|
1409
|
+
*
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1412
|
+
*/
|
|
1413
|
+
readonly collateralCoin: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* repay amount of loanCoin
|
|
1416
|
+
* @type {number}
|
|
1417
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1418
|
+
*/
|
|
1419
|
+
readonly repayAmount: number;
|
|
1420
|
+
/**
|
|
1421
|
+
* Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
1422
|
+
* @type {boolean}
|
|
1423
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1424
|
+
*/
|
|
1425
|
+
readonly collateralReturn?: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
1428
|
+
* @type {boolean}
|
|
1429
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1430
|
+
*/
|
|
1431
|
+
readonly fullRepayment?: boolean;
|
|
1432
|
+
/**
|
|
1433
|
+
* Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
|
|
1434
|
+
* @type {number | bigint}
|
|
1435
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1436
|
+
*/
|
|
1437
|
+
readonly repaymentType?: number | bigint;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @type {number | bigint}
|
|
1441
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
1442
|
+
*/
|
|
1443
|
+
readonly recvWindow?: number | bigint;
|
|
1573
1444
|
}
|
|
1574
1445
|
/**
|
|
1575
1446
|
* Request parameters for getFlexibleLoanAssetsData operation in FlexibleRateApi.
|
|
1576
1447
|
* @interface GetFlexibleLoanAssetsDataRequest
|
|
1577
1448
|
*/
|
|
1578
1449
|
interface GetFlexibleLoanAssetsDataRequest {
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @type {string}
|
|
1453
|
+
* @memberof FlexibleRateApiGetFlexibleLoanAssetsData
|
|
1454
|
+
*/
|
|
1455
|
+
readonly loanCoin?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {number | bigint}
|
|
1459
|
+
* @memberof FlexibleRateApiGetFlexibleLoanAssetsData
|
|
1460
|
+
*/
|
|
1461
|
+
readonly recvWindow?: number | bigint;
|
|
1591
1462
|
}
|
|
1592
1463
|
/**
|
|
1593
1464
|
* Request parameters for getFlexibleLoanBorrowHistory operation in FlexibleRateApi.
|
|
1594
1465
|
* @interface GetFlexibleLoanBorrowHistoryRequest
|
|
1595
1466
|
*/
|
|
1596
1467
|
interface GetFlexibleLoanBorrowHistoryRequest {
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @type {string}
|
|
1471
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1472
|
+
*/
|
|
1473
|
+
readonly loanCoin?: string;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @type {string}
|
|
1477
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1478
|
+
*/
|
|
1479
|
+
readonly collateralCoin?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {number | bigint}
|
|
1483
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1484
|
+
*/
|
|
1485
|
+
readonly startTime?: number | bigint;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {number | bigint}
|
|
1489
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1490
|
+
*/
|
|
1491
|
+
readonly endTime?: number | bigint;
|
|
1492
|
+
/**
|
|
1493
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
1494
|
+
* @type {number | bigint}
|
|
1495
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1496
|
+
*/
|
|
1497
|
+
readonly current?: number | bigint;
|
|
1498
|
+
/**
|
|
1499
|
+
* Default: 10; max: 100
|
|
1500
|
+
* @type {number | bigint}
|
|
1501
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1502
|
+
*/
|
|
1503
|
+
readonly limit?: number | bigint;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @type {number | bigint}
|
|
1507
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
1508
|
+
*/
|
|
1509
|
+
readonly recvWindow?: number | bigint;
|
|
1639
1510
|
}
|
|
1640
1511
|
/**
|
|
1641
1512
|
* Request parameters for getFlexibleLoanCollateralAssetsData operation in FlexibleRateApi.
|
|
1642
1513
|
* @interface GetFlexibleLoanCollateralAssetsDataRequest
|
|
1643
1514
|
*/
|
|
1644
1515
|
interface GetFlexibleLoanCollateralAssetsDataRequest {
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1516
|
+
/**
|
|
1517
|
+
*
|
|
1518
|
+
* @type {string}
|
|
1519
|
+
* @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
|
|
1520
|
+
*/
|
|
1521
|
+
readonly collateralCoin?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
*
|
|
1524
|
+
* @type {number | bigint}
|
|
1525
|
+
* @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
|
|
1526
|
+
*/
|
|
1527
|
+
readonly recvWindow?: number | bigint;
|
|
1657
1528
|
}
|
|
1658
1529
|
/**
|
|
1659
1530
|
* Request parameters for getFlexibleLoanLiquidationHistory operation in FlexibleRateApi.
|
|
1660
1531
|
* @interface GetFlexibleLoanLiquidationHistoryRequest
|
|
1661
1532
|
*/
|
|
1662
1533
|
interface GetFlexibleLoanLiquidationHistoryRequest {
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1538
|
+
*/
|
|
1539
|
+
readonly loanCoin?: string;
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1544
|
+
*/
|
|
1545
|
+
readonly collateralCoin?: string;
|
|
1546
|
+
/**
|
|
1547
|
+
*
|
|
1548
|
+
* @type {number | bigint}
|
|
1549
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1550
|
+
*/
|
|
1551
|
+
readonly startTime?: number | bigint;
|
|
1552
|
+
/**
|
|
1553
|
+
*
|
|
1554
|
+
* @type {number | bigint}
|
|
1555
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1556
|
+
*/
|
|
1557
|
+
readonly endTime?: number | bigint;
|
|
1558
|
+
/**
|
|
1559
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
1560
|
+
* @type {number | bigint}
|
|
1561
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1562
|
+
*/
|
|
1563
|
+
readonly current?: number | bigint;
|
|
1564
|
+
/**
|
|
1565
|
+
* Default: 10; max: 100
|
|
1566
|
+
* @type {number | bigint}
|
|
1567
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1568
|
+
*/
|
|
1569
|
+
readonly limit?: number | bigint;
|
|
1570
|
+
/**
|
|
1571
|
+
*
|
|
1572
|
+
* @type {number | bigint}
|
|
1573
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
1574
|
+
*/
|
|
1575
|
+
readonly recvWindow?: number | bigint;
|
|
1705
1576
|
}
|
|
1706
1577
|
/**
|
|
1707
1578
|
* Request parameters for getFlexibleLoanLtvAdjustmentHistory operation in FlexibleRateApi.
|
|
1708
1579
|
* @interface GetFlexibleLoanLtvAdjustmentHistoryRequest
|
|
1709
1580
|
*/
|
|
1710
1581
|
interface GetFlexibleLoanLtvAdjustmentHistoryRequest {
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1586
|
+
*/
|
|
1587
|
+
readonly loanCoin?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
*
|
|
1590
|
+
* @type {string}
|
|
1591
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1592
|
+
*/
|
|
1593
|
+
readonly collateralCoin?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
*
|
|
1596
|
+
* @type {number | bigint}
|
|
1597
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1598
|
+
*/
|
|
1599
|
+
readonly startTime?: number | bigint;
|
|
1600
|
+
/**
|
|
1601
|
+
*
|
|
1602
|
+
* @type {number | bigint}
|
|
1603
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1604
|
+
*/
|
|
1605
|
+
readonly endTime?: number | bigint;
|
|
1606
|
+
/**
|
|
1607
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
1608
|
+
* @type {number | bigint}
|
|
1609
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1610
|
+
*/
|
|
1611
|
+
readonly current?: number | bigint;
|
|
1612
|
+
/**
|
|
1613
|
+
* Default: 10; max: 100
|
|
1614
|
+
* @type {number | bigint}
|
|
1615
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1616
|
+
*/
|
|
1617
|
+
readonly limit?: number | bigint;
|
|
1618
|
+
/**
|
|
1619
|
+
*
|
|
1620
|
+
* @type {number | bigint}
|
|
1621
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
1622
|
+
*/
|
|
1623
|
+
readonly recvWindow?: number | bigint;
|
|
1753
1624
|
}
|
|
1754
1625
|
/**
|
|
1755
1626
|
* Request parameters for getFlexibleLoanOngoingOrders operation in FlexibleRateApi.
|
|
1756
1627
|
* @interface GetFlexibleLoanOngoingOrdersRequest
|
|
1757
1628
|
*/
|
|
1758
1629
|
interface GetFlexibleLoanOngoingOrdersRequest {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1630
|
+
/**
|
|
1631
|
+
*
|
|
1632
|
+
* @type {string}
|
|
1633
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
1634
|
+
*/
|
|
1635
|
+
readonly loanCoin?: string;
|
|
1636
|
+
/**
|
|
1637
|
+
*
|
|
1638
|
+
* @type {string}
|
|
1639
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
1640
|
+
*/
|
|
1641
|
+
readonly collateralCoin?: string;
|
|
1642
|
+
/**
|
|
1643
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
1644
|
+
* @type {number | bigint}
|
|
1645
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
1646
|
+
*/
|
|
1647
|
+
readonly current?: number | bigint;
|
|
1648
|
+
/**
|
|
1649
|
+
* Default: 10; max: 100
|
|
1650
|
+
* @type {number | bigint}
|
|
1651
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
1652
|
+
*/
|
|
1653
|
+
readonly limit?: number | bigint;
|
|
1654
|
+
/**
|
|
1655
|
+
*
|
|
1656
|
+
* @type {number | bigint}
|
|
1657
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
1658
|
+
*/
|
|
1659
|
+
readonly recvWindow?: number | bigint;
|
|
1789
1660
|
}
|
|
1790
1661
|
/**
|
|
1791
1662
|
* Request parameters for getFlexibleLoanRepaymentHistory operation in FlexibleRateApi.
|
|
1792
1663
|
* @interface GetFlexibleLoanRepaymentHistoryRequest
|
|
1793
1664
|
*/
|
|
1794
1665
|
interface GetFlexibleLoanRepaymentHistoryRequest {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @type {string}
|
|
1669
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1670
|
+
*/
|
|
1671
|
+
readonly loanCoin?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @type {string}
|
|
1675
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1676
|
+
*/
|
|
1677
|
+
readonly collateralCoin?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
*
|
|
1680
|
+
* @type {number | bigint}
|
|
1681
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1682
|
+
*/
|
|
1683
|
+
readonly startTime?: number | bigint;
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @type {number | bigint}
|
|
1687
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1688
|
+
*/
|
|
1689
|
+
readonly endTime?: number | bigint;
|
|
1690
|
+
/**
|
|
1691
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
1692
|
+
* @type {number | bigint}
|
|
1693
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1694
|
+
*/
|
|
1695
|
+
readonly current?: number | bigint;
|
|
1696
|
+
/**
|
|
1697
|
+
* Default: 10; max: 100
|
|
1698
|
+
* @type {number | bigint}
|
|
1699
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1700
|
+
*/
|
|
1701
|
+
readonly limit?: number | bigint;
|
|
1702
|
+
/**
|
|
1703
|
+
*
|
|
1704
|
+
* @type {number | bigint}
|
|
1705
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
1706
|
+
*/
|
|
1707
|
+
readonly recvWindow?: number | bigint;
|
|
1837
1708
|
}
|
|
1838
1709
|
/**
|
|
1839
1710
|
* FlexibleRateApi - object-oriented interface
|
|
1840
1711
|
* @class FlexibleRateApi
|
|
1841
1712
|
*/
|
|
1842
1713
|
declare class FlexibleRateApi implements FlexibleRateApiInterface {
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
1714
|
+
private readonly configuration;
|
|
1715
|
+
private localVarAxiosParamCreator;
|
|
1716
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* Weight: 6000
|
|
1720
|
+
*
|
|
1721
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
1722
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
1723
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
1724
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1725
|
+
* @memberof FlexibleRateApi
|
|
1726
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
1727
|
+
*/
|
|
1728
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Flexible Loan Adjust LTV
|
|
1731
|
+
*
|
|
1732
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
1733
|
+
*
|
|
1734
|
+
* Weight: 6000
|
|
1735
|
+
*
|
|
1736
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
1737
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
1738
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
1739
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1740
|
+
* @memberof FlexibleRateApi
|
|
1741
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
1742
|
+
*/
|
|
1743
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
1744
|
+
/**
|
|
1745
|
+
* Borrow Flexible Loan
|
|
1746
|
+
*
|
|
1747
|
+
*
|
|
1748
|
+
* Only available for master account
|
|
1749
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
1750
|
+
*
|
|
1751
|
+
* Weight: 6000
|
|
1752
|
+
*
|
|
1753
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
1754
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
1755
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
1756
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1757
|
+
* @memberof FlexibleRateApi
|
|
1758
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
1759
|
+
*/
|
|
1760
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Flexible Loan Repay
|
|
1763
|
+
*
|
|
1764
|
+
*
|
|
1765
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
1766
|
+
*
|
|
1767
|
+
* Weight: 6000
|
|
1768
|
+
*
|
|
1769
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
1770
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
1771
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
1772
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1773
|
+
* @memberof FlexibleRateApi
|
|
1774
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
1775
|
+
*/
|
|
1776
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
1779
|
+
*
|
|
1780
|
+
* Weight: 400
|
|
1781
|
+
*
|
|
1782
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
1783
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
1784
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
1785
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1786
|
+
* @memberof FlexibleRateApi
|
|
1787
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
1788
|
+
*/
|
|
1789
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
1790
|
+
/**
|
|
1791
|
+
* Get Flexible Loan Borrow History
|
|
1792
|
+
*
|
|
1793
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1794
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1795
|
+
*
|
|
1796
|
+
* Weight: 400
|
|
1797
|
+
*
|
|
1798
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
1799
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1800
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
1801
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1802
|
+
* @memberof FlexibleRateApi
|
|
1803
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
1804
|
+
*/
|
|
1805
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
1806
|
+
/**
|
|
1807
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
1808
|
+
*
|
|
1809
|
+
* Weight: 400
|
|
1810
|
+
*
|
|
1811
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
1812
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
1813
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
1814
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1815
|
+
* @memberof FlexibleRateApi
|
|
1816
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
1817
|
+
*/
|
|
1818
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
1819
|
+
/**
|
|
1820
|
+
*
|
|
1821
|
+
* Weight: 400
|
|
1822
|
+
*
|
|
1823
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
1824
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
1825
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
1826
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1827
|
+
* @memberof FlexibleRateApi
|
|
1828
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
1829
|
+
*/
|
|
1830
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
1831
|
+
/**
|
|
1832
|
+
* Get Flexible Loan LTV Adjustment History
|
|
1833
|
+
*
|
|
1834
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1835
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1836
|
+
*
|
|
1837
|
+
* Weight: 400
|
|
1838
|
+
*
|
|
1839
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
1840
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1841
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
1842
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1843
|
+
* @memberof FlexibleRateApi
|
|
1844
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
1845
|
+
*/
|
|
1846
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
1847
|
+
/**
|
|
1848
|
+
* Get Flexible Loan Ongoing Orders
|
|
1849
|
+
*
|
|
1850
|
+
* Weight: 300
|
|
1851
|
+
*
|
|
1852
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
1853
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
1854
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
1855
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1856
|
+
* @memberof FlexibleRateApi
|
|
1857
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
1858
|
+
*/
|
|
1859
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Get Flexible Loan Repayment History
|
|
1862
|
+
*
|
|
1863
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1864
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1865
|
+
*
|
|
1866
|
+
* Weight: 400
|
|
1867
|
+
*
|
|
1868
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
1869
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1870
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
1871
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1872
|
+
* @memberof FlexibleRateApi
|
|
1873
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
1874
|
+
*/
|
|
1875
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
2005
1876
|
}
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
* Binance Crypto Loan REST API
|
|
2009
|
-
*
|
|
2010
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
2011
|
-
*
|
|
2012
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2013
|
-
*
|
|
2014
|
-
*
|
|
2015
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2016
|
-
* https://openapi-generator.tech
|
|
2017
|
-
* Do not edit the class manually.
|
|
2018
|
-
*/
|
|
2019
|
-
|
|
1877
|
+
//#endregion
|
|
1878
|
+
//#region src/rest-api/modules/stable-rate-api.d.ts
|
|
2020
1879
|
/**
|
|
2021
1880
|
* StableRateApi - interface
|
|
2022
1881
|
* @interface StableRateApi
|
|
2023
1882
|
*/
|
|
2024
1883
|
interface StableRateApiInterface {
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
1884
|
+
/**
|
|
1885
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
1886
|
+
*
|
|
1887
|
+
* Weight: 6000
|
|
1888
|
+
*
|
|
1889
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
1890
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
1891
|
+
*
|
|
1892
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1893
|
+
* @memberof StableRateApiInterface
|
|
1894
|
+
*/
|
|
1895
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
1896
|
+
/**
|
|
1897
|
+
* Get Crypto Loans Income History
|
|
1898
|
+
*
|
|
1899
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
1900
|
+
* The max interval between startTime and endTime is 30 days.
|
|
1901
|
+
*
|
|
1902
|
+
* Weight: 6000
|
|
1903
|
+
*
|
|
1904
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
1905
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
1906
|
+
*
|
|
1907
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1908
|
+
* @memberof StableRateApiInterface
|
|
1909
|
+
*/
|
|
1910
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
1911
|
+
/**
|
|
1912
|
+
* Get Loan Borrow History
|
|
1913
|
+
*
|
|
1914
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1915
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1916
|
+
*
|
|
1917
|
+
* Weight: 400
|
|
1918
|
+
*
|
|
1919
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
1920
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1921
|
+
*
|
|
1922
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1923
|
+
* @memberof StableRateApiInterface
|
|
1924
|
+
*/
|
|
1925
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Get Loan LTV Adjustment History
|
|
1928
|
+
*
|
|
1929
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1930
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1931
|
+
*
|
|
1932
|
+
* Weight: 400
|
|
1933
|
+
*
|
|
1934
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1935
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1936
|
+
*
|
|
1937
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1938
|
+
* @memberof StableRateApiInterface
|
|
1939
|
+
*/
|
|
1940
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
1941
|
+
/**
|
|
1942
|
+
* Get Loan Repayment History
|
|
1943
|
+
*
|
|
1944
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
1945
|
+
* The max interval between startTime and endTime is 180 days.
|
|
1946
|
+
*
|
|
1947
|
+
* Weight: 400
|
|
1948
|
+
*
|
|
1949
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
1950
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1951
|
+
*
|
|
1952
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1953
|
+
* @memberof StableRateApiInterface
|
|
1954
|
+
*/
|
|
1955
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
2097
1956
|
}
|
|
2098
1957
|
/**
|
|
2099
1958
|
* Request parameters for checkCollateralRepayRateStableRate operation in StableRateApi.
|
|
2100
1959
|
* @interface CheckCollateralRepayRateStableRateRequest
|
|
2101
1960
|
*/
|
|
2102
1961
|
interface CheckCollateralRepayRateStableRateRequest {
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
1962
|
+
/**
|
|
1963
|
+
*
|
|
1964
|
+
* @type {string}
|
|
1965
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
1966
|
+
*/
|
|
1967
|
+
readonly loanCoin: string;
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @type {string}
|
|
1971
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
1972
|
+
*/
|
|
1973
|
+
readonly collateralCoin: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* repay amount of loanCoin
|
|
1976
|
+
* @type {number}
|
|
1977
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
1978
|
+
*/
|
|
1979
|
+
readonly repayAmount: number;
|
|
1980
|
+
/**
|
|
1981
|
+
*
|
|
1982
|
+
* @type {number | bigint}
|
|
1983
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
1984
|
+
*/
|
|
1985
|
+
readonly recvWindow?: number | bigint;
|
|
2127
1986
|
}
|
|
2128
1987
|
/**
|
|
2129
1988
|
* Request parameters for getCryptoLoansIncomeHistory operation in StableRateApi.
|
|
2130
1989
|
* @interface GetCryptoLoansIncomeHistoryRequest
|
|
2131
1990
|
*/
|
|
2132
1991
|
interface GetCryptoLoansIncomeHistoryRequest {
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
1992
|
+
/**
|
|
1993
|
+
*
|
|
1994
|
+
* @type {string}
|
|
1995
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
1996
|
+
*/
|
|
1997
|
+
readonly asset?: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
|
|
2000
|
+
* @type {string}
|
|
2001
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
2002
|
+
*/
|
|
2003
|
+
readonly type?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
*
|
|
2006
|
+
* @type {number | bigint}
|
|
2007
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
2008
|
+
*/
|
|
2009
|
+
readonly startTime?: number | bigint;
|
|
2010
|
+
/**
|
|
2011
|
+
*
|
|
2012
|
+
* @type {number | bigint}
|
|
2013
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
2014
|
+
*/
|
|
2015
|
+
readonly endTime?: number | bigint;
|
|
2016
|
+
/**
|
|
2017
|
+
* Default: 10; max: 100
|
|
2018
|
+
* @type {number | bigint}
|
|
2019
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
2020
|
+
*/
|
|
2021
|
+
readonly limit?: number | bigint;
|
|
2022
|
+
/**
|
|
2023
|
+
*
|
|
2024
|
+
* @type {number | bigint}
|
|
2025
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
2026
|
+
*/
|
|
2027
|
+
readonly recvWindow?: number | bigint;
|
|
2169
2028
|
}
|
|
2170
2029
|
/**
|
|
2171
2030
|
* Request parameters for getLoanBorrowHistory operation in StableRateApi.
|
|
2172
2031
|
* @interface GetLoanBorrowHistoryRequest
|
|
2173
2032
|
*/
|
|
2174
2033
|
interface GetLoanBorrowHistoryRequest {
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2034
|
+
/**
|
|
2035
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
2036
|
+
* @type {number | bigint}
|
|
2037
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2038
|
+
*/
|
|
2039
|
+
readonly orderId?: number | bigint;
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {string}
|
|
2043
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2044
|
+
*/
|
|
2045
|
+
readonly loanCoin?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {string}
|
|
2049
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2050
|
+
*/
|
|
2051
|
+
readonly collateralCoin?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {number | bigint}
|
|
2055
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2056
|
+
*/
|
|
2057
|
+
readonly startTime?: number | bigint;
|
|
2058
|
+
/**
|
|
2059
|
+
*
|
|
2060
|
+
* @type {number | bigint}
|
|
2061
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2062
|
+
*/
|
|
2063
|
+
readonly endTime?: number | bigint;
|
|
2064
|
+
/**
|
|
2065
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2066
|
+
* @type {number | bigint}
|
|
2067
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2068
|
+
*/
|
|
2069
|
+
readonly current?: number | bigint;
|
|
2070
|
+
/**
|
|
2071
|
+
* Default: 10; max: 100
|
|
2072
|
+
* @type {number | bigint}
|
|
2073
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2074
|
+
*/
|
|
2075
|
+
readonly limit?: number | bigint;
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @type {number | bigint}
|
|
2079
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
2080
|
+
*/
|
|
2081
|
+
readonly recvWindow?: number | bigint;
|
|
2223
2082
|
}
|
|
2224
2083
|
/**
|
|
2225
2084
|
* Request parameters for getLoanLtvAdjustmentHistory operation in StableRateApi.
|
|
2226
2085
|
* @interface GetLoanLtvAdjustmentHistoryRequest
|
|
2227
2086
|
*/
|
|
2228
2087
|
interface GetLoanLtvAdjustmentHistoryRequest {
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2088
|
+
/**
|
|
2089
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
2090
|
+
* @type {number | bigint}
|
|
2091
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2092
|
+
*/
|
|
2093
|
+
readonly orderId?: number | bigint;
|
|
2094
|
+
/**
|
|
2095
|
+
*
|
|
2096
|
+
* @type {string}
|
|
2097
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2098
|
+
*/
|
|
2099
|
+
readonly loanCoin?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
*
|
|
2102
|
+
* @type {string}
|
|
2103
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2104
|
+
*/
|
|
2105
|
+
readonly collateralCoin?: string;
|
|
2106
|
+
/**
|
|
2107
|
+
*
|
|
2108
|
+
* @type {number | bigint}
|
|
2109
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2110
|
+
*/
|
|
2111
|
+
readonly startTime?: number | bigint;
|
|
2112
|
+
/**
|
|
2113
|
+
*
|
|
2114
|
+
* @type {number | bigint}
|
|
2115
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2116
|
+
*/
|
|
2117
|
+
readonly endTime?: number | bigint;
|
|
2118
|
+
/**
|
|
2119
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2120
|
+
* @type {number | bigint}
|
|
2121
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2122
|
+
*/
|
|
2123
|
+
readonly current?: number | bigint;
|
|
2124
|
+
/**
|
|
2125
|
+
* Default: 10; max: 100
|
|
2126
|
+
* @type {number | bigint}
|
|
2127
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2128
|
+
*/
|
|
2129
|
+
readonly limit?: number | bigint;
|
|
2130
|
+
/**
|
|
2131
|
+
*
|
|
2132
|
+
* @type {number | bigint}
|
|
2133
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
2134
|
+
*/
|
|
2135
|
+
readonly recvWindow?: number | bigint;
|
|
2277
2136
|
}
|
|
2278
2137
|
/**
|
|
2279
2138
|
* Request parameters for getLoanRepaymentHistory operation in StableRateApi.
|
|
2280
2139
|
* @interface GetLoanRepaymentHistoryRequest
|
|
2281
2140
|
*/
|
|
2282
2141
|
interface GetLoanRepaymentHistoryRequest {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2142
|
+
/**
|
|
2143
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
2144
|
+
* @type {number | bigint}
|
|
2145
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2146
|
+
*/
|
|
2147
|
+
readonly orderId?: number | bigint;
|
|
2148
|
+
/**
|
|
2149
|
+
*
|
|
2150
|
+
* @type {string}
|
|
2151
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2152
|
+
*/
|
|
2153
|
+
readonly loanCoin?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
*
|
|
2156
|
+
* @type {string}
|
|
2157
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2158
|
+
*/
|
|
2159
|
+
readonly collateralCoin?: string;
|
|
2160
|
+
/**
|
|
2161
|
+
*
|
|
2162
|
+
* @type {number | bigint}
|
|
2163
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2164
|
+
*/
|
|
2165
|
+
readonly startTime?: number | bigint;
|
|
2166
|
+
/**
|
|
2167
|
+
*
|
|
2168
|
+
* @type {number | bigint}
|
|
2169
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2170
|
+
*/
|
|
2171
|
+
readonly endTime?: number | bigint;
|
|
2172
|
+
/**
|
|
2173
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2174
|
+
* @type {number | bigint}
|
|
2175
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2176
|
+
*/
|
|
2177
|
+
readonly current?: number | bigint;
|
|
2178
|
+
/**
|
|
2179
|
+
* Default: 10; max: 100
|
|
2180
|
+
* @type {number | bigint}
|
|
2181
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2182
|
+
*/
|
|
2183
|
+
readonly limit?: number | bigint;
|
|
2184
|
+
/**
|
|
2185
|
+
*
|
|
2186
|
+
* @type {number | bigint}
|
|
2187
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
2188
|
+
*/
|
|
2189
|
+
readonly recvWindow?: number | bigint;
|
|
2331
2190
|
}
|
|
2332
2191
|
/**
|
|
2333
2192
|
* StableRateApi - object-oriented interface
|
|
2334
2193
|
* @class StableRateApi
|
|
2335
2194
|
*/
|
|
2336
2195
|
declare class StableRateApi implements StableRateApiInterface {
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2196
|
+
private readonly configuration;
|
|
2197
|
+
private localVarAxiosParamCreator;
|
|
2198
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
2199
|
+
/**
|
|
2200
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
2201
|
+
*
|
|
2202
|
+
* Weight: 6000
|
|
2203
|
+
*
|
|
2204
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
2205
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
2206
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
2207
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2208
|
+
* @memberof StableRateApi
|
|
2209
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
2210
|
+
*/
|
|
2211
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
2212
|
+
/**
|
|
2213
|
+
* Get Crypto Loans Income History
|
|
2214
|
+
*
|
|
2215
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
2216
|
+
* The max interval between startTime and endTime is 30 days.
|
|
2217
|
+
*
|
|
2218
|
+
* Weight: 6000
|
|
2219
|
+
*
|
|
2220
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
2221
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
2222
|
+
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
2223
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2224
|
+
* @memberof StableRateApi
|
|
2225
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
2226
|
+
*/
|
|
2227
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
2228
|
+
/**
|
|
2229
|
+
* Get Loan Borrow History
|
|
2230
|
+
*
|
|
2231
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2232
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2233
|
+
*
|
|
2234
|
+
* Weight: 400
|
|
2235
|
+
*
|
|
2236
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
2237
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2238
|
+
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
2239
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2240
|
+
* @memberof StableRateApi
|
|
2241
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
2242
|
+
*/
|
|
2243
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
2244
|
+
/**
|
|
2245
|
+
* Get Loan LTV Adjustment History
|
|
2246
|
+
*
|
|
2247
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2248
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2249
|
+
*
|
|
2250
|
+
* Weight: 400
|
|
2251
|
+
*
|
|
2252
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
2253
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2254
|
+
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
2255
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2256
|
+
* @memberof StableRateApi
|
|
2257
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
2258
|
+
*/
|
|
2259
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Get Loan Repayment History
|
|
2262
|
+
*
|
|
2263
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2264
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2265
|
+
*
|
|
2266
|
+
* Weight: 400
|
|
2267
|
+
*
|
|
2268
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
2269
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2270
|
+
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
2271
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2272
|
+
* @memberof StableRateApi
|
|
2273
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
2274
|
+
*/
|
|
2275
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
2417
2276
|
}
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
* Binance Crypto Loan REST API
|
|
2421
|
-
*
|
|
2422
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
2423
|
-
*
|
|
2424
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2425
|
-
*
|
|
2426
|
-
*
|
|
2427
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2428
|
-
* https://openapi-generator.tech
|
|
2429
|
-
* Do not edit the class manually.
|
|
2430
|
-
*/
|
|
2431
|
-
|
|
2277
|
+
//#endregion
|
|
2278
|
+
//#region src/rest-api/rest-api.d.ts
|
|
2432
2279
|
declare class RestAPI {
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2280
|
+
private configuration;
|
|
2281
|
+
private flexibleRateApi;
|
|
2282
|
+
private stableRateApi;
|
|
2283
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
2284
|
+
/**
|
|
2285
|
+
* Generic function to send a request.
|
|
2286
|
+
* @param endpoint - The API endpoint to call.
|
|
2287
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
2288
|
+
* @param params - Query parameters for the request.
|
|
2289
|
+
*
|
|
2290
|
+
* @returns A promise resolving to the response data object.
|
|
2291
|
+
*/
|
|
2292
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
2293
|
+
/**
|
|
2294
|
+
* Generic function to send a signed request.
|
|
2295
|
+
* @param endpoint - The API endpoint to call.
|
|
2296
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
2297
|
+
* @param params - Query parameters for the request.
|
|
2298
|
+
*
|
|
2299
|
+
* @returns A promise resolving to the response data object.
|
|
2300
|
+
*/
|
|
2301
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
2302
|
+
/**
|
|
2303
|
+
*
|
|
2304
|
+
* Weight: 6000
|
|
2305
|
+
*
|
|
2306
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
2307
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
2308
|
+
*
|
|
2309
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
2310
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2311
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
2312
|
+
*/
|
|
2313
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
2314
|
+
/**
|
|
2315
|
+
* Flexible Loan Adjust LTV
|
|
2316
|
+
*
|
|
2317
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
2318
|
+
*
|
|
2319
|
+
* Weight: 6000
|
|
2320
|
+
*
|
|
2321
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
2322
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
2323
|
+
*
|
|
2324
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
2325
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2326
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
2327
|
+
*/
|
|
2328
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
2329
|
+
/**
|
|
2330
|
+
* Borrow Flexible Loan
|
|
2331
|
+
*
|
|
2332
|
+
*
|
|
2333
|
+
* Only available for master account
|
|
2334
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
2335
|
+
*
|
|
2336
|
+
* Weight: 6000
|
|
2337
|
+
*
|
|
2338
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
2339
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
2340
|
+
*
|
|
2341
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
2342
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2343
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
2344
|
+
*/
|
|
2345
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
2346
|
+
/**
|
|
2347
|
+
* Flexible Loan Repay
|
|
2348
|
+
*
|
|
2349
|
+
*
|
|
2350
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
2351
|
+
*
|
|
2352
|
+
* Weight: 6000
|
|
2353
|
+
*
|
|
2354
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
2355
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
2356
|
+
*
|
|
2357
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
2358
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2359
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
2360
|
+
*/
|
|
2361
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
2362
|
+
/**
|
|
2363
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
2364
|
+
*
|
|
2365
|
+
* Weight: 400
|
|
2366
|
+
*
|
|
2367
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
2368
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
2369
|
+
*
|
|
2370
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
2371
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2372
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
2373
|
+
*/
|
|
2374
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
2375
|
+
/**
|
|
2376
|
+
* Get Flexible Loan Borrow History
|
|
2377
|
+
*
|
|
2378
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2379
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2380
|
+
*
|
|
2381
|
+
* Weight: 400
|
|
2382
|
+
*
|
|
2383
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
2384
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2385
|
+
*
|
|
2386
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
2387
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2388
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
2389
|
+
*/
|
|
2390
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
2391
|
+
/**
|
|
2392
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
2393
|
+
*
|
|
2394
|
+
* Weight: 400
|
|
2395
|
+
*
|
|
2396
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
2397
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
2398
|
+
*
|
|
2399
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
2400
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2401
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
2402
|
+
*/
|
|
2403
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
2404
|
+
/**
|
|
2405
|
+
*
|
|
2406
|
+
* Weight: 400
|
|
2407
|
+
*
|
|
2408
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
2409
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
2410
|
+
*
|
|
2411
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
2412
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2413
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
2414
|
+
*/
|
|
2415
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
2416
|
+
/**
|
|
2417
|
+
* Get Flexible Loan LTV Adjustment History
|
|
2418
|
+
*
|
|
2419
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2420
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2421
|
+
*
|
|
2422
|
+
* Weight: 400
|
|
2423
|
+
*
|
|
2424
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
2425
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2426
|
+
*
|
|
2427
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
2428
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2429
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
2430
|
+
*/
|
|
2431
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
2432
|
+
/**
|
|
2433
|
+
* Get Flexible Loan Ongoing Orders
|
|
2434
|
+
*
|
|
2435
|
+
* Weight: 300
|
|
2436
|
+
*
|
|
2437
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
2438
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
2439
|
+
*
|
|
2440
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
2441
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2442
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
2443
|
+
*/
|
|
2444
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
2445
|
+
/**
|
|
2446
|
+
* Get Flexible Loan Repayment History
|
|
2447
|
+
*
|
|
2448
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2449
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2450
|
+
*
|
|
2451
|
+
* Weight: 400
|
|
2452
|
+
*
|
|
2453
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
2454
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2455
|
+
*
|
|
2456
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
2457
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2458
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
2459
|
+
*/
|
|
2460
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
2461
|
+
/**
|
|
2462
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
2463
|
+
*
|
|
2464
|
+
* Weight: 6000
|
|
2465
|
+
*
|
|
2466
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
2467
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
2468
|
+
*
|
|
2469
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
2470
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2471
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
2472
|
+
*/
|
|
2473
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Get Crypto Loans Income History
|
|
2476
|
+
*
|
|
2477
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
2478
|
+
* The max interval between startTime and endTime is 30 days.
|
|
2479
|
+
*
|
|
2480
|
+
* Weight: 6000
|
|
2481
|
+
*
|
|
2482
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
2483
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
2484
|
+
*
|
|
2485
|
+
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
2486
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2487
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
2488
|
+
*/
|
|
2489
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
2490
|
+
/**
|
|
2491
|
+
* Get Loan Borrow History
|
|
2492
|
+
*
|
|
2493
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2494
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2495
|
+
*
|
|
2496
|
+
* Weight: 400
|
|
2497
|
+
*
|
|
2498
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
2499
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2500
|
+
*
|
|
2501
|
+
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
2502
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2503
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
2504
|
+
*/
|
|
2505
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
2506
|
+
/**
|
|
2507
|
+
* Get Loan LTV Adjustment History
|
|
2508
|
+
*
|
|
2509
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2510
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2511
|
+
*
|
|
2512
|
+
* Weight: 400
|
|
2513
|
+
*
|
|
2514
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
2515
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2516
|
+
*
|
|
2517
|
+
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
2518
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2519
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
2520
|
+
*/
|
|
2521
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
2522
|
+
/**
|
|
2523
|
+
* Get Loan Repayment History
|
|
2524
|
+
*
|
|
2525
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2526
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2527
|
+
*
|
|
2528
|
+
* Weight: 400
|
|
2529
|
+
*
|
|
2530
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
2531
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2532
|
+
*
|
|
2533
|
+
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
2534
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2535
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
2536
|
+
*/
|
|
2537
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
2691
2538
|
}
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
* Binance Crypto Loan REST API
|
|
2695
|
-
*
|
|
2696
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
2697
|
-
*
|
|
2698
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2699
|
-
*
|
|
2700
|
-
*
|
|
2701
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2702
|
-
* https://openapi-generator.tech
|
|
2703
|
-
* Do not edit the class manually.
|
|
2704
|
-
*/
|
|
2705
|
-
|
|
2706
|
-
type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
|
|
2707
|
-
type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
|
|
2708
|
-
type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
|
|
2709
|
-
type index_CheckCollateralRepayRateStableRateResponse = CheckCollateralRepayRateStableRateResponse;
|
|
2710
|
-
type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
|
|
2711
|
-
type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
|
|
2712
|
-
type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
|
|
2713
|
-
type index_FlexibleLoanBorrowResponse = FlexibleLoanBorrowResponse;
|
|
2714
|
-
type index_FlexibleLoanRepayRequest = FlexibleLoanRepayRequest;
|
|
2715
|
-
type index_FlexibleLoanRepayResponse = FlexibleLoanRepayResponse;
|
|
2716
|
-
type index_FlexibleRateApi = FlexibleRateApi;
|
|
2717
|
-
declare const index_FlexibleRateApi: typeof FlexibleRateApi;
|
|
2718
|
-
type index_FlexibleRateApiInterface = FlexibleRateApiInterface;
|
|
2719
|
-
type index_GetCryptoLoansIncomeHistoryRequest = GetCryptoLoansIncomeHistoryRequest;
|
|
2720
|
-
type index_GetCryptoLoansIncomeHistoryResponse = GetCryptoLoansIncomeHistoryResponse;
|
|
2721
|
-
type index_GetCryptoLoansIncomeHistoryResponseInner = GetCryptoLoansIncomeHistoryResponseInner;
|
|
2722
|
-
type index_GetFlexibleLoanAssetsDataRequest = GetFlexibleLoanAssetsDataRequest;
|
|
2723
|
-
type index_GetFlexibleLoanAssetsDataResponse = GetFlexibleLoanAssetsDataResponse;
|
|
2724
|
-
type index_GetFlexibleLoanAssetsDataResponseRowsInner = GetFlexibleLoanAssetsDataResponseRowsInner;
|
|
2725
|
-
type index_GetFlexibleLoanBorrowHistoryRequest = GetFlexibleLoanBorrowHistoryRequest;
|
|
2726
|
-
type index_GetFlexibleLoanBorrowHistoryResponse = GetFlexibleLoanBorrowHistoryResponse;
|
|
2727
|
-
type index_GetFlexibleLoanBorrowHistoryResponseRowsInner = GetFlexibleLoanBorrowHistoryResponseRowsInner;
|
|
2728
|
-
type index_GetFlexibleLoanCollateralAssetsDataRequest = GetFlexibleLoanCollateralAssetsDataRequest;
|
|
2729
|
-
type index_GetFlexibleLoanCollateralAssetsDataResponse = GetFlexibleLoanCollateralAssetsDataResponse;
|
|
2730
|
-
type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner = GetFlexibleLoanCollateralAssetsDataResponseRowsInner;
|
|
2731
|
-
type index_GetFlexibleLoanLiquidationHistoryRequest = GetFlexibleLoanLiquidationHistoryRequest;
|
|
2732
|
-
type index_GetFlexibleLoanLiquidationHistoryResponse = GetFlexibleLoanLiquidationHistoryResponse;
|
|
2733
|
-
type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner = GetFlexibleLoanLiquidationHistoryResponseRowsInner;
|
|
2734
|
-
type index_GetFlexibleLoanLtvAdjustmentHistoryRequest = GetFlexibleLoanLtvAdjustmentHistoryRequest;
|
|
2735
|
-
type index_GetFlexibleLoanLtvAdjustmentHistoryResponse = GetFlexibleLoanLtvAdjustmentHistoryResponse;
|
|
2736
|
-
type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner = GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner;
|
|
2737
|
-
type index_GetFlexibleLoanOngoingOrdersRequest = GetFlexibleLoanOngoingOrdersRequest;
|
|
2738
|
-
type index_GetFlexibleLoanOngoingOrdersResponse = GetFlexibleLoanOngoingOrdersResponse;
|
|
2739
|
-
type index_GetFlexibleLoanOngoingOrdersResponseRowsInner = GetFlexibleLoanOngoingOrdersResponseRowsInner;
|
|
2740
|
-
type index_GetFlexibleLoanRepaymentHistoryRequest = GetFlexibleLoanRepaymentHistoryRequest;
|
|
2741
|
-
type index_GetFlexibleLoanRepaymentHistoryResponse = GetFlexibleLoanRepaymentHistoryResponse;
|
|
2742
|
-
type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner = GetFlexibleLoanRepaymentHistoryResponseRowsInner;
|
|
2743
|
-
type index_GetLoanBorrowHistoryRequest = GetLoanBorrowHistoryRequest;
|
|
2744
|
-
type index_GetLoanBorrowHistoryResponse = GetLoanBorrowHistoryResponse;
|
|
2745
|
-
type index_GetLoanBorrowHistoryResponseRowsInner = GetLoanBorrowHistoryResponseRowsInner;
|
|
2746
|
-
type index_GetLoanLtvAdjustmentHistoryRequest = GetLoanLtvAdjustmentHistoryRequest;
|
|
2747
|
-
type index_GetLoanLtvAdjustmentHistoryResponse = GetLoanLtvAdjustmentHistoryResponse;
|
|
2748
|
-
type index_GetLoanLtvAdjustmentHistoryResponseRowsInner = GetLoanLtvAdjustmentHistoryResponseRowsInner;
|
|
2749
|
-
type index_GetLoanRepaymentHistoryRequest = GetLoanRepaymentHistoryRequest;
|
|
2750
|
-
type index_GetLoanRepaymentHistoryResponse = GetLoanRepaymentHistoryResponse;
|
|
2751
|
-
type index_GetLoanRepaymentHistoryResponseRowsInner = GetLoanRepaymentHistoryResponseRowsInner;
|
|
2752
|
-
type index_RestAPI = RestAPI;
|
|
2753
|
-
declare const index_RestAPI: typeof RestAPI;
|
|
2754
|
-
type index_StableRateApi = StableRateApi;
|
|
2755
|
-
declare const index_StableRateApi: typeof StableRateApi;
|
|
2756
|
-
type index_StableRateApiInterface = StableRateApiInterface;
|
|
2757
|
-
declare namespace index {
|
|
2758
|
-
export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
|
|
2539
|
+
declare namespace index_d_exports {
|
|
2540
|
+
export { CheckCollateralRepayRateRequest, CheckCollateralRepayRateResponse, CheckCollateralRepayRateStableRateRequest, CheckCollateralRepayRateStableRateResponse, FlexibleLoanAdjustLtvRequest, FlexibleLoanAdjustLtvResponse, FlexibleLoanBorrowRequest, FlexibleLoanBorrowResponse, FlexibleLoanRepayRequest, FlexibleLoanRepayResponse, FlexibleRateApi, FlexibleRateApiInterface, GetCryptoLoansIncomeHistoryRequest, GetCryptoLoansIncomeHistoryResponse, GetCryptoLoansIncomeHistoryResponseInner, GetFlexibleLoanAssetsDataRequest, GetFlexibleLoanAssetsDataResponse, GetFlexibleLoanAssetsDataResponseRowsInner, GetFlexibleLoanBorrowHistoryRequest, GetFlexibleLoanBorrowHistoryResponse, GetFlexibleLoanBorrowHistoryResponseRowsInner, GetFlexibleLoanCollateralAssetsDataRequest, GetFlexibleLoanCollateralAssetsDataResponse, GetFlexibleLoanCollateralAssetsDataResponseRowsInner, GetFlexibleLoanLiquidationHistoryRequest, GetFlexibleLoanLiquidationHistoryResponse, GetFlexibleLoanLiquidationHistoryResponseRowsInner, GetFlexibleLoanLtvAdjustmentHistoryRequest, GetFlexibleLoanLtvAdjustmentHistoryResponse, GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, GetFlexibleLoanOngoingOrdersRequest, GetFlexibleLoanOngoingOrdersResponse, GetFlexibleLoanOngoingOrdersResponseRowsInner, GetFlexibleLoanRepaymentHistoryRequest, GetFlexibleLoanRepaymentHistoryResponse, GetFlexibleLoanRepaymentHistoryResponseRowsInner, GetLoanBorrowHistoryRequest, GetLoanBorrowHistoryResponse, GetLoanBorrowHistoryResponseRowsInner, GetLoanLtvAdjustmentHistoryRequest, GetLoanLtvAdjustmentHistoryResponse, GetLoanLtvAdjustmentHistoryResponseRowsInner, GetLoanRepaymentHistoryRequest, GetLoanRepaymentHistoryResponse, GetLoanRepaymentHistoryResponseRowsInner, RestAPI, StableRateApi, StableRateApiInterface };
|
|
2759
2541
|
}
|
|
2760
|
-
|
|
2542
|
+
//#endregion
|
|
2543
|
+
//#region src/crypto-loan.d.ts
|
|
2761
2544
|
interface ConfigurationCryptoLoan {
|
|
2762
|
-
|
|
2545
|
+
configurationRestAPI?: ConfigurationRestAPI;
|
|
2763
2546
|
}
|
|
2764
2547
|
declare class CryptoLoan {
|
|
2765
|
-
|
|
2766
|
-
|
|
2548
|
+
restAPI: RestAPI;
|
|
2549
|
+
constructor(config: ConfigurationCryptoLoan);
|
|
2767
2550
|
}
|
|
2768
|
-
|
|
2769
|
-
export {
|
|
2551
|
+
//#endregion
|
|
2552
|
+
export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, ConfigurationCryptoLoan, ConnectorClientError, CryptoLoan, index_d_exports as CryptoLoanRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
|
|
2553
|
+
//# sourceMappingURL=index.d.mts.map
|