@binance/crypto-loan 1.0.0
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/LICENCE +21 -0
- package/README.md +200 -0
- package/dist/index.d.mts +4092 -0
- package/dist/index.d.ts +4092 -0
- package/dist/index.js +2278 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2263 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +55 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,4092 @@
|
|
|
1
|
+
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
|
|
2
|
+
export { BadRequestError, CRYPTO_LOAN_REST_API_PROD_URL, CRYPTO_LOAN_REST_API_TESTNET_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Binance Public Crypto Loan REST API
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface BadRequest
|
|
20
|
+
*/
|
|
21
|
+
interface BadRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof BadRequest
|
|
26
|
+
*/
|
|
27
|
+
code: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BadRequest
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Binance Public Crypto Loan REST API
|
|
38
|
+
*
|
|
39
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
40
|
+
*
|
|
41
|
+
* The version of the OpenAPI document: 1.0.0
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
45
|
+
* https://openapi-generator.tech
|
|
46
|
+
* Do not edit the class manually.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @export
|
|
51
|
+
* @interface CheckCollateralRepayRateResponse
|
|
52
|
+
*/
|
|
53
|
+
interface CheckCollateralRepayRateResponse {
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
58
|
+
*/
|
|
59
|
+
loanCoin?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
64
|
+
*/
|
|
65
|
+
collateralCoin?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CheckCollateralRepayRateResponse
|
|
70
|
+
*/
|
|
71
|
+
rate?: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Binance Public Crypto Loan REST API
|
|
76
|
+
*
|
|
77
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
78
|
+
*
|
|
79
|
+
* The version of the OpenAPI document: 1.0.0
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
83
|
+
* https://openapi-generator.tech
|
|
84
|
+
* Do not edit the class manually.
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @export
|
|
89
|
+
* @interface CheckCollateralRepayRateStableRateResponse
|
|
90
|
+
*/
|
|
91
|
+
interface CheckCollateralRepayRateStableRateResponse {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
96
|
+
*/
|
|
97
|
+
loanlCoin?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
102
|
+
*/
|
|
103
|
+
collateralCoin?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
108
|
+
*/
|
|
109
|
+
repayAmount?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof CheckCollateralRepayRateStableRateResponse
|
|
114
|
+
*/
|
|
115
|
+
rate?: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Binance Public Crypto Loan REST API
|
|
120
|
+
*
|
|
121
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
122
|
+
*
|
|
123
|
+
* The version of the OpenAPI document: 1.0.0
|
|
124
|
+
*
|
|
125
|
+
*
|
|
126
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
127
|
+
* https://openapi-generator.tech
|
|
128
|
+
* Do not edit the class manually.
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @export
|
|
133
|
+
* @interface CryptoLoanAdjustLtvResponse
|
|
134
|
+
*/
|
|
135
|
+
interface CryptoLoanAdjustLtvResponse {
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof CryptoLoanAdjustLtvResponse
|
|
140
|
+
*/
|
|
141
|
+
loanCoin?: string;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof CryptoLoanAdjustLtvResponse
|
|
146
|
+
*/
|
|
147
|
+
collateralCoin?: string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof CryptoLoanAdjustLtvResponse
|
|
152
|
+
*/
|
|
153
|
+
direction?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof CryptoLoanAdjustLtvResponse
|
|
158
|
+
*/
|
|
159
|
+
amount?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof CryptoLoanAdjustLtvResponse
|
|
164
|
+
*/
|
|
165
|
+
currentLTV?: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Binance Public Crypto Loan REST API
|
|
170
|
+
*
|
|
171
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
172
|
+
*
|
|
173
|
+
* The version of the OpenAPI document: 1.0.0
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
177
|
+
* https://openapi-generator.tech
|
|
178
|
+
* Do not edit the class manually.
|
|
179
|
+
*/
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @export
|
|
183
|
+
* @interface CryptoLoanBorrowResponse
|
|
184
|
+
*/
|
|
185
|
+
interface CryptoLoanBorrowResponse {
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof CryptoLoanBorrowResponse
|
|
190
|
+
*/
|
|
191
|
+
loanCoin?: string;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof CryptoLoanBorrowResponse
|
|
196
|
+
*/
|
|
197
|
+
loanAmount?: string;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof CryptoLoanBorrowResponse
|
|
202
|
+
*/
|
|
203
|
+
collateralCoin?: string;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof CryptoLoanBorrowResponse
|
|
208
|
+
*/
|
|
209
|
+
collateralAmount?: string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof CryptoLoanBorrowResponse
|
|
214
|
+
*/
|
|
215
|
+
hourlyInterestRate?: string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof CryptoLoanBorrowResponse
|
|
220
|
+
*/
|
|
221
|
+
orderId?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Binance Public Crypto Loan REST API
|
|
226
|
+
*
|
|
227
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
228
|
+
*
|
|
229
|
+
* The version of the OpenAPI document: 1.0.0
|
|
230
|
+
*
|
|
231
|
+
*
|
|
232
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
233
|
+
* https://openapi-generator.tech
|
|
234
|
+
* Do not edit the class manually.
|
|
235
|
+
*/
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @export
|
|
239
|
+
* @interface CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
240
|
+
*/
|
|
241
|
+
interface CryptoLoanCustomizeMarginCallResponseRowsInner {
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
246
|
+
*/
|
|
247
|
+
orderId?: string;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {string}
|
|
251
|
+
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
252
|
+
*/
|
|
253
|
+
collateralCoin?: string;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
258
|
+
*/
|
|
259
|
+
preMarginCall?: string;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
264
|
+
*/
|
|
265
|
+
afterMarginCall?: string;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {number}
|
|
269
|
+
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
270
|
+
*/
|
|
271
|
+
customizeTime?: number;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Binance Public Crypto Loan REST API
|
|
276
|
+
*
|
|
277
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
278
|
+
*
|
|
279
|
+
* The version of the OpenAPI document: 1.0.0
|
|
280
|
+
*
|
|
281
|
+
*
|
|
282
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
283
|
+
* https://openapi-generator.tech
|
|
284
|
+
* Do not edit the class manually.
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @export
|
|
290
|
+
* @interface CryptoLoanCustomizeMarginCallResponse
|
|
291
|
+
*/
|
|
292
|
+
interface CryptoLoanCustomizeMarginCallResponse {
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @type {Array<CryptoLoanCustomizeMarginCallResponseRowsInner>}
|
|
296
|
+
* @memberof CryptoLoanCustomizeMarginCallResponse
|
|
297
|
+
*/
|
|
298
|
+
rows?: Array<CryptoLoanCustomizeMarginCallResponseRowsInner>;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @type {number}
|
|
302
|
+
* @memberof CryptoLoanCustomizeMarginCallResponse
|
|
303
|
+
*/
|
|
304
|
+
total?: number;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Binance Public Crypto Loan REST API
|
|
309
|
+
*
|
|
310
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
311
|
+
*
|
|
312
|
+
* The version of the OpenAPI document: 1.0.0
|
|
313
|
+
*
|
|
314
|
+
*
|
|
315
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
316
|
+
* https://openapi-generator.tech
|
|
317
|
+
* Do not edit the class manually.
|
|
318
|
+
*/
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @export
|
|
322
|
+
* @interface CryptoLoanRepayResponse1
|
|
323
|
+
*/
|
|
324
|
+
interface CryptoLoanRepayResponse1 {
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof CryptoLoanRepayResponse1
|
|
329
|
+
*/
|
|
330
|
+
loanCoin?: string;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof CryptoLoanRepayResponse1
|
|
335
|
+
*/
|
|
336
|
+
remainingPrincipal?: string;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof CryptoLoanRepayResponse1
|
|
341
|
+
*/
|
|
342
|
+
remainingInterest?: string;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof CryptoLoanRepayResponse1
|
|
347
|
+
*/
|
|
348
|
+
collateralCoin?: string;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof CryptoLoanRepayResponse1
|
|
353
|
+
*/
|
|
354
|
+
remainingCollateral?: string;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {string}
|
|
358
|
+
* @memberof CryptoLoanRepayResponse1
|
|
359
|
+
*/
|
|
360
|
+
currentLTV?: string;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof CryptoLoanRepayResponse1
|
|
365
|
+
*/
|
|
366
|
+
repayStatus?: string;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Binance Public Crypto Loan REST API
|
|
371
|
+
*
|
|
372
|
+
* OpenAPI Specification for the Binance Public 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
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @export
|
|
384
|
+
* @interface CryptoLoanRepayResponse2
|
|
385
|
+
*/
|
|
386
|
+
interface CryptoLoanRepayResponse2 {
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof CryptoLoanRepayResponse2
|
|
391
|
+
*/
|
|
392
|
+
loanCoin?: string;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof CryptoLoanRepayResponse2
|
|
397
|
+
*/
|
|
398
|
+
collateralCoin?: string;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof CryptoLoanRepayResponse2
|
|
403
|
+
*/
|
|
404
|
+
repayStatus?: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Binance Public Crypto Loan REST API
|
|
409
|
+
*
|
|
410
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
411
|
+
*
|
|
412
|
+
* The version of the OpenAPI document: 1.0.0
|
|
413
|
+
*
|
|
414
|
+
*
|
|
415
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
416
|
+
* https://openapi-generator.tech
|
|
417
|
+
* Do not edit the class manually.
|
|
418
|
+
*/
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @type CryptoLoanRepayResponse
|
|
422
|
+
* @export
|
|
423
|
+
*/
|
|
424
|
+
type CryptoLoanRepayResponse = CryptoLoanRepayResponse1 | CryptoLoanRepayResponse2;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Binance Public Crypto Loan REST API
|
|
428
|
+
*
|
|
429
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
430
|
+
*
|
|
431
|
+
* The version of the OpenAPI document: 1.0.0
|
|
432
|
+
*
|
|
433
|
+
*
|
|
434
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
435
|
+
* https://openapi-generator.tech
|
|
436
|
+
* Do not edit the class manually.
|
|
437
|
+
*/
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @export
|
|
441
|
+
* @interface FlexibleLoanAdjustLtvResponse
|
|
442
|
+
*/
|
|
443
|
+
interface FlexibleLoanAdjustLtvResponse {
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
448
|
+
*/
|
|
449
|
+
loanCoin?: string;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
454
|
+
*/
|
|
455
|
+
collateralCoin?: string;
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @type {string}
|
|
459
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
460
|
+
*/
|
|
461
|
+
direction?: string;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @type {string}
|
|
465
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
466
|
+
*/
|
|
467
|
+
adjustmentAmount?: string;
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @type {string}
|
|
471
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
472
|
+
*/
|
|
473
|
+
currentLTV?: string;
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof FlexibleLoanAdjustLtvResponse
|
|
478
|
+
*/
|
|
479
|
+
status?: string;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Binance Public Crypto Loan REST API
|
|
484
|
+
*
|
|
485
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
486
|
+
*
|
|
487
|
+
* The version of the OpenAPI document: 1.0.0
|
|
488
|
+
*
|
|
489
|
+
*
|
|
490
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
491
|
+
* https://openapi-generator.tech
|
|
492
|
+
* Do not edit the class manually.
|
|
493
|
+
*/
|
|
494
|
+
/**
|
|
495
|
+
*
|
|
496
|
+
* @export
|
|
497
|
+
* @interface FlexibleLoanBorrowResponse
|
|
498
|
+
*/
|
|
499
|
+
interface FlexibleLoanBorrowResponse {
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @type {string}
|
|
503
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
504
|
+
*/
|
|
505
|
+
loanCoin?: string;
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
510
|
+
*/
|
|
511
|
+
loanAmount?: string;
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @type {string}
|
|
515
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
516
|
+
*/
|
|
517
|
+
collateralCoin?: string;
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
522
|
+
*/
|
|
523
|
+
collateralAmount?: string;
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @type {string}
|
|
527
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
528
|
+
*/
|
|
529
|
+
status?: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Binance Public Crypto Loan REST API
|
|
534
|
+
*
|
|
535
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
536
|
+
*
|
|
537
|
+
* The version of the OpenAPI document: 1.0.0
|
|
538
|
+
*
|
|
539
|
+
*
|
|
540
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
541
|
+
* https://openapi-generator.tech
|
|
542
|
+
* Do not edit the class manually.
|
|
543
|
+
*/
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @export
|
|
547
|
+
* @interface FlexibleLoanCollateralRepaymentResponse
|
|
548
|
+
*/
|
|
549
|
+
interface FlexibleLoanCollateralRepaymentResponse {
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
554
|
+
*/
|
|
555
|
+
loanCoin?: string;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {string}
|
|
559
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
560
|
+
*/
|
|
561
|
+
collateralCoin?: string;
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
566
|
+
*/
|
|
567
|
+
remainingDebt?: string;
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {string}
|
|
571
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
572
|
+
*/
|
|
573
|
+
remainingCollateral?: string;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @type {boolean}
|
|
577
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
578
|
+
*/
|
|
579
|
+
fullRepayment?: boolean;
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
584
|
+
*/
|
|
585
|
+
currentLTV?: string;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @type {string}
|
|
589
|
+
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
590
|
+
*/
|
|
591
|
+
repayStatus?: string;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Binance Public Crypto Loan REST API
|
|
596
|
+
*
|
|
597
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
598
|
+
*
|
|
599
|
+
* The version of the OpenAPI document: 1.0.0
|
|
600
|
+
*
|
|
601
|
+
*
|
|
602
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
603
|
+
* https://openapi-generator.tech
|
|
604
|
+
* Do not edit the class manually.
|
|
605
|
+
*/
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @export
|
|
609
|
+
* @interface FlexibleLoanRepayResponse
|
|
610
|
+
*/
|
|
611
|
+
interface FlexibleLoanRepayResponse {
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof FlexibleLoanRepayResponse
|
|
616
|
+
*/
|
|
617
|
+
loanCoin?: string;
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {string}
|
|
621
|
+
* @memberof FlexibleLoanRepayResponse
|
|
622
|
+
*/
|
|
623
|
+
collateralCoin?: string;
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof FlexibleLoanRepayResponse
|
|
628
|
+
*/
|
|
629
|
+
remainingDebt?: string;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof FlexibleLoanRepayResponse
|
|
634
|
+
*/
|
|
635
|
+
remainingCollateral?: string;
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {boolean}
|
|
639
|
+
* @memberof FlexibleLoanRepayResponse
|
|
640
|
+
*/
|
|
641
|
+
fullRepayment?: boolean;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {string}
|
|
645
|
+
* @memberof FlexibleLoanRepayResponse
|
|
646
|
+
*/
|
|
647
|
+
currentLTV?: string;
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof FlexibleLoanRepayResponse
|
|
652
|
+
*/
|
|
653
|
+
repayStatus?: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Binance Public Crypto Loan REST API
|
|
658
|
+
*
|
|
659
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
660
|
+
*
|
|
661
|
+
* The version of the OpenAPI document: 1.0.0
|
|
662
|
+
*
|
|
663
|
+
*
|
|
664
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
665
|
+
* https://openapi-generator.tech
|
|
666
|
+
* Do not edit the class manually.
|
|
667
|
+
*/
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @export
|
|
671
|
+
* @interface GetCollateralAssetsDataResponseRowsInner
|
|
672
|
+
*/
|
|
673
|
+
interface GetCollateralAssetsDataResponseRowsInner {
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
678
|
+
*/
|
|
679
|
+
collateralCoin?: string;
|
|
680
|
+
/**
|
|
681
|
+
*
|
|
682
|
+
* @type {string}
|
|
683
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
684
|
+
*/
|
|
685
|
+
initialLTV?: string;
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
690
|
+
*/
|
|
691
|
+
marginCallLTV?: string;
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
696
|
+
*/
|
|
697
|
+
liquidationLTV?: string;
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
702
|
+
*/
|
|
703
|
+
maxLimit?: string;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {number}
|
|
707
|
+
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
708
|
+
*/
|
|
709
|
+
vipLevel?: number;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Binance Public Crypto Loan REST API
|
|
714
|
+
*
|
|
715
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
716
|
+
*
|
|
717
|
+
* The version of the OpenAPI document: 1.0.0
|
|
718
|
+
*
|
|
719
|
+
*
|
|
720
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
721
|
+
* https://openapi-generator.tech
|
|
722
|
+
* Do not edit the class manually.
|
|
723
|
+
*/
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @export
|
|
728
|
+
* @interface GetCollateralAssetsDataResponse
|
|
729
|
+
*/
|
|
730
|
+
interface GetCollateralAssetsDataResponse {
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @type {Array<GetCollateralAssetsDataResponseRowsInner>}
|
|
734
|
+
* @memberof GetCollateralAssetsDataResponse
|
|
735
|
+
*/
|
|
736
|
+
rows?: Array<GetCollateralAssetsDataResponseRowsInner>;
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* @type {number}
|
|
740
|
+
* @memberof GetCollateralAssetsDataResponse
|
|
741
|
+
*/
|
|
742
|
+
total?: number;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Binance Public Crypto Loan REST API
|
|
747
|
+
*
|
|
748
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
749
|
+
*
|
|
750
|
+
* The version of the OpenAPI document: 1.0.0
|
|
751
|
+
*
|
|
752
|
+
*
|
|
753
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
754
|
+
* https://openapi-generator.tech
|
|
755
|
+
* Do not edit the class manually.
|
|
756
|
+
*/
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @export
|
|
760
|
+
* @interface GetCryptoLoansIncomeHistoryResponseInner
|
|
761
|
+
*/
|
|
762
|
+
interface GetCryptoLoansIncomeHistoryResponseInner {
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
767
|
+
*/
|
|
768
|
+
asset?: string;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
773
|
+
*/
|
|
774
|
+
type?: string;
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @type {string}
|
|
778
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
779
|
+
*/
|
|
780
|
+
amount?: string;
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @type {number}
|
|
784
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
785
|
+
*/
|
|
786
|
+
timestamp?: number;
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @type {string}
|
|
790
|
+
* @memberof GetCryptoLoansIncomeHistoryResponseInner
|
|
791
|
+
*/
|
|
792
|
+
tranId?: string;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Binance Public Crypto Loan REST API
|
|
797
|
+
*
|
|
798
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
799
|
+
*
|
|
800
|
+
* The version of the OpenAPI document: 1.0.0
|
|
801
|
+
*
|
|
802
|
+
*
|
|
803
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
804
|
+
* https://openapi-generator.tech
|
|
805
|
+
* Do not edit the class manually.
|
|
806
|
+
*/
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @export
|
|
811
|
+
* @interface GetCryptoLoansIncomeHistoryResponse
|
|
812
|
+
*/
|
|
813
|
+
interface GetCryptoLoansIncomeHistoryResponse extends Array<GetCryptoLoansIncomeHistoryResponseInner> {
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Binance Public Crypto Loan REST API
|
|
818
|
+
*
|
|
819
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
820
|
+
*
|
|
821
|
+
* The version of the OpenAPI document: 1.0.0
|
|
822
|
+
*
|
|
823
|
+
*
|
|
824
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
825
|
+
* https://openapi-generator.tech
|
|
826
|
+
* Do not edit the class manually.
|
|
827
|
+
*/
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @export
|
|
831
|
+
* @interface GetFlexibleLoanAssetsDataResponseRowsInner
|
|
832
|
+
*/
|
|
833
|
+
interface GetFlexibleLoanAssetsDataResponseRowsInner {
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @type {string}
|
|
837
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
838
|
+
*/
|
|
839
|
+
loanCoin?: string;
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {string}
|
|
843
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
844
|
+
*/
|
|
845
|
+
flexibleInterestRate?: string;
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @type {string}
|
|
849
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
850
|
+
*/
|
|
851
|
+
flexibleMinLimit?: string;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {string}
|
|
855
|
+
* @memberof GetFlexibleLoanAssetsDataResponseRowsInner
|
|
856
|
+
*/
|
|
857
|
+
flexibleMaxLimit?: string;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Binance Public Crypto Loan REST API
|
|
862
|
+
*
|
|
863
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
864
|
+
*
|
|
865
|
+
* The version of the OpenAPI document: 1.0.0
|
|
866
|
+
*
|
|
867
|
+
*
|
|
868
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
869
|
+
* https://openapi-generator.tech
|
|
870
|
+
* Do not edit the class manually.
|
|
871
|
+
*/
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @export
|
|
876
|
+
* @interface GetFlexibleLoanAssetsDataResponse
|
|
877
|
+
*/
|
|
878
|
+
interface GetFlexibleLoanAssetsDataResponse {
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* @type {Array<GetFlexibleLoanAssetsDataResponseRowsInner>}
|
|
882
|
+
* @memberof GetFlexibleLoanAssetsDataResponse
|
|
883
|
+
*/
|
|
884
|
+
rows?: Array<GetFlexibleLoanAssetsDataResponseRowsInner>;
|
|
885
|
+
/**
|
|
886
|
+
*
|
|
887
|
+
* @type {number}
|
|
888
|
+
* @memberof GetFlexibleLoanAssetsDataResponse
|
|
889
|
+
*/
|
|
890
|
+
total?: number;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Binance Public Crypto Loan REST API
|
|
895
|
+
*
|
|
896
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
897
|
+
*
|
|
898
|
+
* The version of the OpenAPI document: 1.0.0
|
|
899
|
+
*
|
|
900
|
+
*
|
|
901
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
902
|
+
* https://openapi-generator.tech
|
|
903
|
+
* Do not edit the class manually.
|
|
904
|
+
*/
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @export
|
|
908
|
+
* @interface GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
909
|
+
*/
|
|
910
|
+
interface GetFlexibleLoanBorrowHistoryResponseRowsInner {
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {string}
|
|
914
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
915
|
+
*/
|
|
916
|
+
loanCoin?: string;
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @type {string}
|
|
920
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
921
|
+
*/
|
|
922
|
+
initialLoanAmount?: string;
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @type {string}
|
|
926
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
927
|
+
*/
|
|
928
|
+
collateralCoin?: string;
|
|
929
|
+
/**
|
|
930
|
+
*
|
|
931
|
+
* @type {string}
|
|
932
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
933
|
+
*/
|
|
934
|
+
initialCollateralAmount?: string;
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @type {number}
|
|
938
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
939
|
+
*/
|
|
940
|
+
borrowTime?: number;
|
|
941
|
+
/**
|
|
942
|
+
*
|
|
943
|
+
* @type {string}
|
|
944
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponseRowsInner
|
|
945
|
+
*/
|
|
946
|
+
status?: string;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Binance Public Crypto Loan REST API
|
|
951
|
+
*
|
|
952
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
953
|
+
*
|
|
954
|
+
* The version of the OpenAPI document: 1.0.0
|
|
955
|
+
*
|
|
956
|
+
*
|
|
957
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
958
|
+
* https://openapi-generator.tech
|
|
959
|
+
* Do not edit the class manually.
|
|
960
|
+
*/
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* @export
|
|
965
|
+
* @interface GetFlexibleLoanBorrowHistoryResponse
|
|
966
|
+
*/
|
|
967
|
+
interface GetFlexibleLoanBorrowHistoryResponse {
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @type {Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>}
|
|
971
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponse
|
|
972
|
+
*/
|
|
973
|
+
rows?: Array<GetFlexibleLoanBorrowHistoryResponseRowsInner>;
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @type {number}
|
|
977
|
+
* @memberof GetFlexibleLoanBorrowHistoryResponse
|
|
978
|
+
*/
|
|
979
|
+
total?: number;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Binance Public Crypto Loan REST API
|
|
984
|
+
*
|
|
985
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
986
|
+
*
|
|
987
|
+
* The version of the OpenAPI document: 1.0.0
|
|
988
|
+
*
|
|
989
|
+
*
|
|
990
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
991
|
+
* https://openapi-generator.tech
|
|
992
|
+
* Do not edit the class manually.
|
|
993
|
+
*/
|
|
994
|
+
/**
|
|
995
|
+
*
|
|
996
|
+
* @export
|
|
997
|
+
* @interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
998
|
+
*/
|
|
999
|
+
interface GetFlexibleLoanCollateralAssetsDataResponseRowsInner {
|
|
1000
|
+
/**
|
|
1001
|
+
*
|
|
1002
|
+
* @type {string}
|
|
1003
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
1004
|
+
*/
|
|
1005
|
+
collateralCoin?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
*
|
|
1008
|
+
* @type {string}
|
|
1009
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
1010
|
+
*/
|
|
1011
|
+
initialLTV?: string;
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @type {string}
|
|
1015
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
1016
|
+
*/
|
|
1017
|
+
marginCallLTV?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
1022
|
+
*/
|
|
1023
|
+
liquidationLTV?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {string}
|
|
1027
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponseRowsInner
|
|
1028
|
+
*/
|
|
1029
|
+
maxLimit?: string;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Binance Public Crypto Loan REST API
|
|
1034
|
+
*
|
|
1035
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1036
|
+
*
|
|
1037
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1038
|
+
*
|
|
1039
|
+
*
|
|
1040
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1041
|
+
* https://openapi-generator.tech
|
|
1042
|
+
* Do not edit the class manually.
|
|
1043
|
+
*/
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @export
|
|
1048
|
+
* @interface GetFlexibleLoanCollateralAssetsDataResponse
|
|
1049
|
+
*/
|
|
1050
|
+
interface GetFlexibleLoanCollateralAssetsDataResponse {
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>}
|
|
1054
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponse
|
|
1055
|
+
*/
|
|
1056
|
+
rows?: Array<GetFlexibleLoanCollateralAssetsDataResponseRowsInner>;
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @type {number}
|
|
1060
|
+
* @memberof GetFlexibleLoanCollateralAssetsDataResponse
|
|
1061
|
+
*/
|
|
1062
|
+
total?: number;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Binance Public Crypto Loan REST API
|
|
1067
|
+
*
|
|
1068
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1069
|
+
*
|
|
1070
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1071
|
+
*
|
|
1072
|
+
*
|
|
1073
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1074
|
+
* https://openapi-generator.tech
|
|
1075
|
+
* Do not edit the class manually.
|
|
1076
|
+
*/
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @export
|
|
1080
|
+
* @interface GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1081
|
+
*/
|
|
1082
|
+
interface GetFlexibleLoanLiquidationHistoryResponseRowsInner {
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @type {string}
|
|
1086
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1087
|
+
*/
|
|
1088
|
+
loanCoin?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
*
|
|
1091
|
+
* @type {string}
|
|
1092
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1093
|
+
*/
|
|
1094
|
+
liquidationDebt?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* @type {string}
|
|
1098
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1099
|
+
*/
|
|
1100
|
+
collateralCoin?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @type {string}
|
|
1104
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1105
|
+
*/
|
|
1106
|
+
liquidationCollateralAmount?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
*
|
|
1109
|
+
* @type {string}
|
|
1110
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1111
|
+
*/
|
|
1112
|
+
returnCollateralAmount?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
*
|
|
1115
|
+
* @type {string}
|
|
1116
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1117
|
+
*/
|
|
1118
|
+
liquidationFee?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
*
|
|
1121
|
+
* @type {string}
|
|
1122
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1123
|
+
*/
|
|
1124
|
+
liquidationStartingPrice?: string;
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @type {number}
|
|
1128
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1129
|
+
*/
|
|
1130
|
+
liquidationStartingTime?: number;
|
|
1131
|
+
/**
|
|
1132
|
+
*
|
|
1133
|
+
* @type {string}
|
|
1134
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponseRowsInner
|
|
1135
|
+
*/
|
|
1136
|
+
status?: string;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Binance Public Crypto Loan REST API
|
|
1141
|
+
*
|
|
1142
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1143
|
+
*
|
|
1144
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1145
|
+
*
|
|
1146
|
+
*
|
|
1147
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1148
|
+
* https://openapi-generator.tech
|
|
1149
|
+
* Do not edit the class manually.
|
|
1150
|
+
*/
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @export
|
|
1155
|
+
* @interface GetFlexibleLoanLiquidationHistoryResponse
|
|
1156
|
+
*/
|
|
1157
|
+
interface GetFlexibleLoanLiquidationHistoryResponse {
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @type {Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>}
|
|
1161
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponse
|
|
1162
|
+
*/
|
|
1163
|
+
rows?: Array<GetFlexibleLoanLiquidationHistoryResponseRowsInner>;
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @type {number}
|
|
1167
|
+
* @memberof GetFlexibleLoanLiquidationHistoryResponse
|
|
1168
|
+
*/
|
|
1169
|
+
total?: number;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Binance Public Crypto Loan REST API
|
|
1174
|
+
*
|
|
1175
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1176
|
+
*
|
|
1177
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1178
|
+
*
|
|
1179
|
+
*
|
|
1180
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1181
|
+
* https://openapi-generator.tech
|
|
1182
|
+
* Do not edit the class manually.
|
|
1183
|
+
*/
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @export
|
|
1187
|
+
* @interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1188
|
+
*/
|
|
1189
|
+
interface GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @type {string}
|
|
1193
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1194
|
+
*/
|
|
1195
|
+
loanCoin?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @type {string}
|
|
1199
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1200
|
+
*/
|
|
1201
|
+
collateralCoin?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* @type {string}
|
|
1205
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1206
|
+
*/
|
|
1207
|
+
direction?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @type {string}
|
|
1211
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1212
|
+
*/
|
|
1213
|
+
collateralAmount?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
* @type {string}
|
|
1217
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1218
|
+
*/
|
|
1219
|
+
preLTV?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @type {string}
|
|
1223
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1224
|
+
*/
|
|
1225
|
+
afterLTV?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @type {number}
|
|
1229
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1230
|
+
*/
|
|
1231
|
+
adjustTime?: number;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Binance Public Crypto Loan REST API
|
|
1236
|
+
*
|
|
1237
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1238
|
+
*
|
|
1239
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1240
|
+
*
|
|
1241
|
+
*
|
|
1242
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1243
|
+
* https://openapi-generator.tech
|
|
1244
|
+
* Do not edit the class manually.
|
|
1245
|
+
*/
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @export
|
|
1250
|
+
* @interface GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
1251
|
+
*/
|
|
1252
|
+
interface GetFlexibleLoanLtvAdjustmentHistoryResponse {
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @type {Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>}
|
|
1256
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
1257
|
+
*/
|
|
1258
|
+
rows?: Array<GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner>;
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @type {number}
|
|
1262
|
+
* @memberof GetFlexibleLoanLtvAdjustmentHistoryResponse
|
|
1263
|
+
*/
|
|
1264
|
+
total?: number;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Binance Public Crypto Loan REST API
|
|
1269
|
+
*
|
|
1270
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1271
|
+
*
|
|
1272
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1273
|
+
*
|
|
1274
|
+
*
|
|
1275
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1276
|
+
* https://openapi-generator.tech
|
|
1277
|
+
* Do not edit the class manually.
|
|
1278
|
+
*/
|
|
1279
|
+
/**
|
|
1280
|
+
*
|
|
1281
|
+
* @export
|
|
1282
|
+
* @interface GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1283
|
+
*/
|
|
1284
|
+
interface GetFlexibleLoanOngoingOrdersResponseRowsInner {
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @type {string}
|
|
1288
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1289
|
+
*/
|
|
1290
|
+
loanCoin?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @type {string}
|
|
1294
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1295
|
+
*/
|
|
1296
|
+
totalDebt?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @type {string}
|
|
1300
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1301
|
+
*/
|
|
1302
|
+
collateralCoin?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
*
|
|
1305
|
+
* @type {string}
|
|
1306
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1307
|
+
*/
|
|
1308
|
+
collateralAmount?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
*
|
|
1311
|
+
* @type {string}
|
|
1312
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponseRowsInner
|
|
1313
|
+
*/
|
|
1314
|
+
currentLTV?: string;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Binance Public Crypto Loan REST API
|
|
1319
|
+
*
|
|
1320
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1321
|
+
*
|
|
1322
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1323
|
+
*
|
|
1324
|
+
*
|
|
1325
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1326
|
+
* https://openapi-generator.tech
|
|
1327
|
+
* Do not edit the class manually.
|
|
1328
|
+
*/
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @export
|
|
1333
|
+
* @interface GetFlexibleLoanOngoingOrdersResponse
|
|
1334
|
+
*/
|
|
1335
|
+
interface GetFlexibleLoanOngoingOrdersResponse {
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>}
|
|
1339
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponse
|
|
1340
|
+
*/
|
|
1341
|
+
rows?: Array<GetFlexibleLoanOngoingOrdersResponseRowsInner>;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @type {number}
|
|
1345
|
+
* @memberof GetFlexibleLoanOngoingOrdersResponse
|
|
1346
|
+
*/
|
|
1347
|
+
total?: number;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Binance Public Crypto Loan REST API
|
|
1352
|
+
*
|
|
1353
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1354
|
+
*
|
|
1355
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1356
|
+
*
|
|
1357
|
+
*
|
|
1358
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1359
|
+
* https://openapi-generator.tech
|
|
1360
|
+
* Do not edit the class manually.
|
|
1361
|
+
*/
|
|
1362
|
+
/**
|
|
1363
|
+
*
|
|
1364
|
+
* @export
|
|
1365
|
+
* @interface GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1366
|
+
*/
|
|
1367
|
+
interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @type {string}
|
|
1371
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1372
|
+
*/
|
|
1373
|
+
loanCoin?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
*
|
|
1376
|
+
* @type {string}
|
|
1377
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1378
|
+
*/
|
|
1379
|
+
repayAmount?: string;
|
|
1380
|
+
/**
|
|
1381
|
+
*
|
|
1382
|
+
* @type {string}
|
|
1383
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1384
|
+
*/
|
|
1385
|
+
collateralCoin?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @type {string}
|
|
1389
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1390
|
+
*/
|
|
1391
|
+
collateralReturn?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @type {string}
|
|
1395
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1396
|
+
*/
|
|
1397
|
+
repayStatus?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @type {number}
|
|
1401
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1402
|
+
*/
|
|
1403
|
+
repayTime?: number;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Binance Public Crypto Loan REST API
|
|
1408
|
+
*
|
|
1409
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1410
|
+
*
|
|
1411
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1412
|
+
*
|
|
1413
|
+
*
|
|
1414
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1415
|
+
* https://openapi-generator.tech
|
|
1416
|
+
* Do not edit the class manually.
|
|
1417
|
+
*/
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface GetFlexibleLoanRepaymentHistoryResponse
|
|
1423
|
+
*/
|
|
1424
|
+
interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
|
|
1428
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1429
|
+
*/
|
|
1430
|
+
rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {number}
|
|
1434
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1435
|
+
*/
|
|
1436
|
+
total?: number;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Binance Public Crypto Loan REST API
|
|
1441
|
+
*
|
|
1442
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1443
|
+
*
|
|
1444
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1445
|
+
*
|
|
1446
|
+
*
|
|
1447
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1448
|
+
* https://openapi-generator.tech
|
|
1449
|
+
* Do not edit the class manually.
|
|
1450
|
+
*/
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @export
|
|
1454
|
+
* @interface GetLoanBorrowHistoryResponseRowsInner
|
|
1455
|
+
*/
|
|
1456
|
+
interface GetLoanBorrowHistoryResponseRowsInner {
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {number}
|
|
1460
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1461
|
+
*/
|
|
1462
|
+
orderId?: number;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {string}
|
|
1466
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1467
|
+
*/
|
|
1468
|
+
loanCoin?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1473
|
+
*/
|
|
1474
|
+
initialLoanAmount?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1479
|
+
*/
|
|
1480
|
+
hourlyInterestRate?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {string}
|
|
1484
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1485
|
+
*/
|
|
1486
|
+
loanTerm?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @type {string}
|
|
1490
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1491
|
+
*/
|
|
1492
|
+
collateralCoin?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1497
|
+
*/
|
|
1498
|
+
initialCollateralAmount?: string;
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @type {number}
|
|
1502
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1503
|
+
*/
|
|
1504
|
+
borrowTime?: number;
|
|
1505
|
+
/**
|
|
1506
|
+
*
|
|
1507
|
+
* @type {string}
|
|
1508
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1509
|
+
*/
|
|
1510
|
+
status?: string;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Binance Public Crypto Loan REST API
|
|
1515
|
+
*
|
|
1516
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1517
|
+
*
|
|
1518
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1519
|
+
*
|
|
1520
|
+
*
|
|
1521
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1522
|
+
* https://openapi-generator.tech
|
|
1523
|
+
* Do not edit the class manually.
|
|
1524
|
+
*/
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @export
|
|
1529
|
+
* @interface GetLoanBorrowHistoryResponse
|
|
1530
|
+
*/
|
|
1531
|
+
interface GetLoanBorrowHistoryResponse {
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
|
|
1535
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
1536
|
+
*/
|
|
1537
|
+
rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @type {number}
|
|
1541
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
1542
|
+
*/
|
|
1543
|
+
total?: number;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Binance Public Crypto Loan REST API
|
|
1548
|
+
*
|
|
1549
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1550
|
+
*
|
|
1551
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1552
|
+
*
|
|
1553
|
+
*
|
|
1554
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1555
|
+
* https://openapi-generator.tech
|
|
1556
|
+
* Do not edit the class manually.
|
|
1557
|
+
*/
|
|
1558
|
+
/**
|
|
1559
|
+
*
|
|
1560
|
+
* @export
|
|
1561
|
+
* @interface GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1562
|
+
*/
|
|
1563
|
+
interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* @type {string}
|
|
1567
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1568
|
+
*/
|
|
1569
|
+
loanCoin?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
*
|
|
1572
|
+
* @type {string}
|
|
1573
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1574
|
+
*/
|
|
1575
|
+
collateralCoin?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
*
|
|
1578
|
+
* @type {string}
|
|
1579
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1580
|
+
*/
|
|
1581
|
+
direction?: string;
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1586
|
+
*/
|
|
1587
|
+
amount?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
*
|
|
1590
|
+
* @type {string}
|
|
1591
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1592
|
+
*/
|
|
1593
|
+
preLTV?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
*
|
|
1596
|
+
* @type {string}
|
|
1597
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1598
|
+
*/
|
|
1599
|
+
afterLTV?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
*
|
|
1602
|
+
* @type {number}
|
|
1603
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1604
|
+
*/
|
|
1605
|
+
adjustTime?: number;
|
|
1606
|
+
/**
|
|
1607
|
+
*
|
|
1608
|
+
* @type {number}
|
|
1609
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1610
|
+
*/
|
|
1611
|
+
orderId?: number;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Binance Public Crypto Loan REST API
|
|
1616
|
+
*
|
|
1617
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1618
|
+
*
|
|
1619
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1620
|
+
*
|
|
1621
|
+
*
|
|
1622
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1623
|
+
* https://openapi-generator.tech
|
|
1624
|
+
* Do not edit the class manually.
|
|
1625
|
+
*/
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @export
|
|
1630
|
+
* @interface GetLoanLtvAdjustmentHistoryResponse
|
|
1631
|
+
*/
|
|
1632
|
+
interface GetLoanLtvAdjustmentHistoryResponse {
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @type {Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>}
|
|
1636
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1637
|
+
*/
|
|
1638
|
+
rows?: Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>;
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @type {number}
|
|
1642
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1643
|
+
*/
|
|
1644
|
+
total?: number;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Binance Public Crypto Loan REST API
|
|
1649
|
+
*
|
|
1650
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1651
|
+
*
|
|
1652
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1653
|
+
*
|
|
1654
|
+
*
|
|
1655
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1656
|
+
* https://openapi-generator.tech
|
|
1657
|
+
* Do not edit the class manually.
|
|
1658
|
+
*/
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @export
|
|
1662
|
+
* @interface GetLoanOngoingOrdersResponseRowsInner
|
|
1663
|
+
*/
|
|
1664
|
+
interface GetLoanOngoingOrdersResponseRowsInner {
|
|
1665
|
+
/**
|
|
1666
|
+
*
|
|
1667
|
+
* @type {number}
|
|
1668
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1669
|
+
*/
|
|
1670
|
+
orderId?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
*
|
|
1673
|
+
* @type {string}
|
|
1674
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1675
|
+
*/
|
|
1676
|
+
loanCoin?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
*
|
|
1679
|
+
* @type {string}
|
|
1680
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1681
|
+
*/
|
|
1682
|
+
totalDebt?: string;
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @type {string}
|
|
1686
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1687
|
+
*/
|
|
1688
|
+
residualInterest?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
*
|
|
1691
|
+
* @type {string}
|
|
1692
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1693
|
+
*/
|
|
1694
|
+
collateralCoin?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
*
|
|
1697
|
+
* @type {string}
|
|
1698
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1699
|
+
*/
|
|
1700
|
+
collateralAmount?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
*
|
|
1703
|
+
* @type {string}
|
|
1704
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1705
|
+
*/
|
|
1706
|
+
currentLTV?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @type {number}
|
|
1710
|
+
* @memberof GetLoanOngoingOrdersResponseRowsInner
|
|
1711
|
+
*/
|
|
1712
|
+
expirationTime?: number;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* Binance Public Crypto Loan REST API
|
|
1717
|
+
*
|
|
1718
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1719
|
+
*
|
|
1720
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1721
|
+
*
|
|
1722
|
+
*
|
|
1723
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1724
|
+
* https://openapi-generator.tech
|
|
1725
|
+
* Do not edit the class manually.
|
|
1726
|
+
*/
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
*
|
|
1730
|
+
* @export
|
|
1731
|
+
* @interface GetLoanOngoingOrdersResponse
|
|
1732
|
+
*/
|
|
1733
|
+
interface GetLoanOngoingOrdersResponse {
|
|
1734
|
+
/**
|
|
1735
|
+
*
|
|
1736
|
+
* @type {Array<GetLoanOngoingOrdersResponseRowsInner>}
|
|
1737
|
+
* @memberof GetLoanOngoingOrdersResponse
|
|
1738
|
+
*/
|
|
1739
|
+
rows?: Array<GetLoanOngoingOrdersResponseRowsInner>;
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @type {number}
|
|
1743
|
+
* @memberof GetLoanOngoingOrdersResponse
|
|
1744
|
+
*/
|
|
1745
|
+
total?: number;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Binance Public Crypto Loan REST API
|
|
1750
|
+
*
|
|
1751
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1752
|
+
*
|
|
1753
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1754
|
+
*
|
|
1755
|
+
*
|
|
1756
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1757
|
+
* https://openapi-generator.tech
|
|
1758
|
+
* Do not edit the class manually.
|
|
1759
|
+
*/
|
|
1760
|
+
/**
|
|
1761
|
+
*
|
|
1762
|
+
* @export
|
|
1763
|
+
* @interface GetLoanRepaymentHistoryResponseRowsInner
|
|
1764
|
+
*/
|
|
1765
|
+
interface GetLoanRepaymentHistoryResponseRowsInner {
|
|
1766
|
+
/**
|
|
1767
|
+
*
|
|
1768
|
+
* @type {string}
|
|
1769
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1770
|
+
*/
|
|
1771
|
+
loanCoin?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
*
|
|
1774
|
+
* @type {string}
|
|
1775
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1776
|
+
*/
|
|
1777
|
+
repayAmount?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
*
|
|
1780
|
+
* @type {string}
|
|
1781
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1782
|
+
*/
|
|
1783
|
+
collateralCoin?: string;
|
|
1784
|
+
/**
|
|
1785
|
+
*
|
|
1786
|
+
* @type {string}
|
|
1787
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1788
|
+
*/
|
|
1789
|
+
collateralUsed?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
*
|
|
1792
|
+
* @type {string}
|
|
1793
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1794
|
+
*/
|
|
1795
|
+
collateralReturn?: string;
|
|
1796
|
+
/**
|
|
1797
|
+
*
|
|
1798
|
+
* @type {string}
|
|
1799
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1800
|
+
*/
|
|
1801
|
+
repayType?: string;
|
|
1802
|
+
/**
|
|
1803
|
+
*
|
|
1804
|
+
* @type {string}
|
|
1805
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1806
|
+
*/
|
|
1807
|
+
repayStatus?: string;
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @type {number}
|
|
1811
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1812
|
+
*/
|
|
1813
|
+
repayTime?: number;
|
|
1814
|
+
/**
|
|
1815
|
+
*
|
|
1816
|
+
* @type {number}
|
|
1817
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1818
|
+
*/
|
|
1819
|
+
orderId?: number;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Binance Public Crypto Loan REST API
|
|
1824
|
+
*
|
|
1825
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1826
|
+
*
|
|
1827
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1828
|
+
*
|
|
1829
|
+
*
|
|
1830
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1831
|
+
* https://openapi-generator.tech
|
|
1832
|
+
* Do not edit the class manually.
|
|
1833
|
+
*/
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @export
|
|
1838
|
+
* @interface GetLoanRepaymentHistoryResponse
|
|
1839
|
+
*/
|
|
1840
|
+
interface GetLoanRepaymentHistoryResponse {
|
|
1841
|
+
/**
|
|
1842
|
+
*
|
|
1843
|
+
* @type {Array<GetLoanRepaymentHistoryResponseRowsInner>}
|
|
1844
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1845
|
+
*/
|
|
1846
|
+
rows?: Array<GetLoanRepaymentHistoryResponseRowsInner>;
|
|
1847
|
+
/**
|
|
1848
|
+
*
|
|
1849
|
+
* @type {number}
|
|
1850
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1851
|
+
*/
|
|
1852
|
+
total?: number;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* Binance Public Crypto Loan REST API
|
|
1857
|
+
*
|
|
1858
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1859
|
+
*
|
|
1860
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1861
|
+
*
|
|
1862
|
+
*
|
|
1863
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1864
|
+
* https://openapi-generator.tech
|
|
1865
|
+
* Do not edit the class manually.
|
|
1866
|
+
*/
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @export
|
|
1870
|
+
* @interface GetLoanableAssetsDataResponseRowsInner
|
|
1871
|
+
*/
|
|
1872
|
+
interface GetLoanableAssetsDataResponseRowsInner {
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1877
|
+
*/
|
|
1878
|
+
loanCoin?: string;
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @type {string}
|
|
1882
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1883
|
+
*/
|
|
1884
|
+
_7dHourlyInterestRate?: string;
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1889
|
+
*/
|
|
1890
|
+
_7dDailyInterestRate?: string;
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1895
|
+
*/
|
|
1896
|
+
_14dHourlyInterestRate?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1901
|
+
*/
|
|
1902
|
+
_14dDailyInterestRate?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1907
|
+
*/
|
|
1908
|
+
_30dHourlyInterestRate?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
*
|
|
1911
|
+
* @type {string}
|
|
1912
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1913
|
+
*/
|
|
1914
|
+
_30dDailyInterestRate?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
*
|
|
1917
|
+
* @type {string}
|
|
1918
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1919
|
+
*/
|
|
1920
|
+
_90dHourlyInterestRate?: string;
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @type {string}
|
|
1924
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1925
|
+
*/
|
|
1926
|
+
_90dDailyInterestRate?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* @type {string}
|
|
1930
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1931
|
+
*/
|
|
1932
|
+
_180dHourlyInterestRate?: string;
|
|
1933
|
+
/**
|
|
1934
|
+
*
|
|
1935
|
+
* @type {string}
|
|
1936
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1937
|
+
*/
|
|
1938
|
+
_180dDailyInterestRate?: string;
|
|
1939
|
+
/**
|
|
1940
|
+
*
|
|
1941
|
+
* @type {string}
|
|
1942
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1943
|
+
*/
|
|
1944
|
+
minLimit?: string;
|
|
1945
|
+
/**
|
|
1946
|
+
*
|
|
1947
|
+
* @type {string}
|
|
1948
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1949
|
+
*/
|
|
1950
|
+
maxLimit?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
*
|
|
1953
|
+
* @type {number}
|
|
1954
|
+
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1955
|
+
*/
|
|
1956
|
+
vipLevel?: number;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* Binance Public Crypto Loan REST API
|
|
1961
|
+
*
|
|
1962
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1963
|
+
*
|
|
1964
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1965
|
+
*
|
|
1966
|
+
*
|
|
1967
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1968
|
+
* https://openapi-generator.tech
|
|
1969
|
+
* Do not edit the class manually.
|
|
1970
|
+
*/
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
* @export
|
|
1975
|
+
* @interface GetLoanableAssetsDataResponse
|
|
1976
|
+
*/
|
|
1977
|
+
interface GetLoanableAssetsDataResponse {
|
|
1978
|
+
/**
|
|
1979
|
+
*
|
|
1980
|
+
* @type {Array<GetLoanableAssetsDataResponseRowsInner>}
|
|
1981
|
+
* @memberof GetLoanableAssetsDataResponse
|
|
1982
|
+
*/
|
|
1983
|
+
rows?: Array<GetLoanableAssetsDataResponseRowsInner>;
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @type {number}
|
|
1987
|
+
* @memberof GetLoanableAssetsDataResponse
|
|
1988
|
+
*/
|
|
1989
|
+
total?: number;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Binance Public Crypto Loan REST API
|
|
1994
|
+
*
|
|
1995
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
1996
|
+
*
|
|
1997
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1998
|
+
*
|
|
1999
|
+
*
|
|
2000
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2001
|
+
* https://openapi-generator.tech
|
|
2002
|
+
* Do not edit the class manually.
|
|
2003
|
+
*/
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* FlexibleRateApi - interface
|
|
2007
|
+
* @interface FlexibleRateApi
|
|
2008
|
+
*/
|
|
2009
|
+
interface FlexibleRateApiInterface {
|
|
2010
|
+
/**
|
|
2011
|
+
*
|
|
2012
|
+
* Weight: 6000
|
|
2013
|
+
*
|
|
2014
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
2015
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
2016
|
+
*
|
|
2017
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2018
|
+
* @memberof FlexibleRateApiInterface
|
|
2019
|
+
*/
|
|
2020
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Flexible Loan Adjust LTV
|
|
2023
|
+
*
|
|
2024
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
2025
|
+
*
|
|
2026
|
+
* Weight: 6000
|
|
2027
|
+
*
|
|
2028
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
2029
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
2030
|
+
*
|
|
2031
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2032
|
+
* @memberof FlexibleRateApiInterface
|
|
2033
|
+
*/
|
|
2034
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
2035
|
+
/**
|
|
2036
|
+
* Borrow Flexible Loan
|
|
2037
|
+
*
|
|
2038
|
+
*
|
|
2039
|
+
* Only available for master account
|
|
2040
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
2041
|
+
*
|
|
2042
|
+
* Weight: 6000
|
|
2043
|
+
*
|
|
2044
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
2045
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
2046
|
+
*
|
|
2047
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2048
|
+
* @memberof FlexibleRateApiInterface
|
|
2049
|
+
*/
|
|
2050
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
2051
|
+
/**
|
|
2052
|
+
*
|
|
2053
|
+
* Weight: 6000
|
|
2054
|
+
*
|
|
2055
|
+
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
2056
|
+
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
2057
|
+
*
|
|
2058
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2059
|
+
* @memberof FlexibleRateApiInterface
|
|
2060
|
+
*/
|
|
2061
|
+
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Flexible Loan Repay
|
|
2064
|
+
*
|
|
2065
|
+
*
|
|
2066
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
2067
|
+
*
|
|
2068
|
+
* Weight: 6000
|
|
2069
|
+
*
|
|
2070
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
2071
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
2072
|
+
*
|
|
2073
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2074
|
+
* @memberof FlexibleRateApiInterface
|
|
2075
|
+
*/
|
|
2076
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
2077
|
+
/**
|
|
2078
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
2079
|
+
*
|
|
2080
|
+
* Weight: 400
|
|
2081
|
+
*
|
|
2082
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
2083
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
2084
|
+
*
|
|
2085
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2086
|
+
* @memberof FlexibleRateApiInterface
|
|
2087
|
+
*/
|
|
2088
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
2089
|
+
/**
|
|
2090
|
+
* Get Flexible Loan Borrow History
|
|
2091
|
+
*
|
|
2092
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2093
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2094
|
+
*
|
|
2095
|
+
* Weight: 400
|
|
2096
|
+
*
|
|
2097
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
2098
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2099
|
+
*
|
|
2100
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2101
|
+
* @memberof FlexibleRateApiInterface
|
|
2102
|
+
*/
|
|
2103
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
2104
|
+
/**
|
|
2105
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
2106
|
+
*
|
|
2107
|
+
* Weight: 400
|
|
2108
|
+
*
|
|
2109
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
2110
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
2111
|
+
*
|
|
2112
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2113
|
+
* @memberof FlexibleRateApiInterface
|
|
2114
|
+
*/
|
|
2115
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
2116
|
+
/**
|
|
2117
|
+
*
|
|
2118
|
+
* Weight: 400
|
|
2119
|
+
*
|
|
2120
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
2121
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
2122
|
+
*
|
|
2123
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2124
|
+
* @memberof FlexibleRateApiInterface
|
|
2125
|
+
*/
|
|
2126
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
2127
|
+
/**
|
|
2128
|
+
* Get Flexible Loan LTV Adjustment History
|
|
2129
|
+
*
|
|
2130
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2131
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2132
|
+
*
|
|
2133
|
+
* Weight: 400
|
|
2134
|
+
*
|
|
2135
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
2136
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2137
|
+
*
|
|
2138
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2139
|
+
* @memberof FlexibleRateApiInterface
|
|
2140
|
+
*/
|
|
2141
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
2142
|
+
/**
|
|
2143
|
+
* Get Flexible Loan Ongoing Orders
|
|
2144
|
+
*
|
|
2145
|
+
* Weight: 300
|
|
2146
|
+
*
|
|
2147
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
2148
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
2149
|
+
*
|
|
2150
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2151
|
+
* @memberof FlexibleRateApiInterface
|
|
2152
|
+
*/
|
|
2153
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
2154
|
+
/**
|
|
2155
|
+
* Get Flexible Loan Repayment History
|
|
2156
|
+
*
|
|
2157
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2158
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2159
|
+
*
|
|
2160
|
+
* Weight: 400
|
|
2161
|
+
*
|
|
2162
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
2163
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2164
|
+
*
|
|
2165
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2166
|
+
* @memberof FlexibleRateApiInterface
|
|
2167
|
+
*/
|
|
2168
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
2169
|
+
}
|
|
2170
|
+
/**
|
|
2171
|
+
* Request parameters for checkCollateralRepayRate operation in FlexibleRateApi.
|
|
2172
|
+
* @interface CheckCollateralRepayRateRequest
|
|
2173
|
+
*/
|
|
2174
|
+
interface CheckCollateralRepayRateRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
*
|
|
2177
|
+
* @type {string}
|
|
2178
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
2179
|
+
*/
|
|
2180
|
+
readonly loanCoin: string;
|
|
2181
|
+
/**
|
|
2182
|
+
*
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
2185
|
+
*/
|
|
2186
|
+
readonly collateralCoin: string;
|
|
2187
|
+
/**
|
|
2188
|
+
*
|
|
2189
|
+
* @type {number}
|
|
2190
|
+
* @memberof FlexibleRateApiCheckCollateralRepayRate
|
|
2191
|
+
*/
|
|
2192
|
+
readonly recvWindow?: number;
|
|
2193
|
+
}
|
|
2194
|
+
/**
|
|
2195
|
+
* Request parameters for flexibleLoanAdjustLtv operation in FlexibleRateApi.
|
|
2196
|
+
* @interface FlexibleLoanAdjustLtvRequest
|
|
2197
|
+
*/
|
|
2198
|
+
interface FlexibleLoanAdjustLtvRequest {
|
|
2199
|
+
/**
|
|
2200
|
+
*
|
|
2201
|
+
* @type {string}
|
|
2202
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
2203
|
+
*/
|
|
2204
|
+
readonly loanCoin: string;
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @type {string}
|
|
2208
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
2209
|
+
*/
|
|
2210
|
+
readonly collateralCoin: string;
|
|
2211
|
+
/**
|
|
2212
|
+
*
|
|
2213
|
+
* @type {number}
|
|
2214
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
2215
|
+
*/
|
|
2216
|
+
readonly adjustmentAmount: number;
|
|
2217
|
+
/**
|
|
2218
|
+
* "ADDITIONAL", "REDUCED"
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
2221
|
+
*/
|
|
2222
|
+
readonly direction: string;
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {number}
|
|
2226
|
+
* @memberof FlexibleRateApiFlexibleLoanAdjustLtv
|
|
2227
|
+
*/
|
|
2228
|
+
readonly recvWindow?: number;
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* Request parameters for flexibleLoanBorrow operation in FlexibleRateApi.
|
|
2232
|
+
* @interface FlexibleLoanBorrowRequest
|
|
2233
|
+
*/
|
|
2234
|
+
interface FlexibleLoanBorrowRequest {
|
|
2235
|
+
/**
|
|
2236
|
+
*
|
|
2237
|
+
* @type {string}
|
|
2238
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
2239
|
+
*/
|
|
2240
|
+
readonly loanCoin: string;
|
|
2241
|
+
/**
|
|
2242
|
+
*
|
|
2243
|
+
* @type {string}
|
|
2244
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
2245
|
+
*/
|
|
2246
|
+
readonly collateralCoin: string;
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @type {number}
|
|
2250
|
+
* @memberof FlexibleRateApiFlexibleLoanBorrow
|
|
2251
|
+
*/
|
|
2252
|
+
readonly recvWindow?: number;
|
|
2253
|
+
}
|
|
2254
|
+
/**
|
|
2255
|
+
* Request parameters for flexibleLoanCollateralRepayment operation in FlexibleRateApi.
|
|
2256
|
+
* @interface FlexibleLoanCollateralRepaymentRequest
|
|
2257
|
+
*/
|
|
2258
|
+
interface FlexibleLoanCollateralRepaymentRequest {
|
|
2259
|
+
/**
|
|
2260
|
+
*
|
|
2261
|
+
* @type {string}
|
|
2262
|
+
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2263
|
+
*/
|
|
2264
|
+
readonly loanCoin: string;
|
|
2265
|
+
/**
|
|
2266
|
+
*
|
|
2267
|
+
* @type {string}
|
|
2268
|
+
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2269
|
+
*/
|
|
2270
|
+
readonly collateralCoin: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* repay amount of loanCoin
|
|
2273
|
+
* @type {number}
|
|
2274
|
+
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2275
|
+
*/
|
|
2276
|
+
readonly repayAmount: number;
|
|
2277
|
+
/**
|
|
2278
|
+
* Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
2279
|
+
* @type {boolean}
|
|
2280
|
+
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2281
|
+
*/
|
|
2282
|
+
readonly fullRepayment?: boolean;
|
|
2283
|
+
/**
|
|
2284
|
+
*
|
|
2285
|
+
* @type {number}
|
|
2286
|
+
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2287
|
+
*/
|
|
2288
|
+
readonly recvWindow?: number;
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* Request parameters for flexibleLoanRepay operation in FlexibleRateApi.
|
|
2292
|
+
* @interface FlexibleLoanRepayRequest
|
|
2293
|
+
*/
|
|
2294
|
+
interface FlexibleLoanRepayRequest {
|
|
2295
|
+
/**
|
|
2296
|
+
*
|
|
2297
|
+
* @type {string}
|
|
2298
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2299
|
+
*/
|
|
2300
|
+
readonly loanCoin: string;
|
|
2301
|
+
/**
|
|
2302
|
+
*
|
|
2303
|
+
* @type {string}
|
|
2304
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2305
|
+
*/
|
|
2306
|
+
readonly collateralCoin: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* repay amount of loanCoin
|
|
2309
|
+
* @type {number}
|
|
2310
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2311
|
+
*/
|
|
2312
|
+
readonly repayAmount: number;
|
|
2313
|
+
/**
|
|
2314
|
+
* Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
2315
|
+
* @type {boolean}
|
|
2316
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2317
|
+
*/
|
|
2318
|
+
readonly collateralReturn?: boolean;
|
|
2319
|
+
/**
|
|
2320
|
+
* Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
2321
|
+
* @type {boolean}
|
|
2322
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2323
|
+
*/
|
|
2324
|
+
readonly fullRepayment?: boolean;
|
|
2325
|
+
/**
|
|
2326
|
+
*
|
|
2327
|
+
* @type {number}
|
|
2328
|
+
* @memberof FlexibleRateApiFlexibleLoanRepay
|
|
2329
|
+
*/
|
|
2330
|
+
readonly recvWindow?: number;
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* Request parameters for getFlexibleLoanAssetsData operation in FlexibleRateApi.
|
|
2334
|
+
* @interface GetFlexibleLoanAssetsDataRequest
|
|
2335
|
+
*/
|
|
2336
|
+
interface GetFlexibleLoanAssetsDataRequest {
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @type {string}
|
|
2340
|
+
* @memberof FlexibleRateApiGetFlexibleLoanAssetsData
|
|
2341
|
+
*/
|
|
2342
|
+
readonly loanCoin?: string;
|
|
2343
|
+
/**
|
|
2344
|
+
*
|
|
2345
|
+
* @type {number}
|
|
2346
|
+
* @memberof FlexibleRateApiGetFlexibleLoanAssetsData
|
|
2347
|
+
*/
|
|
2348
|
+
readonly recvWindow?: number;
|
|
2349
|
+
}
|
|
2350
|
+
/**
|
|
2351
|
+
* Request parameters for getFlexibleLoanBorrowHistory operation in FlexibleRateApi.
|
|
2352
|
+
* @interface GetFlexibleLoanBorrowHistoryRequest
|
|
2353
|
+
*/
|
|
2354
|
+
interface GetFlexibleLoanBorrowHistoryRequest {
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @type {string}
|
|
2358
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2359
|
+
*/
|
|
2360
|
+
readonly loanCoin?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {string}
|
|
2364
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2365
|
+
*/
|
|
2366
|
+
readonly collateralCoin?: string;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {number}
|
|
2370
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2371
|
+
*/
|
|
2372
|
+
readonly startTime?: number;
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {number}
|
|
2376
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2377
|
+
*/
|
|
2378
|
+
readonly endTime?: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2381
|
+
* @type {number}
|
|
2382
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2383
|
+
*/
|
|
2384
|
+
readonly current?: number;
|
|
2385
|
+
/**
|
|
2386
|
+
* Default: 10; max: 100
|
|
2387
|
+
* @type {number}
|
|
2388
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2389
|
+
*/
|
|
2390
|
+
readonly limit?: number;
|
|
2391
|
+
/**
|
|
2392
|
+
*
|
|
2393
|
+
* @type {number}
|
|
2394
|
+
* @memberof FlexibleRateApiGetFlexibleLoanBorrowHistory
|
|
2395
|
+
*/
|
|
2396
|
+
readonly recvWindow?: number;
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* Request parameters for getFlexibleLoanCollateralAssetsData operation in FlexibleRateApi.
|
|
2400
|
+
* @interface GetFlexibleLoanCollateralAssetsDataRequest
|
|
2401
|
+
*/
|
|
2402
|
+
interface GetFlexibleLoanCollateralAssetsDataRequest {
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @type {string}
|
|
2406
|
+
* @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
|
|
2407
|
+
*/
|
|
2408
|
+
readonly collateralCoin?: string;
|
|
2409
|
+
/**
|
|
2410
|
+
*
|
|
2411
|
+
* @type {number}
|
|
2412
|
+
* @memberof FlexibleRateApiGetFlexibleLoanCollateralAssetsData
|
|
2413
|
+
*/
|
|
2414
|
+
readonly recvWindow?: number;
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2417
|
+
* Request parameters for getFlexibleLoanLiquidationHistory operation in FlexibleRateApi.
|
|
2418
|
+
* @interface GetFlexibleLoanLiquidationHistoryRequest
|
|
2419
|
+
*/
|
|
2420
|
+
interface GetFlexibleLoanLiquidationHistoryRequest {
|
|
2421
|
+
/**
|
|
2422
|
+
*
|
|
2423
|
+
* @type {string}
|
|
2424
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2425
|
+
*/
|
|
2426
|
+
readonly loanCoin?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @type {string}
|
|
2430
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2431
|
+
*/
|
|
2432
|
+
readonly collateralCoin?: string;
|
|
2433
|
+
/**
|
|
2434
|
+
*
|
|
2435
|
+
* @type {number}
|
|
2436
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2437
|
+
*/
|
|
2438
|
+
readonly startTime?: number;
|
|
2439
|
+
/**
|
|
2440
|
+
*
|
|
2441
|
+
* @type {number}
|
|
2442
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2443
|
+
*/
|
|
2444
|
+
readonly endTime?: number;
|
|
2445
|
+
/**
|
|
2446
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2447
|
+
* @type {number}
|
|
2448
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2449
|
+
*/
|
|
2450
|
+
readonly current?: number;
|
|
2451
|
+
/**
|
|
2452
|
+
* Default: 10; max: 100
|
|
2453
|
+
* @type {number}
|
|
2454
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2455
|
+
*/
|
|
2456
|
+
readonly limit?: number;
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @type {number}
|
|
2460
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLiquidationHistory
|
|
2461
|
+
*/
|
|
2462
|
+
readonly recvWindow?: number;
|
|
2463
|
+
}
|
|
2464
|
+
/**
|
|
2465
|
+
* Request parameters for getFlexibleLoanLtvAdjustmentHistory operation in FlexibleRateApi.
|
|
2466
|
+
* @interface GetFlexibleLoanLtvAdjustmentHistoryRequest
|
|
2467
|
+
*/
|
|
2468
|
+
interface GetFlexibleLoanLtvAdjustmentHistoryRequest {
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2473
|
+
*/
|
|
2474
|
+
readonly loanCoin?: string;
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @type {string}
|
|
2478
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2479
|
+
*/
|
|
2480
|
+
readonly collateralCoin?: string;
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {number}
|
|
2484
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2485
|
+
*/
|
|
2486
|
+
readonly startTime?: number;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @type {number}
|
|
2490
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2491
|
+
*/
|
|
2492
|
+
readonly endTime?: number;
|
|
2493
|
+
/**
|
|
2494
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2495
|
+
* @type {number}
|
|
2496
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2497
|
+
*/
|
|
2498
|
+
readonly current?: number;
|
|
2499
|
+
/**
|
|
2500
|
+
* Default: 10; max: 100
|
|
2501
|
+
* @type {number}
|
|
2502
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2503
|
+
*/
|
|
2504
|
+
readonly limit?: number;
|
|
2505
|
+
/**
|
|
2506
|
+
*
|
|
2507
|
+
* @type {number}
|
|
2508
|
+
* @memberof FlexibleRateApiGetFlexibleLoanLtvAdjustmentHistory
|
|
2509
|
+
*/
|
|
2510
|
+
readonly recvWindow?: number;
|
|
2511
|
+
}
|
|
2512
|
+
/**
|
|
2513
|
+
* Request parameters for getFlexibleLoanOngoingOrders operation in FlexibleRateApi.
|
|
2514
|
+
* @interface GetFlexibleLoanOngoingOrdersRequest
|
|
2515
|
+
*/
|
|
2516
|
+
interface GetFlexibleLoanOngoingOrdersRequest {
|
|
2517
|
+
/**
|
|
2518
|
+
*
|
|
2519
|
+
* @type {string}
|
|
2520
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
2521
|
+
*/
|
|
2522
|
+
readonly loanCoin?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
*
|
|
2525
|
+
* @type {string}
|
|
2526
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
2527
|
+
*/
|
|
2528
|
+
readonly collateralCoin?: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2531
|
+
* @type {number}
|
|
2532
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
2533
|
+
*/
|
|
2534
|
+
readonly current?: number;
|
|
2535
|
+
/**
|
|
2536
|
+
* Default: 10; max: 100
|
|
2537
|
+
* @type {number}
|
|
2538
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
2539
|
+
*/
|
|
2540
|
+
readonly limit?: number;
|
|
2541
|
+
/**
|
|
2542
|
+
*
|
|
2543
|
+
* @type {number}
|
|
2544
|
+
* @memberof FlexibleRateApiGetFlexibleLoanOngoingOrders
|
|
2545
|
+
*/
|
|
2546
|
+
readonly recvWindow?: number;
|
|
2547
|
+
}
|
|
2548
|
+
/**
|
|
2549
|
+
* Request parameters for getFlexibleLoanRepaymentHistory operation in FlexibleRateApi.
|
|
2550
|
+
* @interface GetFlexibleLoanRepaymentHistoryRequest
|
|
2551
|
+
*/
|
|
2552
|
+
interface GetFlexibleLoanRepaymentHistoryRequest {
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @type {string}
|
|
2556
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2557
|
+
*/
|
|
2558
|
+
readonly loanCoin?: string;
|
|
2559
|
+
/**
|
|
2560
|
+
*
|
|
2561
|
+
* @type {string}
|
|
2562
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2563
|
+
*/
|
|
2564
|
+
readonly collateralCoin?: string;
|
|
2565
|
+
/**
|
|
2566
|
+
*
|
|
2567
|
+
* @type {number}
|
|
2568
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2569
|
+
*/
|
|
2570
|
+
readonly startTime?: number;
|
|
2571
|
+
/**
|
|
2572
|
+
*
|
|
2573
|
+
* @type {number}
|
|
2574
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2575
|
+
*/
|
|
2576
|
+
readonly endTime?: number;
|
|
2577
|
+
/**
|
|
2578
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
2579
|
+
* @type {number}
|
|
2580
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2581
|
+
*/
|
|
2582
|
+
readonly current?: number;
|
|
2583
|
+
/**
|
|
2584
|
+
* Default: 10; max: 100
|
|
2585
|
+
* @type {number}
|
|
2586
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2587
|
+
*/
|
|
2588
|
+
readonly limit?: number;
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @type {number}
|
|
2592
|
+
* @memberof FlexibleRateApiGetFlexibleLoanRepaymentHistory
|
|
2593
|
+
*/
|
|
2594
|
+
readonly recvWindow?: number;
|
|
2595
|
+
}
|
|
2596
|
+
/**
|
|
2597
|
+
* FlexibleRateApi - object-oriented interface
|
|
2598
|
+
* @class FlexibleRateApi
|
|
2599
|
+
*/
|
|
2600
|
+
declare class FlexibleRateApi implements FlexibleRateApiInterface {
|
|
2601
|
+
private readonly configuration;
|
|
2602
|
+
private localVarAxiosParamCreator;
|
|
2603
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
2604
|
+
/**
|
|
2605
|
+
*
|
|
2606
|
+
* Weight: 6000
|
|
2607
|
+
*
|
|
2608
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
2609
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
2610
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
2611
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2612
|
+
* @memberof FlexibleRateApi
|
|
2613
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
2614
|
+
*/
|
|
2615
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
2616
|
+
/**
|
|
2617
|
+
* Flexible Loan Adjust LTV
|
|
2618
|
+
*
|
|
2619
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
2620
|
+
*
|
|
2621
|
+
* Weight: 6000
|
|
2622
|
+
*
|
|
2623
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
2624
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
2625
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
2626
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2627
|
+
* @memberof FlexibleRateApi
|
|
2628
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
2629
|
+
*/
|
|
2630
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
2631
|
+
/**
|
|
2632
|
+
* Borrow Flexible Loan
|
|
2633
|
+
*
|
|
2634
|
+
*
|
|
2635
|
+
* Only available for master account
|
|
2636
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
2637
|
+
*
|
|
2638
|
+
* Weight: 6000
|
|
2639
|
+
*
|
|
2640
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
2641
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
2642
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
2643
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2644
|
+
* @memberof FlexibleRateApi
|
|
2645
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
2646
|
+
*/
|
|
2647
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
2648
|
+
/**
|
|
2649
|
+
*
|
|
2650
|
+
* Weight: 6000
|
|
2651
|
+
*
|
|
2652
|
+
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
2653
|
+
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
2654
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>}
|
|
2655
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2656
|
+
* @memberof FlexibleRateApi
|
|
2657
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Collateral-Repay Binance API Documentation}
|
|
2658
|
+
*/
|
|
2659
|
+
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
2660
|
+
/**
|
|
2661
|
+
* Flexible Loan Repay
|
|
2662
|
+
*
|
|
2663
|
+
*
|
|
2664
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
2665
|
+
*
|
|
2666
|
+
* Weight: 6000
|
|
2667
|
+
*
|
|
2668
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
2669
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
2670
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
2671
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2672
|
+
* @memberof FlexibleRateApi
|
|
2673
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
2674
|
+
*/
|
|
2675
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
2676
|
+
/**
|
|
2677
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
2678
|
+
*
|
|
2679
|
+
* Weight: 400
|
|
2680
|
+
*
|
|
2681
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
2682
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
2683
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
2684
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2685
|
+
* @memberof FlexibleRateApi
|
|
2686
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
2687
|
+
*/
|
|
2688
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
2689
|
+
/**
|
|
2690
|
+
* Get Flexible Loan Borrow History
|
|
2691
|
+
*
|
|
2692
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2693
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2694
|
+
*
|
|
2695
|
+
* Weight: 400
|
|
2696
|
+
*
|
|
2697
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
2698
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2699
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
2700
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2701
|
+
* @memberof FlexibleRateApi
|
|
2702
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
2703
|
+
*/
|
|
2704
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
2705
|
+
/**
|
|
2706
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
2707
|
+
*
|
|
2708
|
+
* Weight: 400
|
|
2709
|
+
*
|
|
2710
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
2711
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
2712
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
2713
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2714
|
+
* @memberof FlexibleRateApi
|
|
2715
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
2716
|
+
*/
|
|
2717
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
2718
|
+
/**
|
|
2719
|
+
*
|
|
2720
|
+
* Weight: 400
|
|
2721
|
+
*
|
|
2722
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
2723
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
2724
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
2725
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2726
|
+
* @memberof FlexibleRateApi
|
|
2727
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
2728
|
+
*/
|
|
2729
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
2730
|
+
/**
|
|
2731
|
+
* Get Flexible Loan LTV Adjustment History
|
|
2732
|
+
*
|
|
2733
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2734
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2735
|
+
*
|
|
2736
|
+
* Weight: 400
|
|
2737
|
+
*
|
|
2738
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
2739
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2740
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
2741
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2742
|
+
* @memberof FlexibleRateApi
|
|
2743
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
2744
|
+
*/
|
|
2745
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
2746
|
+
/**
|
|
2747
|
+
* Get Flexible Loan Ongoing Orders
|
|
2748
|
+
*
|
|
2749
|
+
* Weight: 300
|
|
2750
|
+
*
|
|
2751
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
2752
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
2753
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
2754
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2755
|
+
* @memberof FlexibleRateApi
|
|
2756
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
2757
|
+
*/
|
|
2758
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
2759
|
+
/**
|
|
2760
|
+
* Get Flexible Loan Repayment History
|
|
2761
|
+
*
|
|
2762
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2763
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2764
|
+
*
|
|
2765
|
+
* Weight: 400
|
|
2766
|
+
*
|
|
2767
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
2768
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2769
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
2770
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2771
|
+
* @memberof FlexibleRateApi
|
|
2772
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
2773
|
+
*/
|
|
2774
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* Binance Public Crypto Loan REST API
|
|
2779
|
+
*
|
|
2780
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
2781
|
+
*
|
|
2782
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2783
|
+
*
|
|
2784
|
+
*
|
|
2785
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2786
|
+
* https://openapi-generator.tech
|
|
2787
|
+
* Do not edit the class manually.
|
|
2788
|
+
*/
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* StableRateApi - interface
|
|
2792
|
+
* @interface StableRateApi
|
|
2793
|
+
*/
|
|
2794
|
+
interface StableRateApiInterface {
|
|
2795
|
+
/**
|
|
2796
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
2797
|
+
*
|
|
2798
|
+
* Weight: 6000
|
|
2799
|
+
*
|
|
2800
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
2801
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
2802
|
+
*
|
|
2803
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2804
|
+
* @memberof StableRateApiInterface
|
|
2805
|
+
*/
|
|
2806
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
2807
|
+
/**
|
|
2808
|
+
* Crypto Loan Adjust LTV
|
|
2809
|
+
*
|
|
2810
|
+
* Weight: 6000
|
|
2811
|
+
*
|
|
2812
|
+
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
2813
|
+
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
2814
|
+
*
|
|
2815
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2816
|
+
* @memberof StableRateApiInterface
|
|
2817
|
+
*/
|
|
2818
|
+
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Crypto Loan Borrow
|
|
2821
|
+
*
|
|
2822
|
+
* Weight: 6000
|
|
2823
|
+
*
|
|
2824
|
+
* @summary Crypto Loan Borrow(TRADE)
|
|
2825
|
+
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
2826
|
+
*
|
|
2827
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2828
|
+
* @memberof StableRateApiInterface
|
|
2829
|
+
*/
|
|
2830
|
+
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
2831
|
+
/**
|
|
2832
|
+
* Customize Margin Call
|
|
2833
|
+
*
|
|
2834
|
+
* Weight: 6000
|
|
2835
|
+
*
|
|
2836
|
+
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
2837
|
+
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
2838
|
+
*
|
|
2839
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2840
|
+
* @memberof StableRateApiInterface
|
|
2841
|
+
*/
|
|
2842
|
+
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
2843
|
+
/**
|
|
2844
|
+
* Crypto Loan Repay
|
|
2845
|
+
*
|
|
2846
|
+
* Weight: 6000
|
|
2847
|
+
*
|
|
2848
|
+
* @summary Crypto Loan Repay(TRADE)
|
|
2849
|
+
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
2850
|
+
*
|
|
2851
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2852
|
+
* @memberof StableRateApiInterface
|
|
2853
|
+
*/
|
|
2854
|
+
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
2855
|
+
/**
|
|
2856
|
+
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
2857
|
+
*
|
|
2858
|
+
* Weight: 400
|
|
2859
|
+
*
|
|
2860
|
+
* @summary Get Collateral Assets Data(USER_DATA)
|
|
2861
|
+
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
2862
|
+
*
|
|
2863
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2864
|
+
* @memberof StableRateApiInterface
|
|
2865
|
+
*/
|
|
2866
|
+
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
2867
|
+
/**
|
|
2868
|
+
* Get Crypto Loans Income History
|
|
2869
|
+
*
|
|
2870
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
2871
|
+
* The max interval between startTime and endTime is 30 days.
|
|
2872
|
+
*
|
|
2873
|
+
* Weight: 6000
|
|
2874
|
+
*
|
|
2875
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
2876
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
2877
|
+
*
|
|
2878
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2879
|
+
* @memberof StableRateApiInterface
|
|
2880
|
+
*/
|
|
2881
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
2882
|
+
/**
|
|
2883
|
+
* Get Loan Borrow History
|
|
2884
|
+
*
|
|
2885
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2886
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2887
|
+
*
|
|
2888
|
+
* Weight: 400
|
|
2889
|
+
*
|
|
2890
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
2891
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
2892
|
+
*
|
|
2893
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2894
|
+
* @memberof StableRateApiInterface
|
|
2895
|
+
*/
|
|
2896
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
2897
|
+
/**
|
|
2898
|
+
* Get Loan LTV Adjustment History
|
|
2899
|
+
*
|
|
2900
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2901
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2902
|
+
*
|
|
2903
|
+
* Weight: 400
|
|
2904
|
+
*
|
|
2905
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
2906
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2907
|
+
*
|
|
2908
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2909
|
+
* @memberof StableRateApiInterface
|
|
2910
|
+
*/
|
|
2911
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
2912
|
+
/**
|
|
2913
|
+
* Get Loan Ongoing Orders
|
|
2914
|
+
*
|
|
2915
|
+
* Weight: 300
|
|
2916
|
+
*
|
|
2917
|
+
* @summary Get Loan Ongoing Orders(USER_DATA)
|
|
2918
|
+
* @param {GetLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
2919
|
+
*
|
|
2920
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2921
|
+
* @memberof StableRateApiInterface
|
|
2922
|
+
*/
|
|
2923
|
+
getLoanOngoingOrders(requestParameters?: GetLoanOngoingOrdersRequest): Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>;
|
|
2924
|
+
/**
|
|
2925
|
+
* Get Loan Repayment History
|
|
2926
|
+
*
|
|
2927
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2928
|
+
* The max interval between startTime and endTime is 180 days.
|
|
2929
|
+
*
|
|
2930
|
+
* Weight: 400
|
|
2931
|
+
*
|
|
2932
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
2933
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
2934
|
+
*
|
|
2935
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2936
|
+
* @memberof StableRateApiInterface
|
|
2937
|
+
*/
|
|
2938
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
2939
|
+
/**
|
|
2940
|
+
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
2941
|
+
*
|
|
2942
|
+
* Weight: 400
|
|
2943
|
+
*
|
|
2944
|
+
* @summary Get Loanable Assets Data(USER_DATA)
|
|
2945
|
+
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
2946
|
+
*
|
|
2947
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2948
|
+
* @memberof StableRateApiInterface
|
|
2949
|
+
*/
|
|
2950
|
+
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
2951
|
+
}
|
|
2952
|
+
/**
|
|
2953
|
+
* Request parameters for checkCollateralRepayRateStableRate operation in StableRateApi.
|
|
2954
|
+
* @interface CheckCollateralRepayRateStableRateRequest
|
|
2955
|
+
*/
|
|
2956
|
+
interface CheckCollateralRepayRateStableRateRequest {
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
2959
|
+
* @type {string}
|
|
2960
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
2961
|
+
*/
|
|
2962
|
+
readonly loanCoin: string;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @type {string}
|
|
2966
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
2967
|
+
*/
|
|
2968
|
+
readonly collateralCoin: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* repay amount of loanCoin
|
|
2971
|
+
* @type {number}
|
|
2972
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
2973
|
+
*/
|
|
2974
|
+
readonly repayAmount: number;
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {number}
|
|
2978
|
+
* @memberof StableRateApiCheckCollateralRepayRateStableRate
|
|
2979
|
+
*/
|
|
2980
|
+
readonly recvWindow?: number;
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Request parameters for cryptoLoanAdjustLtv operation in StableRateApi.
|
|
2984
|
+
* @interface CryptoLoanAdjustLtvRequest
|
|
2985
|
+
*/
|
|
2986
|
+
interface CryptoLoanAdjustLtvRequest {
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @type {number}
|
|
2990
|
+
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2991
|
+
*/
|
|
2992
|
+
readonly orderId: number;
|
|
2993
|
+
/**
|
|
2994
|
+
*
|
|
2995
|
+
* @type {number}
|
|
2996
|
+
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2997
|
+
*/
|
|
2998
|
+
readonly amount: number;
|
|
2999
|
+
/**
|
|
3000
|
+
* "ADDITIONAL", "REDUCED"
|
|
3001
|
+
* @type {string}
|
|
3002
|
+
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
3003
|
+
*/
|
|
3004
|
+
readonly direction: string;
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @type {number}
|
|
3008
|
+
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
3009
|
+
*/
|
|
3010
|
+
readonly recvWindow?: number;
|
|
3011
|
+
}
|
|
3012
|
+
/**
|
|
3013
|
+
* Request parameters for cryptoLoanBorrow operation in StableRateApi.
|
|
3014
|
+
* @interface CryptoLoanBorrowRequest
|
|
3015
|
+
*/
|
|
3016
|
+
interface CryptoLoanBorrowRequest {
|
|
3017
|
+
/**
|
|
3018
|
+
*
|
|
3019
|
+
* @type {string}
|
|
3020
|
+
* @memberof StableRateApiCryptoLoanBorrow
|
|
3021
|
+
*/
|
|
3022
|
+
readonly loanCoin: string;
|
|
3023
|
+
/**
|
|
3024
|
+
*
|
|
3025
|
+
* @type {string}
|
|
3026
|
+
* @memberof StableRateApiCryptoLoanBorrow
|
|
3027
|
+
*/
|
|
3028
|
+
readonly collateralCoin: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* 7/30 days
|
|
3031
|
+
* @type {number}
|
|
3032
|
+
* @memberof StableRateApiCryptoLoanBorrow
|
|
3033
|
+
*/
|
|
3034
|
+
readonly loanTerm: number;
|
|
3035
|
+
/**
|
|
3036
|
+
*
|
|
3037
|
+
* @type {number}
|
|
3038
|
+
* @memberof StableRateApiCryptoLoanBorrow
|
|
3039
|
+
*/
|
|
3040
|
+
readonly recvWindow?: number;
|
|
3041
|
+
}
|
|
3042
|
+
/**
|
|
3043
|
+
* Request parameters for cryptoLoanCustomizeMarginCall operation in StableRateApi.
|
|
3044
|
+
* @interface CryptoLoanCustomizeMarginCallRequest
|
|
3045
|
+
*/
|
|
3046
|
+
interface CryptoLoanCustomizeMarginCallRequest {
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @type {number}
|
|
3050
|
+
* @memberof StableRateApiCryptoLoanCustomizeMarginCall
|
|
3051
|
+
*/
|
|
3052
|
+
readonly marginCall: number;
|
|
3053
|
+
/**
|
|
3054
|
+
*
|
|
3055
|
+
* @type {number}
|
|
3056
|
+
* @memberof StableRateApiCryptoLoanCustomizeMarginCall
|
|
3057
|
+
*/
|
|
3058
|
+
readonly recvWindow?: number;
|
|
3059
|
+
}
|
|
3060
|
+
/**
|
|
3061
|
+
* Request parameters for cryptoLoanRepay operation in StableRateApi.
|
|
3062
|
+
* @interface CryptoLoanRepayRequest
|
|
3063
|
+
*/
|
|
3064
|
+
interface CryptoLoanRepayRequest {
|
|
3065
|
+
/**
|
|
3066
|
+
*
|
|
3067
|
+
* @type {number}
|
|
3068
|
+
* @memberof StableRateApiCryptoLoanRepay
|
|
3069
|
+
*/
|
|
3070
|
+
readonly orderId: number;
|
|
3071
|
+
/**
|
|
3072
|
+
*
|
|
3073
|
+
* @type {number}
|
|
3074
|
+
* @memberof StableRateApiCryptoLoanRepay
|
|
3075
|
+
*/
|
|
3076
|
+
readonly amount: number;
|
|
3077
|
+
/**
|
|
3078
|
+
* Default: 1. 1 for "repay with borrowed coin"; 2 for "repay with collateral".
|
|
3079
|
+
* @type {number}
|
|
3080
|
+
* @memberof StableRateApiCryptoLoanRepay
|
|
3081
|
+
*/
|
|
3082
|
+
readonly type?: number;
|
|
3083
|
+
/**
|
|
3084
|
+
* Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
3085
|
+
* @type {boolean}
|
|
3086
|
+
* @memberof StableRateApiCryptoLoanRepay
|
|
3087
|
+
*/
|
|
3088
|
+
readonly collateralReturn?: boolean;
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @type {number}
|
|
3092
|
+
* @memberof StableRateApiCryptoLoanRepay
|
|
3093
|
+
*/
|
|
3094
|
+
readonly recvWindow?: number;
|
|
3095
|
+
}
|
|
3096
|
+
/**
|
|
3097
|
+
* Request parameters for getCollateralAssetsData operation in StableRateApi.
|
|
3098
|
+
* @interface GetCollateralAssetsDataRequest
|
|
3099
|
+
*/
|
|
3100
|
+
interface GetCollateralAssetsDataRequest {
|
|
3101
|
+
/**
|
|
3102
|
+
*
|
|
3103
|
+
* @type {string}
|
|
3104
|
+
* @memberof StableRateApiGetCollateralAssetsData
|
|
3105
|
+
*/
|
|
3106
|
+
readonly collateralCoin?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Default: user's vip level. Send "-1" to check specified configuration
|
|
3109
|
+
* @type {number}
|
|
3110
|
+
* @memberof StableRateApiGetCollateralAssetsData
|
|
3111
|
+
*/
|
|
3112
|
+
readonly vipLevel?: number;
|
|
3113
|
+
/**
|
|
3114
|
+
*
|
|
3115
|
+
* @type {number}
|
|
3116
|
+
* @memberof StableRateApiGetCollateralAssetsData
|
|
3117
|
+
*/
|
|
3118
|
+
readonly recvWindow?: number;
|
|
3119
|
+
}
|
|
3120
|
+
/**
|
|
3121
|
+
* Request parameters for getCryptoLoansIncomeHistory operation in StableRateApi.
|
|
3122
|
+
* @interface GetCryptoLoansIncomeHistoryRequest
|
|
3123
|
+
*/
|
|
3124
|
+
interface GetCryptoLoansIncomeHistoryRequest {
|
|
3125
|
+
/**
|
|
3126
|
+
*
|
|
3127
|
+
* @type {string}
|
|
3128
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3129
|
+
*/
|
|
3130
|
+
readonly asset?: string;
|
|
3131
|
+
/**
|
|
3132
|
+
* All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
|
|
3133
|
+
* @type {string}
|
|
3134
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3135
|
+
*/
|
|
3136
|
+
readonly type?: string;
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @type {number}
|
|
3140
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3141
|
+
*/
|
|
3142
|
+
readonly startTime?: number;
|
|
3143
|
+
/**
|
|
3144
|
+
*
|
|
3145
|
+
* @type {number}
|
|
3146
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3147
|
+
*/
|
|
3148
|
+
readonly endTime?: number;
|
|
3149
|
+
/**
|
|
3150
|
+
* Default: 10; max: 100
|
|
3151
|
+
* @type {number}
|
|
3152
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3153
|
+
*/
|
|
3154
|
+
readonly limit?: number;
|
|
3155
|
+
/**
|
|
3156
|
+
*
|
|
3157
|
+
* @type {number}
|
|
3158
|
+
* @memberof StableRateApiGetCryptoLoansIncomeHistory
|
|
3159
|
+
*/
|
|
3160
|
+
readonly recvWindow?: number;
|
|
3161
|
+
}
|
|
3162
|
+
/**
|
|
3163
|
+
* Request parameters for getLoanBorrowHistory operation in StableRateApi.
|
|
3164
|
+
* @interface GetLoanBorrowHistoryRequest
|
|
3165
|
+
*/
|
|
3166
|
+
interface GetLoanBorrowHistoryRequest {
|
|
3167
|
+
/**
|
|
3168
|
+
*
|
|
3169
|
+
* @type {number}
|
|
3170
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3171
|
+
*/
|
|
3172
|
+
readonly orderId?: number;
|
|
3173
|
+
/**
|
|
3174
|
+
*
|
|
3175
|
+
* @type {string}
|
|
3176
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3177
|
+
*/
|
|
3178
|
+
readonly loanCoin?: string;
|
|
3179
|
+
/**
|
|
3180
|
+
*
|
|
3181
|
+
* @type {string}
|
|
3182
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3183
|
+
*/
|
|
3184
|
+
readonly collateralCoin?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @type {number}
|
|
3188
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3189
|
+
*/
|
|
3190
|
+
readonly startTime?: number;
|
|
3191
|
+
/**
|
|
3192
|
+
*
|
|
3193
|
+
* @type {number}
|
|
3194
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3195
|
+
*/
|
|
3196
|
+
readonly endTime?: number;
|
|
3197
|
+
/**
|
|
3198
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
3199
|
+
* @type {number}
|
|
3200
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3201
|
+
*/
|
|
3202
|
+
readonly current?: number;
|
|
3203
|
+
/**
|
|
3204
|
+
* Default: 10; max: 100
|
|
3205
|
+
* @type {number}
|
|
3206
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3207
|
+
*/
|
|
3208
|
+
readonly limit?: number;
|
|
3209
|
+
/**
|
|
3210
|
+
*
|
|
3211
|
+
* @type {number}
|
|
3212
|
+
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3213
|
+
*/
|
|
3214
|
+
readonly recvWindow?: number;
|
|
3215
|
+
}
|
|
3216
|
+
/**
|
|
3217
|
+
* Request parameters for getLoanLtvAdjustmentHistory operation in StableRateApi.
|
|
3218
|
+
* @interface GetLoanLtvAdjustmentHistoryRequest
|
|
3219
|
+
*/
|
|
3220
|
+
interface GetLoanLtvAdjustmentHistoryRequest {
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @type {number}
|
|
3224
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3225
|
+
*/
|
|
3226
|
+
readonly orderId?: number;
|
|
3227
|
+
/**
|
|
3228
|
+
*
|
|
3229
|
+
* @type {string}
|
|
3230
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3231
|
+
*/
|
|
3232
|
+
readonly loanCoin?: string;
|
|
3233
|
+
/**
|
|
3234
|
+
*
|
|
3235
|
+
* @type {string}
|
|
3236
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3237
|
+
*/
|
|
3238
|
+
readonly collateralCoin?: string;
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @type {number}
|
|
3242
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3243
|
+
*/
|
|
3244
|
+
readonly startTime?: number;
|
|
3245
|
+
/**
|
|
3246
|
+
*
|
|
3247
|
+
* @type {number}
|
|
3248
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3249
|
+
*/
|
|
3250
|
+
readonly endTime?: number;
|
|
3251
|
+
/**
|
|
3252
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
3253
|
+
* @type {number}
|
|
3254
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3255
|
+
*/
|
|
3256
|
+
readonly current?: number;
|
|
3257
|
+
/**
|
|
3258
|
+
* Default: 10; max: 100
|
|
3259
|
+
* @type {number}
|
|
3260
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3261
|
+
*/
|
|
3262
|
+
readonly limit?: number;
|
|
3263
|
+
/**
|
|
3264
|
+
*
|
|
3265
|
+
* @type {number}
|
|
3266
|
+
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3267
|
+
*/
|
|
3268
|
+
readonly recvWindow?: number;
|
|
3269
|
+
}
|
|
3270
|
+
/**
|
|
3271
|
+
* Request parameters for getLoanOngoingOrders operation in StableRateApi.
|
|
3272
|
+
* @interface GetLoanOngoingOrdersRequest
|
|
3273
|
+
*/
|
|
3274
|
+
interface GetLoanOngoingOrdersRequest {
|
|
3275
|
+
/**
|
|
3276
|
+
*
|
|
3277
|
+
* @type {number}
|
|
3278
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3279
|
+
*/
|
|
3280
|
+
readonly orderId?: number;
|
|
3281
|
+
/**
|
|
3282
|
+
*
|
|
3283
|
+
* @type {string}
|
|
3284
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3285
|
+
*/
|
|
3286
|
+
readonly loanCoin?: string;
|
|
3287
|
+
/**
|
|
3288
|
+
*
|
|
3289
|
+
* @type {string}
|
|
3290
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3291
|
+
*/
|
|
3292
|
+
readonly collateralCoin?: string;
|
|
3293
|
+
/**
|
|
3294
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
3295
|
+
* @type {number}
|
|
3296
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3297
|
+
*/
|
|
3298
|
+
readonly current?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* Default: 10; max: 100
|
|
3301
|
+
* @type {number}
|
|
3302
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3303
|
+
*/
|
|
3304
|
+
readonly limit?: number;
|
|
3305
|
+
/**
|
|
3306
|
+
*
|
|
3307
|
+
* @type {number}
|
|
3308
|
+
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3309
|
+
*/
|
|
3310
|
+
readonly recvWindow?: number;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* Request parameters for getLoanRepaymentHistory operation in StableRateApi.
|
|
3314
|
+
* @interface GetLoanRepaymentHistoryRequest
|
|
3315
|
+
*/
|
|
3316
|
+
interface GetLoanRepaymentHistoryRequest {
|
|
3317
|
+
/**
|
|
3318
|
+
*
|
|
3319
|
+
* @type {number}
|
|
3320
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3321
|
+
*/
|
|
3322
|
+
readonly orderId?: number;
|
|
3323
|
+
/**
|
|
3324
|
+
*
|
|
3325
|
+
* @type {string}
|
|
3326
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3327
|
+
*/
|
|
3328
|
+
readonly loanCoin?: string;
|
|
3329
|
+
/**
|
|
3330
|
+
*
|
|
3331
|
+
* @type {string}
|
|
3332
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3333
|
+
*/
|
|
3334
|
+
readonly collateralCoin?: string;
|
|
3335
|
+
/**
|
|
3336
|
+
*
|
|
3337
|
+
* @type {number}
|
|
3338
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3339
|
+
*/
|
|
3340
|
+
readonly startTime?: number;
|
|
3341
|
+
/**
|
|
3342
|
+
*
|
|
3343
|
+
* @type {number}
|
|
3344
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3345
|
+
*/
|
|
3346
|
+
readonly endTime?: number;
|
|
3347
|
+
/**
|
|
3348
|
+
* Current querying page. Start from 1; default: 1; max: 1000
|
|
3349
|
+
* @type {number}
|
|
3350
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3351
|
+
*/
|
|
3352
|
+
readonly current?: number;
|
|
3353
|
+
/**
|
|
3354
|
+
* Default: 10; max: 100
|
|
3355
|
+
* @type {number}
|
|
3356
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3357
|
+
*/
|
|
3358
|
+
readonly limit?: number;
|
|
3359
|
+
/**
|
|
3360
|
+
*
|
|
3361
|
+
* @type {number}
|
|
3362
|
+
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3363
|
+
*/
|
|
3364
|
+
readonly recvWindow?: number;
|
|
3365
|
+
}
|
|
3366
|
+
/**
|
|
3367
|
+
* Request parameters for getLoanableAssetsData operation in StableRateApi.
|
|
3368
|
+
* @interface GetLoanableAssetsDataRequest
|
|
3369
|
+
*/
|
|
3370
|
+
interface GetLoanableAssetsDataRequest {
|
|
3371
|
+
/**
|
|
3372
|
+
*
|
|
3373
|
+
* @type {string}
|
|
3374
|
+
* @memberof StableRateApiGetLoanableAssetsData
|
|
3375
|
+
*/
|
|
3376
|
+
readonly loanCoin?: string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Default: user's vip level. Send "-1" to check specified configuration
|
|
3379
|
+
* @type {number}
|
|
3380
|
+
* @memberof StableRateApiGetLoanableAssetsData
|
|
3381
|
+
*/
|
|
3382
|
+
readonly vipLevel?: number;
|
|
3383
|
+
/**
|
|
3384
|
+
*
|
|
3385
|
+
* @type {number}
|
|
3386
|
+
* @memberof StableRateApiGetLoanableAssetsData
|
|
3387
|
+
*/
|
|
3388
|
+
readonly recvWindow?: number;
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* StableRateApi - object-oriented interface
|
|
3392
|
+
* @class StableRateApi
|
|
3393
|
+
*/
|
|
3394
|
+
declare class StableRateApi implements StableRateApiInterface {
|
|
3395
|
+
private readonly configuration;
|
|
3396
|
+
private localVarAxiosParamCreator;
|
|
3397
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
3398
|
+
/**
|
|
3399
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
3400
|
+
*
|
|
3401
|
+
* Weight: 6000
|
|
3402
|
+
*
|
|
3403
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
3404
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
3405
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
3406
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3407
|
+
* @memberof StableRateApi
|
|
3408
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
3409
|
+
*/
|
|
3410
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
3411
|
+
/**
|
|
3412
|
+
* Crypto Loan Adjust LTV
|
|
3413
|
+
*
|
|
3414
|
+
* Weight: 6000
|
|
3415
|
+
*
|
|
3416
|
+
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
3417
|
+
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
3418
|
+
* @returns {Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>}
|
|
3419
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3420
|
+
* @memberof StableRateApi
|
|
3421
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Adjust-LTV Binance API Documentation}
|
|
3422
|
+
*/
|
|
3423
|
+
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
3424
|
+
/**
|
|
3425
|
+
* Crypto Loan Borrow
|
|
3426
|
+
*
|
|
3427
|
+
* Weight: 6000
|
|
3428
|
+
*
|
|
3429
|
+
* @summary Crypto Loan Borrow(TRADE)
|
|
3430
|
+
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
3431
|
+
* @returns {Promise<RestApiResponse<CryptoLoanBorrowResponse>>}
|
|
3432
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3433
|
+
* @memberof StableRateApi
|
|
3434
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Borrow Binance API Documentation}
|
|
3435
|
+
*/
|
|
3436
|
+
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
3437
|
+
/**
|
|
3438
|
+
* Customize Margin Call
|
|
3439
|
+
*
|
|
3440
|
+
* Weight: 6000
|
|
3441
|
+
*
|
|
3442
|
+
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
3443
|
+
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
3444
|
+
* @returns {Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>}
|
|
3445
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3446
|
+
* @memberof StableRateApi
|
|
3447
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Customize-Margin-Call Binance API Documentation}
|
|
3448
|
+
*/
|
|
3449
|
+
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
3450
|
+
/**
|
|
3451
|
+
* Crypto Loan Repay
|
|
3452
|
+
*
|
|
3453
|
+
* Weight: 6000
|
|
3454
|
+
*
|
|
3455
|
+
* @summary Crypto Loan Repay(TRADE)
|
|
3456
|
+
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
3457
|
+
* @returns {Promise<RestApiResponse<CryptoLoanRepayResponse>>}
|
|
3458
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3459
|
+
* @memberof StableRateApi
|
|
3460
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Repay Binance API Documentation}
|
|
3461
|
+
*/
|
|
3462
|
+
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
3463
|
+
/**
|
|
3464
|
+
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
3465
|
+
*
|
|
3466
|
+
* Weight: 400
|
|
3467
|
+
*
|
|
3468
|
+
* @summary Get Collateral Assets Data(USER_DATA)
|
|
3469
|
+
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
3470
|
+
* @returns {Promise<RestApiResponse<GetCollateralAssetsDataResponse>>}
|
|
3471
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3472
|
+
* @memberof StableRateApi
|
|
3473
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Collateral-Assets-Data Binance API Documentation}
|
|
3474
|
+
*/
|
|
3475
|
+
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
3476
|
+
/**
|
|
3477
|
+
* Get Crypto Loans Income History
|
|
3478
|
+
*
|
|
3479
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
3480
|
+
* The max interval between startTime and endTime is 30 days.
|
|
3481
|
+
*
|
|
3482
|
+
* Weight: 6000
|
|
3483
|
+
*
|
|
3484
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
3485
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
3486
|
+
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
3487
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3488
|
+
* @memberof StableRateApi
|
|
3489
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
3490
|
+
*/
|
|
3491
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
3492
|
+
/**
|
|
3493
|
+
* Get Loan Borrow History
|
|
3494
|
+
*
|
|
3495
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3496
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3497
|
+
*
|
|
3498
|
+
* Weight: 400
|
|
3499
|
+
*
|
|
3500
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
3501
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
3502
|
+
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
3503
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3504
|
+
* @memberof StableRateApi
|
|
3505
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
3506
|
+
*/
|
|
3507
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
3508
|
+
/**
|
|
3509
|
+
* Get Loan LTV Adjustment History
|
|
3510
|
+
*
|
|
3511
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3512
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3513
|
+
*
|
|
3514
|
+
* Weight: 400
|
|
3515
|
+
*
|
|
3516
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
3517
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
3518
|
+
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
3519
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3520
|
+
* @memberof StableRateApi
|
|
3521
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
3522
|
+
*/
|
|
3523
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
3524
|
+
/**
|
|
3525
|
+
* Get Loan Ongoing Orders
|
|
3526
|
+
*
|
|
3527
|
+
* Weight: 300
|
|
3528
|
+
*
|
|
3529
|
+
* @summary Get Loan Ongoing Orders(USER_DATA)
|
|
3530
|
+
* @param {GetLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
3531
|
+
* @returns {Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>}
|
|
3532
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3533
|
+
* @memberof StableRateApi
|
|
3534
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Ongoing-Orders Binance API Documentation}
|
|
3535
|
+
*/
|
|
3536
|
+
getLoanOngoingOrders(requestParameters?: GetLoanOngoingOrdersRequest): Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>;
|
|
3537
|
+
/**
|
|
3538
|
+
* Get Loan Repayment History
|
|
3539
|
+
*
|
|
3540
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3541
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3542
|
+
*
|
|
3543
|
+
* Weight: 400
|
|
3544
|
+
*
|
|
3545
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
3546
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
3547
|
+
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
3548
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3549
|
+
* @memberof StableRateApi
|
|
3550
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
3551
|
+
*/
|
|
3552
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
3553
|
+
/**
|
|
3554
|
+
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
3555
|
+
*
|
|
3556
|
+
* Weight: 400
|
|
3557
|
+
*
|
|
3558
|
+
* @summary Get Loanable Assets Data(USER_DATA)
|
|
3559
|
+
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
3560
|
+
* @returns {Promise<RestApiResponse<GetLoanableAssetsDataResponse>>}
|
|
3561
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3562
|
+
* @memberof StableRateApi
|
|
3563
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Loanable-Assets-Data Binance API Documentation}
|
|
3564
|
+
*/
|
|
3565
|
+
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Binance Public Crypto Loan REST API
|
|
3570
|
+
*
|
|
3571
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
3572
|
+
*
|
|
3573
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3574
|
+
*
|
|
3575
|
+
*
|
|
3576
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3577
|
+
* https://openapi-generator.tech
|
|
3578
|
+
* Do not edit the class manually.
|
|
3579
|
+
*/
|
|
3580
|
+
|
|
3581
|
+
declare class RestAPI {
|
|
3582
|
+
private configuration;
|
|
3583
|
+
private flexibleRateApi;
|
|
3584
|
+
private stableRateApi;
|
|
3585
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
3586
|
+
/**
|
|
3587
|
+
* Generic function to send a request.
|
|
3588
|
+
* @param endpoint - The API endpoint to call.
|
|
3589
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
3590
|
+
* @param params - Query parameters for the request.
|
|
3591
|
+
*
|
|
3592
|
+
* @returns A promise resolving to the response data object.
|
|
3593
|
+
*/
|
|
3594
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
3595
|
+
/**
|
|
3596
|
+
* Generic function to send a signed request.
|
|
3597
|
+
* @param endpoint - The API endpoint to call.
|
|
3598
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
3599
|
+
* @param params - Query parameters for the request.
|
|
3600
|
+
*
|
|
3601
|
+
* @returns A promise resolving to the response data object.
|
|
3602
|
+
*/
|
|
3603
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
3604
|
+
/**
|
|
3605
|
+
*
|
|
3606
|
+
* Weight: 6000
|
|
3607
|
+
*
|
|
3608
|
+
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
3609
|
+
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
3610
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
3611
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3612
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
3613
|
+
*/
|
|
3614
|
+
checkCollateralRepayRate(requestParameters: CheckCollateralRepayRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateResponse>>;
|
|
3615
|
+
/**
|
|
3616
|
+
* Flexible Loan Adjust LTV
|
|
3617
|
+
*
|
|
3618
|
+
* API Key needs Spot & Margin Trading permission for this endpoint
|
|
3619
|
+
*
|
|
3620
|
+
* Weight: 6000
|
|
3621
|
+
*
|
|
3622
|
+
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
3623
|
+
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
3624
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
3625
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3626
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
3627
|
+
*/
|
|
3628
|
+
flexibleLoanAdjustLtv(requestParameters: FlexibleLoanAdjustLtvRequest): Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>;
|
|
3629
|
+
/**
|
|
3630
|
+
* Borrow Flexible Loan
|
|
3631
|
+
*
|
|
3632
|
+
*
|
|
3633
|
+
* Only available for master account
|
|
3634
|
+
* You can customize LTV by entering loanAmount and collateralAmount.
|
|
3635
|
+
*
|
|
3636
|
+
* Weight: 6000
|
|
3637
|
+
*
|
|
3638
|
+
* @summary Flexible Loan Borrow(TRADE)
|
|
3639
|
+
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
3640
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
3641
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3642
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
3643
|
+
*/
|
|
3644
|
+
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
3645
|
+
/**
|
|
3646
|
+
*
|
|
3647
|
+
* Weight: 6000
|
|
3648
|
+
*
|
|
3649
|
+
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
3650
|
+
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
3651
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>}
|
|
3652
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3653
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Collateral-Repay Binance API Documentation}
|
|
3654
|
+
*/
|
|
3655
|
+
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
3656
|
+
/**
|
|
3657
|
+
* Flexible Loan Repay
|
|
3658
|
+
*
|
|
3659
|
+
*
|
|
3660
|
+
* repayAmount is mandatory even fullRepayment = FALSE
|
|
3661
|
+
*
|
|
3662
|
+
* Weight: 6000
|
|
3663
|
+
*
|
|
3664
|
+
* @summary Flexible Loan Repay(TRADE)
|
|
3665
|
+
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
3666
|
+
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
3667
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3668
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
3669
|
+
*/
|
|
3670
|
+
flexibleLoanRepay(requestParameters: FlexibleLoanRepayRequest): Promise<RestApiResponse<FlexibleLoanRepayResponse>>;
|
|
3671
|
+
/**
|
|
3672
|
+
* Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value.
|
|
3673
|
+
*
|
|
3674
|
+
* Weight: 400
|
|
3675
|
+
*
|
|
3676
|
+
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
3677
|
+
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
3678
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
3679
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3680
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
3681
|
+
*/
|
|
3682
|
+
getFlexibleLoanAssetsData(requestParameters?: GetFlexibleLoanAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>;
|
|
3683
|
+
/**
|
|
3684
|
+
* Get Flexible Loan Borrow History
|
|
3685
|
+
*
|
|
3686
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3687
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3688
|
+
*
|
|
3689
|
+
* Weight: 400
|
|
3690
|
+
*
|
|
3691
|
+
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
3692
|
+
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
3693
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
3694
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3695
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
3696
|
+
*/
|
|
3697
|
+
getFlexibleLoanBorrowHistory(requestParameters?: GetFlexibleLoanBorrowHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>;
|
|
3698
|
+
/**
|
|
3699
|
+
* Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value.
|
|
3700
|
+
*
|
|
3701
|
+
* Weight: 400
|
|
3702
|
+
*
|
|
3703
|
+
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
3704
|
+
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
3705
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
3706
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3707
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
3708
|
+
*/
|
|
3709
|
+
getFlexibleLoanCollateralAssetsData(requestParameters?: GetFlexibleLoanCollateralAssetsDataRequest): Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>;
|
|
3710
|
+
/**
|
|
3711
|
+
*
|
|
3712
|
+
* Weight: 400
|
|
3713
|
+
*
|
|
3714
|
+
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
3715
|
+
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
3716
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
3717
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3718
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
3719
|
+
*/
|
|
3720
|
+
getFlexibleLoanLiquidationHistory(requestParameters?: GetFlexibleLoanLiquidationHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>;
|
|
3721
|
+
/**
|
|
3722
|
+
* Get Flexible Loan LTV Adjustment History
|
|
3723
|
+
*
|
|
3724
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3725
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3726
|
+
*
|
|
3727
|
+
* Weight: 400
|
|
3728
|
+
*
|
|
3729
|
+
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
3730
|
+
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
3731
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
3732
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3733
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
3734
|
+
*/
|
|
3735
|
+
getFlexibleLoanLtvAdjustmentHistory(requestParameters?: GetFlexibleLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>;
|
|
3736
|
+
/**
|
|
3737
|
+
* Get Flexible Loan Ongoing Orders
|
|
3738
|
+
*
|
|
3739
|
+
* Weight: 300
|
|
3740
|
+
*
|
|
3741
|
+
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
3742
|
+
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
3743
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
3744
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3745
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
3746
|
+
*/
|
|
3747
|
+
getFlexibleLoanOngoingOrders(requestParameters?: GetFlexibleLoanOngoingOrdersRequest): Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>;
|
|
3748
|
+
/**
|
|
3749
|
+
* Get Flexible Loan Repayment History
|
|
3750
|
+
*
|
|
3751
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3752
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3753
|
+
*
|
|
3754
|
+
* Weight: 400
|
|
3755
|
+
*
|
|
3756
|
+
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
3757
|
+
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
3758
|
+
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
3759
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3760
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
3761
|
+
*/
|
|
3762
|
+
getFlexibleLoanRepaymentHistory(requestParameters?: GetFlexibleLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>;
|
|
3763
|
+
/**
|
|
3764
|
+
* Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
|
|
3765
|
+
*
|
|
3766
|
+
* Weight: 6000
|
|
3767
|
+
*
|
|
3768
|
+
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
3769
|
+
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
3770
|
+
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
3771
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3772
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
3773
|
+
*/
|
|
3774
|
+
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
3775
|
+
/**
|
|
3776
|
+
* Crypto Loan Adjust LTV
|
|
3777
|
+
*
|
|
3778
|
+
* Weight: 6000
|
|
3779
|
+
*
|
|
3780
|
+
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
3781
|
+
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
3782
|
+
* @returns {Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>}
|
|
3783
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3784
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Adjust-LTV Binance API Documentation}
|
|
3785
|
+
*/
|
|
3786
|
+
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
3787
|
+
/**
|
|
3788
|
+
* Crypto Loan Borrow
|
|
3789
|
+
*
|
|
3790
|
+
* Weight: 6000
|
|
3791
|
+
*
|
|
3792
|
+
* @summary Crypto Loan Borrow(TRADE)
|
|
3793
|
+
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
3794
|
+
* @returns {Promise<RestApiResponse<CryptoLoanBorrowResponse>>}
|
|
3795
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3796
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Borrow Binance API Documentation}
|
|
3797
|
+
*/
|
|
3798
|
+
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
3799
|
+
/**
|
|
3800
|
+
* Customize Margin Call
|
|
3801
|
+
*
|
|
3802
|
+
* Weight: 6000
|
|
3803
|
+
*
|
|
3804
|
+
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
3805
|
+
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
3806
|
+
* @returns {Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>}
|
|
3807
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3808
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Customize-Margin-Call Binance API Documentation}
|
|
3809
|
+
*/
|
|
3810
|
+
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
3811
|
+
/**
|
|
3812
|
+
* Crypto Loan Repay
|
|
3813
|
+
*
|
|
3814
|
+
* Weight: 6000
|
|
3815
|
+
*
|
|
3816
|
+
* @summary Crypto Loan Repay(TRADE)
|
|
3817
|
+
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
3818
|
+
* @returns {Promise<RestApiResponse<CryptoLoanRepayResponse>>}
|
|
3819
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3820
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Repay Binance API Documentation}
|
|
3821
|
+
*/
|
|
3822
|
+
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
3823
|
+
/**
|
|
3824
|
+
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
3825
|
+
*
|
|
3826
|
+
* Weight: 400
|
|
3827
|
+
*
|
|
3828
|
+
* @summary Get Collateral Assets Data(USER_DATA)
|
|
3829
|
+
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
3830
|
+
* @returns {Promise<RestApiResponse<GetCollateralAssetsDataResponse>>}
|
|
3831
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3832
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Collateral-Assets-Data Binance API Documentation}
|
|
3833
|
+
*/
|
|
3834
|
+
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
3835
|
+
/**
|
|
3836
|
+
* Get Crypto Loans Income History
|
|
3837
|
+
*
|
|
3838
|
+
* If startTime and endTime are not sent, the recent 7-day data will be returned.
|
|
3839
|
+
* The max interval between startTime and endTime is 30 days.
|
|
3840
|
+
*
|
|
3841
|
+
* Weight: 6000
|
|
3842
|
+
*
|
|
3843
|
+
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
3844
|
+
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
3845
|
+
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
3846
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3847
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
3848
|
+
*/
|
|
3849
|
+
getCryptoLoansIncomeHistory(requestParameters?: GetCryptoLoansIncomeHistoryRequest): Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>;
|
|
3850
|
+
/**
|
|
3851
|
+
* Get Loan Borrow History
|
|
3852
|
+
*
|
|
3853
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3854
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3855
|
+
*
|
|
3856
|
+
* Weight: 400
|
|
3857
|
+
*
|
|
3858
|
+
* @summary Get Loan Borrow History(USER_DATA)
|
|
3859
|
+
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
3860
|
+
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
3861
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3862
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
3863
|
+
*/
|
|
3864
|
+
getLoanBorrowHistory(requestParameters?: GetLoanBorrowHistoryRequest): Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>;
|
|
3865
|
+
/**
|
|
3866
|
+
* Get Loan LTV Adjustment History
|
|
3867
|
+
*
|
|
3868
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3869
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3870
|
+
*
|
|
3871
|
+
* Weight: 400
|
|
3872
|
+
*
|
|
3873
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
3874
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
3875
|
+
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
3876
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3877
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
3878
|
+
*/
|
|
3879
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
3880
|
+
/**
|
|
3881
|
+
* Get Loan Ongoing Orders
|
|
3882
|
+
*
|
|
3883
|
+
* Weight: 300
|
|
3884
|
+
*
|
|
3885
|
+
* @summary Get Loan Ongoing Orders(USER_DATA)
|
|
3886
|
+
* @param {GetLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
3887
|
+
* @returns {Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>}
|
|
3888
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3889
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Ongoing-Orders Binance API Documentation}
|
|
3890
|
+
*/
|
|
3891
|
+
getLoanOngoingOrders(requestParameters?: GetLoanOngoingOrdersRequest): Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>;
|
|
3892
|
+
/**
|
|
3893
|
+
* Get Loan Repayment History
|
|
3894
|
+
*
|
|
3895
|
+
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
3896
|
+
* The max interval between startTime and endTime is 180 days.
|
|
3897
|
+
*
|
|
3898
|
+
* Weight: 400
|
|
3899
|
+
*
|
|
3900
|
+
* @summary Get Loan Repayment History(USER_DATA)
|
|
3901
|
+
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
3902
|
+
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
3903
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3904
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
3905
|
+
*/
|
|
3906
|
+
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
3907
|
+
/**
|
|
3908
|
+
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
3909
|
+
*
|
|
3910
|
+
* Weight: 400
|
|
3911
|
+
*
|
|
3912
|
+
* @summary Get Loanable Assets Data(USER_DATA)
|
|
3913
|
+
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
3914
|
+
* @returns {Promise<RestApiResponse<GetLoanableAssetsDataResponse>>}
|
|
3915
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3916
|
+
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Loanable-Assets-Data Binance API Documentation}
|
|
3917
|
+
*/
|
|
3918
|
+
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* Binance Public Crypto Loan REST API
|
|
3923
|
+
*
|
|
3924
|
+
* OpenAPI Specification for the Binance Public Crypto Loan REST API
|
|
3925
|
+
*
|
|
3926
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3927
|
+
*
|
|
3928
|
+
*
|
|
3929
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3930
|
+
* https://openapi-generator.tech
|
|
3931
|
+
* Do not edit the class manually.
|
|
3932
|
+
*/
|
|
3933
|
+
|
|
3934
|
+
type index_BadRequest = BadRequest;
|
|
3935
|
+
type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
|
|
3936
|
+
type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
|
|
3937
|
+
type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
|
|
3938
|
+
type index_CheckCollateralRepayRateStableRateResponse = CheckCollateralRepayRateStableRateResponse;
|
|
3939
|
+
type index_CryptoLoanAdjustLtvRequest = CryptoLoanAdjustLtvRequest;
|
|
3940
|
+
type index_CryptoLoanAdjustLtvResponse = CryptoLoanAdjustLtvResponse;
|
|
3941
|
+
type index_CryptoLoanBorrowRequest = CryptoLoanBorrowRequest;
|
|
3942
|
+
type index_CryptoLoanBorrowResponse = CryptoLoanBorrowResponse;
|
|
3943
|
+
type index_CryptoLoanCustomizeMarginCallRequest = CryptoLoanCustomizeMarginCallRequest;
|
|
3944
|
+
type index_CryptoLoanCustomizeMarginCallResponse = CryptoLoanCustomizeMarginCallResponse;
|
|
3945
|
+
type index_CryptoLoanCustomizeMarginCallResponseRowsInner = CryptoLoanCustomizeMarginCallResponseRowsInner;
|
|
3946
|
+
type index_CryptoLoanRepayRequest = CryptoLoanRepayRequest;
|
|
3947
|
+
type index_CryptoLoanRepayResponse = CryptoLoanRepayResponse;
|
|
3948
|
+
type index_CryptoLoanRepayResponse1 = CryptoLoanRepayResponse1;
|
|
3949
|
+
type index_CryptoLoanRepayResponse2 = CryptoLoanRepayResponse2;
|
|
3950
|
+
type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
|
|
3951
|
+
type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
|
|
3952
|
+
type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
|
|
3953
|
+
type index_FlexibleLoanBorrowResponse = FlexibleLoanBorrowResponse;
|
|
3954
|
+
type index_FlexibleLoanCollateralRepaymentRequest = FlexibleLoanCollateralRepaymentRequest;
|
|
3955
|
+
type index_FlexibleLoanCollateralRepaymentResponse = FlexibleLoanCollateralRepaymentResponse;
|
|
3956
|
+
type index_FlexibleLoanRepayRequest = FlexibleLoanRepayRequest;
|
|
3957
|
+
type index_FlexibleLoanRepayResponse = FlexibleLoanRepayResponse;
|
|
3958
|
+
type index_FlexibleRateApi = FlexibleRateApi;
|
|
3959
|
+
declare const index_FlexibleRateApi: typeof FlexibleRateApi;
|
|
3960
|
+
type index_FlexibleRateApiInterface = FlexibleRateApiInterface;
|
|
3961
|
+
type index_GetCollateralAssetsDataRequest = GetCollateralAssetsDataRequest;
|
|
3962
|
+
type index_GetCollateralAssetsDataResponse = GetCollateralAssetsDataResponse;
|
|
3963
|
+
type index_GetCollateralAssetsDataResponseRowsInner = GetCollateralAssetsDataResponseRowsInner;
|
|
3964
|
+
type index_GetCryptoLoansIncomeHistoryRequest = GetCryptoLoansIncomeHistoryRequest;
|
|
3965
|
+
type index_GetCryptoLoansIncomeHistoryResponse = GetCryptoLoansIncomeHistoryResponse;
|
|
3966
|
+
type index_GetCryptoLoansIncomeHistoryResponseInner = GetCryptoLoansIncomeHistoryResponseInner;
|
|
3967
|
+
type index_GetFlexibleLoanAssetsDataRequest = GetFlexibleLoanAssetsDataRequest;
|
|
3968
|
+
type index_GetFlexibleLoanAssetsDataResponse = GetFlexibleLoanAssetsDataResponse;
|
|
3969
|
+
type index_GetFlexibleLoanAssetsDataResponseRowsInner = GetFlexibleLoanAssetsDataResponseRowsInner;
|
|
3970
|
+
type index_GetFlexibleLoanBorrowHistoryRequest = GetFlexibleLoanBorrowHistoryRequest;
|
|
3971
|
+
type index_GetFlexibleLoanBorrowHistoryResponse = GetFlexibleLoanBorrowHistoryResponse;
|
|
3972
|
+
type index_GetFlexibleLoanBorrowHistoryResponseRowsInner = GetFlexibleLoanBorrowHistoryResponseRowsInner;
|
|
3973
|
+
type index_GetFlexibleLoanCollateralAssetsDataRequest = GetFlexibleLoanCollateralAssetsDataRequest;
|
|
3974
|
+
type index_GetFlexibleLoanCollateralAssetsDataResponse = GetFlexibleLoanCollateralAssetsDataResponse;
|
|
3975
|
+
type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner = GetFlexibleLoanCollateralAssetsDataResponseRowsInner;
|
|
3976
|
+
type index_GetFlexibleLoanLiquidationHistoryRequest = GetFlexibleLoanLiquidationHistoryRequest;
|
|
3977
|
+
type index_GetFlexibleLoanLiquidationHistoryResponse = GetFlexibleLoanLiquidationHistoryResponse;
|
|
3978
|
+
type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner = GetFlexibleLoanLiquidationHistoryResponseRowsInner;
|
|
3979
|
+
type index_GetFlexibleLoanLtvAdjustmentHistoryRequest = GetFlexibleLoanLtvAdjustmentHistoryRequest;
|
|
3980
|
+
type index_GetFlexibleLoanLtvAdjustmentHistoryResponse = GetFlexibleLoanLtvAdjustmentHistoryResponse;
|
|
3981
|
+
type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner = GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner;
|
|
3982
|
+
type index_GetFlexibleLoanOngoingOrdersRequest = GetFlexibleLoanOngoingOrdersRequest;
|
|
3983
|
+
type index_GetFlexibleLoanOngoingOrdersResponse = GetFlexibleLoanOngoingOrdersResponse;
|
|
3984
|
+
type index_GetFlexibleLoanOngoingOrdersResponseRowsInner = GetFlexibleLoanOngoingOrdersResponseRowsInner;
|
|
3985
|
+
type index_GetFlexibleLoanRepaymentHistoryRequest = GetFlexibleLoanRepaymentHistoryRequest;
|
|
3986
|
+
type index_GetFlexibleLoanRepaymentHistoryResponse = GetFlexibleLoanRepaymentHistoryResponse;
|
|
3987
|
+
type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner = GetFlexibleLoanRepaymentHistoryResponseRowsInner;
|
|
3988
|
+
type index_GetLoanBorrowHistoryRequest = GetLoanBorrowHistoryRequest;
|
|
3989
|
+
type index_GetLoanBorrowHistoryResponse = GetLoanBorrowHistoryResponse;
|
|
3990
|
+
type index_GetLoanBorrowHistoryResponseRowsInner = GetLoanBorrowHistoryResponseRowsInner;
|
|
3991
|
+
type index_GetLoanLtvAdjustmentHistoryRequest = GetLoanLtvAdjustmentHistoryRequest;
|
|
3992
|
+
type index_GetLoanLtvAdjustmentHistoryResponse = GetLoanLtvAdjustmentHistoryResponse;
|
|
3993
|
+
type index_GetLoanLtvAdjustmentHistoryResponseRowsInner = GetLoanLtvAdjustmentHistoryResponseRowsInner;
|
|
3994
|
+
type index_GetLoanOngoingOrdersRequest = GetLoanOngoingOrdersRequest;
|
|
3995
|
+
type index_GetLoanOngoingOrdersResponse = GetLoanOngoingOrdersResponse;
|
|
3996
|
+
type index_GetLoanOngoingOrdersResponseRowsInner = GetLoanOngoingOrdersResponseRowsInner;
|
|
3997
|
+
type index_GetLoanRepaymentHistoryRequest = GetLoanRepaymentHistoryRequest;
|
|
3998
|
+
type index_GetLoanRepaymentHistoryResponse = GetLoanRepaymentHistoryResponse;
|
|
3999
|
+
type index_GetLoanRepaymentHistoryResponseRowsInner = GetLoanRepaymentHistoryResponseRowsInner;
|
|
4000
|
+
type index_GetLoanableAssetsDataRequest = GetLoanableAssetsDataRequest;
|
|
4001
|
+
type index_GetLoanableAssetsDataResponse = GetLoanableAssetsDataResponse;
|
|
4002
|
+
type index_GetLoanableAssetsDataResponseRowsInner = GetLoanableAssetsDataResponseRowsInner;
|
|
4003
|
+
type index_RestAPI = RestAPI;
|
|
4004
|
+
declare const index_RestAPI: typeof RestAPI;
|
|
4005
|
+
type index_StableRateApi = StableRateApi;
|
|
4006
|
+
declare const index_StableRateApi: typeof StableRateApi;
|
|
4007
|
+
type index_StableRateApiInterface = StableRateApiInterface;
|
|
4008
|
+
declare namespace index {
|
|
4009
|
+
export {
|
|
4010
|
+
index_BadRequest as BadRequest,
|
|
4011
|
+
index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest,
|
|
4012
|
+
index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse,
|
|
4013
|
+
index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest,
|
|
4014
|
+
index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse,
|
|
4015
|
+
index_CryptoLoanAdjustLtvRequest as CryptoLoanAdjustLtvRequest,
|
|
4016
|
+
index_CryptoLoanAdjustLtvResponse as CryptoLoanAdjustLtvResponse,
|
|
4017
|
+
index_CryptoLoanBorrowRequest as CryptoLoanBorrowRequest,
|
|
4018
|
+
index_CryptoLoanBorrowResponse as CryptoLoanBorrowResponse,
|
|
4019
|
+
index_CryptoLoanCustomizeMarginCallRequest as CryptoLoanCustomizeMarginCallRequest,
|
|
4020
|
+
index_CryptoLoanCustomizeMarginCallResponse as CryptoLoanCustomizeMarginCallResponse,
|
|
4021
|
+
index_CryptoLoanCustomizeMarginCallResponseRowsInner as CryptoLoanCustomizeMarginCallResponseRowsInner,
|
|
4022
|
+
index_CryptoLoanRepayRequest as CryptoLoanRepayRequest,
|
|
4023
|
+
index_CryptoLoanRepayResponse as CryptoLoanRepayResponse,
|
|
4024
|
+
index_CryptoLoanRepayResponse1 as CryptoLoanRepayResponse1,
|
|
4025
|
+
index_CryptoLoanRepayResponse2 as CryptoLoanRepayResponse2,
|
|
4026
|
+
index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest,
|
|
4027
|
+
index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse,
|
|
4028
|
+
index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest,
|
|
4029
|
+
index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse,
|
|
4030
|
+
index_FlexibleLoanCollateralRepaymentRequest as FlexibleLoanCollateralRepaymentRequest,
|
|
4031
|
+
index_FlexibleLoanCollateralRepaymentResponse as FlexibleLoanCollateralRepaymentResponse,
|
|
4032
|
+
index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest,
|
|
4033
|
+
index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse,
|
|
4034
|
+
index_FlexibleRateApi as FlexibleRateApi,
|
|
4035
|
+
index_FlexibleRateApiInterface as FlexibleRateApiInterface,
|
|
4036
|
+
index_GetCollateralAssetsDataRequest as GetCollateralAssetsDataRequest,
|
|
4037
|
+
index_GetCollateralAssetsDataResponse as GetCollateralAssetsDataResponse,
|
|
4038
|
+
index_GetCollateralAssetsDataResponseRowsInner as GetCollateralAssetsDataResponseRowsInner,
|
|
4039
|
+
index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest,
|
|
4040
|
+
index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse,
|
|
4041
|
+
index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner,
|
|
4042
|
+
index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest,
|
|
4043
|
+
index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse,
|
|
4044
|
+
index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner,
|
|
4045
|
+
index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest,
|
|
4046
|
+
index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse,
|
|
4047
|
+
index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner,
|
|
4048
|
+
index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest,
|
|
4049
|
+
index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse,
|
|
4050
|
+
index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner,
|
|
4051
|
+
index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest,
|
|
4052
|
+
index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse,
|
|
4053
|
+
index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner,
|
|
4054
|
+
index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest,
|
|
4055
|
+
index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse,
|
|
4056
|
+
index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner,
|
|
4057
|
+
index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest,
|
|
4058
|
+
index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse,
|
|
4059
|
+
index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner,
|
|
4060
|
+
index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest,
|
|
4061
|
+
index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse,
|
|
4062
|
+
index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner,
|
|
4063
|
+
index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest,
|
|
4064
|
+
index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse,
|
|
4065
|
+
index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner,
|
|
4066
|
+
index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest,
|
|
4067
|
+
index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse,
|
|
4068
|
+
index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner,
|
|
4069
|
+
index_GetLoanOngoingOrdersRequest as GetLoanOngoingOrdersRequest,
|
|
4070
|
+
index_GetLoanOngoingOrdersResponse as GetLoanOngoingOrdersResponse,
|
|
4071
|
+
index_GetLoanOngoingOrdersResponseRowsInner as GetLoanOngoingOrdersResponseRowsInner,
|
|
4072
|
+
index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest,
|
|
4073
|
+
index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse,
|
|
4074
|
+
index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner,
|
|
4075
|
+
index_GetLoanableAssetsDataRequest as GetLoanableAssetsDataRequest,
|
|
4076
|
+
index_GetLoanableAssetsDataResponse as GetLoanableAssetsDataResponse,
|
|
4077
|
+
index_GetLoanableAssetsDataResponseRowsInner as GetLoanableAssetsDataResponseRowsInner,
|
|
4078
|
+
index_RestAPI as RestAPI,
|
|
4079
|
+
index_StableRateApi as StableRateApi,
|
|
4080
|
+
index_StableRateApiInterface as StableRateApiInterface,
|
|
4081
|
+
};
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
interface ConfigurationCryptoLoan {
|
|
4085
|
+
configurationRestAPI?: ConfigurationRestAPI;
|
|
4086
|
+
}
|
|
4087
|
+
declare class CryptoLoan {
|
|
4088
|
+
restAPI: RestAPI;
|
|
4089
|
+
constructor(config: ConfigurationCryptoLoan);
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
export { ConfigurationCryptoLoan, CryptoLoan, index as CryptoLoanRestAPI };
|