@binance/crypto-loan 4.0.0 → 6.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/dist/index.d.mts +143 -1336
- package/dist/index.d.ts +143 -1336
- package/dist/index.js +4 -637
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -637
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -83,257 +83,6 @@ interface CheckCollateralRepayRateStableRateResponse {
|
|
|
83
83
|
rate?: string;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
/**
|
|
87
|
-
* Binance Crypto Loan REST API
|
|
88
|
-
*
|
|
89
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
90
|
-
*
|
|
91
|
-
* The version of the OpenAPI document: 1.0.0
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
95
|
-
* https://openapi-generator.tech
|
|
96
|
-
* Do not edit the class manually.
|
|
97
|
-
*/
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @export
|
|
101
|
-
* @interface CryptoLoanAdjustLtvResponse
|
|
102
|
-
*/
|
|
103
|
-
interface CryptoLoanAdjustLtvResponse {
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof CryptoLoanAdjustLtvResponse
|
|
108
|
-
*/
|
|
109
|
-
loanCoin?: string;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof CryptoLoanAdjustLtvResponse
|
|
114
|
-
*/
|
|
115
|
-
collateralCoin?: string;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {string}
|
|
119
|
-
* @memberof CryptoLoanAdjustLtvResponse
|
|
120
|
-
*/
|
|
121
|
-
direction?: string;
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {string}
|
|
125
|
-
* @memberof CryptoLoanAdjustLtvResponse
|
|
126
|
-
*/
|
|
127
|
-
amount?: string;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof CryptoLoanAdjustLtvResponse
|
|
132
|
-
*/
|
|
133
|
-
currentLTV?: string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Binance Crypto Loan REST API
|
|
138
|
-
*
|
|
139
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
140
|
-
*
|
|
141
|
-
* The version of the OpenAPI document: 1.0.0
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
145
|
-
* https://openapi-generator.tech
|
|
146
|
-
* Do not edit the class manually.
|
|
147
|
-
*/
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @export
|
|
151
|
-
* @interface CryptoLoanBorrowResponse
|
|
152
|
-
*/
|
|
153
|
-
interface CryptoLoanBorrowResponse {
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof CryptoLoanBorrowResponse
|
|
158
|
-
*/
|
|
159
|
-
loanCoin?: string;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof CryptoLoanBorrowResponse
|
|
164
|
-
*/
|
|
165
|
-
loanAmount?: string;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof CryptoLoanBorrowResponse
|
|
170
|
-
*/
|
|
171
|
-
collateralCoin?: string;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof CryptoLoanBorrowResponse
|
|
176
|
-
*/
|
|
177
|
-
collateralAmount?: string;
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {string}
|
|
181
|
-
* @memberof CryptoLoanBorrowResponse
|
|
182
|
-
*/
|
|
183
|
-
hourlyInterestRate?: string;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof CryptoLoanBorrowResponse
|
|
188
|
-
*/
|
|
189
|
-
orderId?: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Binance Crypto Loan REST API
|
|
194
|
-
*
|
|
195
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
196
|
-
*
|
|
197
|
-
* The version of the OpenAPI document: 1.0.0
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
201
|
-
* https://openapi-generator.tech
|
|
202
|
-
* Do not edit the class manually.
|
|
203
|
-
*/
|
|
204
|
-
/**
|
|
205
|
-
*
|
|
206
|
-
* @export
|
|
207
|
-
* @interface CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
208
|
-
*/
|
|
209
|
-
interface CryptoLoanCustomizeMarginCallResponseRowsInner {
|
|
210
|
-
/**
|
|
211
|
-
*
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
214
|
-
*/
|
|
215
|
-
orderId?: string;
|
|
216
|
-
/**
|
|
217
|
-
*
|
|
218
|
-
* @type {string}
|
|
219
|
-
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
220
|
-
*/
|
|
221
|
-
collateralCoin?: string;
|
|
222
|
-
/**
|
|
223
|
-
*
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
226
|
-
*/
|
|
227
|
-
preMarginCall?: string;
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
* @type {string}
|
|
231
|
-
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
232
|
-
*/
|
|
233
|
-
afterMarginCall?: string;
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @type {number}
|
|
237
|
-
* @memberof CryptoLoanCustomizeMarginCallResponseRowsInner
|
|
238
|
-
*/
|
|
239
|
-
customizeTime?: number;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Binance Crypto Loan REST API
|
|
244
|
-
*
|
|
245
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
246
|
-
*
|
|
247
|
-
* The version of the OpenAPI document: 1.0.0
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
251
|
-
* https://openapi-generator.tech
|
|
252
|
-
* Do not edit the class manually.
|
|
253
|
-
*/
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
* @export
|
|
258
|
-
* @interface CryptoLoanCustomizeMarginCallResponse
|
|
259
|
-
*/
|
|
260
|
-
interface CryptoLoanCustomizeMarginCallResponse {
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* @type {Array<CryptoLoanCustomizeMarginCallResponseRowsInner>}
|
|
264
|
-
* @memberof CryptoLoanCustomizeMarginCallResponse
|
|
265
|
-
*/
|
|
266
|
-
rows?: Array<CryptoLoanCustomizeMarginCallResponseRowsInner>;
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
* @type {number}
|
|
270
|
-
* @memberof CryptoLoanCustomizeMarginCallResponse
|
|
271
|
-
*/
|
|
272
|
-
total?: number;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Binance Crypto Loan REST API
|
|
277
|
-
*
|
|
278
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
279
|
-
*
|
|
280
|
-
* The version of the OpenAPI document: 1.0.0
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
284
|
-
* https://openapi-generator.tech
|
|
285
|
-
* Do not edit the class manually.
|
|
286
|
-
*/
|
|
287
|
-
/**
|
|
288
|
-
*
|
|
289
|
-
* @export
|
|
290
|
-
* @interface CryptoLoanRepayResponse
|
|
291
|
-
*/
|
|
292
|
-
interface CryptoLoanRepayResponse {
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* @type {string}
|
|
296
|
-
* @memberof CryptoLoanRepayResponse
|
|
297
|
-
*/
|
|
298
|
-
loanCoin?: string;
|
|
299
|
-
/**
|
|
300
|
-
*
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof CryptoLoanRepayResponse
|
|
303
|
-
*/
|
|
304
|
-
remainingPrincipal?: string;
|
|
305
|
-
/**
|
|
306
|
-
*
|
|
307
|
-
* @type {string}
|
|
308
|
-
* @memberof CryptoLoanRepayResponse
|
|
309
|
-
*/
|
|
310
|
-
remainingInterest?: string;
|
|
311
|
-
/**
|
|
312
|
-
*
|
|
313
|
-
* @type {string}
|
|
314
|
-
* @memberof CryptoLoanRepayResponse
|
|
315
|
-
*/
|
|
316
|
-
collateralCoin?: string;
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof CryptoLoanRepayResponse
|
|
321
|
-
*/
|
|
322
|
-
remainingCollateral?: string;
|
|
323
|
-
/**
|
|
324
|
-
*
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof CryptoLoanRepayResponse
|
|
327
|
-
*/
|
|
328
|
-
currentLTV?: string;
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @type {string}
|
|
332
|
-
* @memberof CryptoLoanRepayResponse
|
|
333
|
-
*/
|
|
334
|
-
repayStatus?: string;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
86
|
/**
|
|
338
87
|
* Binance Crypto Loan REST API
|
|
339
88
|
*
|
|
@@ -429,195 +178,15 @@ interface FlexibleLoanBorrowResponse {
|
|
|
429
178
|
/**
|
|
430
179
|
*
|
|
431
180
|
* @type {string}
|
|
432
|
-
* @memberof FlexibleLoanBorrowResponse
|
|
433
|
-
*/
|
|
434
|
-
collateralAmount?: string;
|
|
435
|
-
/**
|
|
436
|
-
*
|
|
437
|
-
* @type {string}
|
|
438
|
-
* @memberof FlexibleLoanBorrowResponse
|
|
439
|
-
*/
|
|
440
|
-
status?: string;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* Binance Crypto Loan REST API
|
|
445
|
-
*
|
|
446
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
447
|
-
*
|
|
448
|
-
* The version of the OpenAPI document: 1.0.0
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
452
|
-
* https://openapi-generator.tech
|
|
453
|
-
* Do not edit the class manually.
|
|
454
|
-
*/
|
|
455
|
-
/**
|
|
456
|
-
*
|
|
457
|
-
* @export
|
|
458
|
-
* @interface FlexibleLoanCollateralRepaymentResponse
|
|
459
|
-
*/
|
|
460
|
-
interface FlexibleLoanCollateralRepaymentResponse {
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
* @type {string}
|
|
464
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
465
|
-
*/
|
|
466
|
-
loanCoin?: string;
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @type {string}
|
|
470
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
471
|
-
*/
|
|
472
|
-
collateralCoin?: string;
|
|
473
|
-
/**
|
|
474
|
-
*
|
|
475
|
-
* @type {string}
|
|
476
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
477
|
-
*/
|
|
478
|
-
remainingDebt?: string;
|
|
479
|
-
/**
|
|
480
|
-
*
|
|
481
|
-
* @type {string}
|
|
482
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
483
|
-
*/
|
|
484
|
-
remainingCollateral?: string;
|
|
485
|
-
/**
|
|
486
|
-
*
|
|
487
|
-
* @type {boolean}
|
|
488
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
489
|
-
*/
|
|
490
|
-
fullRepayment?: boolean;
|
|
491
|
-
/**
|
|
492
|
-
*
|
|
493
|
-
* @type {string}
|
|
494
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
495
|
-
*/
|
|
496
|
-
currentLTV?: string;
|
|
497
|
-
/**
|
|
498
|
-
*
|
|
499
|
-
* @type {string}
|
|
500
|
-
* @memberof FlexibleLoanCollateralRepaymentResponse
|
|
501
|
-
*/
|
|
502
|
-
repayStatus?: string;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Binance Crypto Loan REST API
|
|
507
|
-
*
|
|
508
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
509
|
-
*
|
|
510
|
-
* The version of the OpenAPI document: 1.0.0
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
514
|
-
* https://openapi-generator.tech
|
|
515
|
-
* Do not edit the class manually.
|
|
516
|
-
*/
|
|
517
|
-
/**
|
|
518
|
-
*
|
|
519
|
-
* @export
|
|
520
|
-
* @interface FlexibleLoanRepayResponse
|
|
521
|
-
*/
|
|
522
|
-
interface FlexibleLoanRepayResponse {
|
|
523
|
-
/**
|
|
524
|
-
*
|
|
525
|
-
* @type {string}
|
|
526
|
-
* @memberof FlexibleLoanRepayResponse
|
|
527
|
-
*/
|
|
528
|
-
loanCoin?: string;
|
|
529
|
-
/**
|
|
530
|
-
*
|
|
531
|
-
* @type {string}
|
|
532
|
-
* @memberof FlexibleLoanRepayResponse
|
|
533
|
-
*/
|
|
534
|
-
collateralCoin?: string;
|
|
535
|
-
/**
|
|
536
|
-
*
|
|
537
|
-
* @type {string}
|
|
538
|
-
* @memberof FlexibleLoanRepayResponse
|
|
539
|
-
*/
|
|
540
|
-
remainingDebt?: string;
|
|
541
|
-
/**
|
|
542
|
-
*
|
|
543
|
-
* @type {string}
|
|
544
|
-
* @memberof FlexibleLoanRepayResponse
|
|
545
|
-
*/
|
|
546
|
-
remainingCollateral?: string;
|
|
547
|
-
/**
|
|
548
|
-
*
|
|
549
|
-
* @type {boolean}
|
|
550
|
-
* @memberof FlexibleLoanRepayResponse
|
|
551
|
-
*/
|
|
552
|
-
fullRepayment?: boolean;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @type {string}
|
|
556
|
-
* @memberof FlexibleLoanRepayResponse
|
|
557
|
-
*/
|
|
558
|
-
currentLTV?: string;
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
* @type {string}
|
|
562
|
-
* @memberof FlexibleLoanRepayResponse
|
|
563
|
-
*/
|
|
564
|
-
repayStatus?: string;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Binance Crypto Loan REST API
|
|
569
|
-
*
|
|
570
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
571
|
-
*
|
|
572
|
-
* The version of the OpenAPI document: 1.0.0
|
|
573
|
-
*
|
|
574
|
-
*
|
|
575
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
576
|
-
* https://openapi-generator.tech
|
|
577
|
-
* Do not edit the class manually.
|
|
578
|
-
*/
|
|
579
|
-
/**
|
|
580
|
-
*
|
|
581
|
-
* @export
|
|
582
|
-
* @interface GetCollateralAssetsDataResponseRowsInner
|
|
583
|
-
*/
|
|
584
|
-
interface GetCollateralAssetsDataResponseRowsInner {
|
|
585
|
-
/**
|
|
586
|
-
*
|
|
587
|
-
* @type {string}
|
|
588
|
-
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
589
|
-
*/
|
|
590
|
-
collateralCoin?: string;
|
|
591
|
-
/**
|
|
592
|
-
*
|
|
593
|
-
* @type {string}
|
|
594
|
-
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
595
|
-
*/
|
|
596
|
-
initialLTV?: string;
|
|
597
|
-
/**
|
|
598
|
-
*
|
|
599
|
-
* @type {string}
|
|
600
|
-
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
601
|
-
*/
|
|
602
|
-
marginCallLTV?: string;
|
|
603
|
-
/**
|
|
604
|
-
*
|
|
605
|
-
* @type {string}
|
|
606
|
-
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
607
|
-
*/
|
|
608
|
-
liquidationLTV?: string;
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof GetCollateralAssetsDataResponseRowsInner
|
|
181
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
613
182
|
*/
|
|
614
|
-
|
|
183
|
+
collateralAmount?: string;
|
|
615
184
|
/**
|
|
616
185
|
*
|
|
617
|
-
* @type {
|
|
618
|
-
* @memberof
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof FlexibleLoanBorrowResponse
|
|
619
188
|
*/
|
|
620
|
-
|
|
189
|
+
status?: string;
|
|
621
190
|
}
|
|
622
191
|
|
|
623
192
|
/**
|
|
@@ -632,25 +201,54 @@ interface GetCollateralAssetsDataResponseRowsInner {
|
|
|
632
201
|
* https://openapi-generator.tech
|
|
633
202
|
* Do not edit the class manually.
|
|
634
203
|
*/
|
|
635
|
-
|
|
636
204
|
/**
|
|
637
205
|
*
|
|
638
206
|
* @export
|
|
639
|
-
* @interface
|
|
207
|
+
* @interface FlexibleLoanRepayResponse
|
|
640
208
|
*/
|
|
641
|
-
interface
|
|
209
|
+
interface FlexibleLoanRepayResponse {
|
|
642
210
|
/**
|
|
643
211
|
*
|
|
644
|
-
* @type {
|
|
645
|
-
* @memberof
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof FlexibleLoanRepayResponse
|
|
646
214
|
*/
|
|
647
|
-
|
|
215
|
+
loanCoin?: string;
|
|
648
216
|
/**
|
|
649
217
|
*
|
|
650
|
-
* @type {
|
|
651
|
-
* @memberof
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof FlexibleLoanRepayResponse
|
|
652
220
|
*/
|
|
653
|
-
|
|
221
|
+
collateralCoin?: string;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof FlexibleLoanRepayResponse
|
|
226
|
+
*/
|
|
227
|
+
remainingDebt?: string;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof FlexibleLoanRepayResponse
|
|
232
|
+
*/
|
|
233
|
+
remainingCollateral?: string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {boolean}
|
|
237
|
+
* @memberof FlexibleLoanRepayResponse
|
|
238
|
+
*/
|
|
239
|
+
fullRepayment?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof FlexibleLoanRepayResponse
|
|
244
|
+
*/
|
|
245
|
+
currentLTV?: string;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof FlexibleLoanRepayResponse
|
|
250
|
+
*/
|
|
251
|
+
repayStatus?: string;
|
|
654
252
|
}
|
|
655
253
|
|
|
656
254
|
/**
|
|
@@ -1285,241 +883,33 @@ interface GetFlexibleLoanRepaymentHistoryResponseRowsInner {
|
|
|
1285
883
|
/**
|
|
1286
884
|
*
|
|
1287
885
|
* @type {string}
|
|
1288
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1289
|
-
*/
|
|
1290
|
-
repayAmount?: string;
|
|
1291
|
-
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @type {string}
|
|
1294
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1295
|
-
*/
|
|
1296
|
-
collateralCoin?: string;
|
|
1297
|
-
/**
|
|
1298
|
-
*
|
|
1299
|
-
* @type {string}
|
|
1300
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1301
|
-
*/
|
|
1302
|
-
collateralReturn?: string;
|
|
1303
|
-
/**
|
|
1304
|
-
*
|
|
1305
|
-
* @type {string}
|
|
1306
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1307
|
-
*/
|
|
1308
|
-
repayStatus?: string;
|
|
1309
|
-
/**
|
|
1310
|
-
*
|
|
1311
|
-
* @type {number}
|
|
1312
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1313
|
-
*/
|
|
1314
|
-
repayTime?: number;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
* Binance Crypto Loan REST API
|
|
1319
|
-
*
|
|
1320
|
-
* OpenAPI Specification for the Binance 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 GetFlexibleLoanRepaymentHistoryResponse
|
|
1334
|
-
*/
|
|
1335
|
-
interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
1336
|
-
/**
|
|
1337
|
-
*
|
|
1338
|
-
* @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
|
|
1339
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1340
|
-
*/
|
|
1341
|
-
rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
|
|
1342
|
-
/**
|
|
1343
|
-
*
|
|
1344
|
-
* @type {number}
|
|
1345
|
-
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1346
|
-
*/
|
|
1347
|
-
total?: number;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* Binance Crypto Loan REST API
|
|
1352
|
-
*
|
|
1353
|
-
* OpenAPI Specification for the Binance 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 GetLoanBorrowHistoryResponseRowsInner
|
|
1366
|
-
*/
|
|
1367
|
-
interface GetLoanBorrowHistoryResponseRowsInner {
|
|
1368
|
-
/**
|
|
1369
|
-
*
|
|
1370
|
-
* @type {number}
|
|
1371
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1372
|
-
*/
|
|
1373
|
-
orderId?: number;
|
|
1374
|
-
/**
|
|
1375
|
-
*
|
|
1376
|
-
* @type {string}
|
|
1377
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1378
|
-
*/
|
|
1379
|
-
loanCoin?: string;
|
|
1380
|
-
/**
|
|
1381
|
-
*
|
|
1382
|
-
* @type {string}
|
|
1383
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1384
|
-
*/
|
|
1385
|
-
initialLoanAmount?: string;
|
|
1386
|
-
/**
|
|
1387
|
-
*
|
|
1388
|
-
* @type {string}
|
|
1389
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1390
|
-
*/
|
|
1391
|
-
hourlyInterestRate?: string;
|
|
1392
|
-
/**
|
|
1393
|
-
*
|
|
1394
|
-
* @type {string}
|
|
1395
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1396
|
-
*/
|
|
1397
|
-
loanTerm?: string;
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @type {string}
|
|
1401
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1402
|
-
*/
|
|
1403
|
-
collateralCoin?: string;
|
|
1404
|
-
/**
|
|
1405
|
-
*
|
|
1406
|
-
* @type {string}
|
|
1407
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1408
|
-
*/
|
|
1409
|
-
initialCollateralAmount?: string;
|
|
1410
|
-
/**
|
|
1411
|
-
*
|
|
1412
|
-
* @type {number}
|
|
1413
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1414
|
-
*/
|
|
1415
|
-
borrowTime?: number;
|
|
1416
|
-
/**
|
|
1417
|
-
*
|
|
1418
|
-
* @type {string}
|
|
1419
|
-
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1420
|
-
*/
|
|
1421
|
-
status?: string;
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* Binance Crypto Loan REST API
|
|
1426
|
-
*
|
|
1427
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1428
|
-
*
|
|
1429
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1430
|
-
*
|
|
1431
|
-
*
|
|
1432
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1433
|
-
* https://openapi-generator.tech
|
|
1434
|
-
* Do not edit the class manually.
|
|
1435
|
-
*/
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
*
|
|
1439
|
-
* @export
|
|
1440
|
-
* @interface GetLoanBorrowHistoryResponse
|
|
1441
|
-
*/
|
|
1442
|
-
interface GetLoanBorrowHistoryResponse {
|
|
1443
|
-
/**
|
|
1444
|
-
*
|
|
1445
|
-
* @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
|
|
1446
|
-
* @memberof GetLoanBorrowHistoryResponse
|
|
1447
|
-
*/
|
|
1448
|
-
rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
|
|
1449
|
-
/**
|
|
1450
|
-
*
|
|
1451
|
-
* @type {number}
|
|
1452
|
-
* @memberof GetLoanBorrowHistoryResponse
|
|
1453
|
-
*/
|
|
1454
|
-
total?: number;
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* Binance Crypto Loan REST API
|
|
1459
|
-
*
|
|
1460
|
-
* OpenAPI Specification for the Binance Crypto Loan REST API
|
|
1461
|
-
*
|
|
1462
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1465
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1466
|
-
* https://openapi-generator.tech
|
|
1467
|
-
* Do not edit the class manually.
|
|
1468
|
-
*/
|
|
1469
|
-
/**
|
|
1470
|
-
*
|
|
1471
|
-
* @export
|
|
1472
|
-
* @interface GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1473
|
-
*/
|
|
1474
|
-
interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
1475
|
-
/**
|
|
1476
|
-
*
|
|
1477
|
-
* @type {string}
|
|
1478
|
-
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1479
|
-
*/
|
|
1480
|
-
loanCoin?: string;
|
|
1481
|
-
/**
|
|
1482
|
-
*
|
|
1483
|
-
* @type {string}
|
|
1484
|
-
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1485
|
-
*/
|
|
1486
|
-
collateralCoin?: string;
|
|
1487
|
-
/**
|
|
1488
|
-
*
|
|
1489
|
-
* @type {string}
|
|
1490
|
-
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1491
|
-
*/
|
|
1492
|
-
direction?: string;
|
|
1493
|
-
/**
|
|
1494
|
-
*
|
|
1495
|
-
* @type {string}
|
|
1496
|
-
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
886
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1497
887
|
*/
|
|
1498
|
-
|
|
888
|
+
repayAmount?: string;
|
|
1499
889
|
/**
|
|
1500
890
|
*
|
|
1501
891
|
* @type {string}
|
|
1502
|
-
* @memberof
|
|
892
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1503
893
|
*/
|
|
1504
|
-
|
|
894
|
+
collateralCoin?: string;
|
|
1505
895
|
/**
|
|
1506
896
|
*
|
|
1507
897
|
* @type {string}
|
|
1508
|
-
* @memberof
|
|
898
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1509
899
|
*/
|
|
1510
|
-
|
|
900
|
+
collateralReturn?: string;
|
|
1511
901
|
/**
|
|
1512
902
|
*
|
|
1513
|
-
* @type {
|
|
1514
|
-
* @memberof
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1515
905
|
*/
|
|
1516
|
-
|
|
906
|
+
repayStatus?: string;
|
|
1517
907
|
/**
|
|
1518
908
|
*
|
|
1519
909
|
* @type {number}
|
|
1520
|
-
* @memberof
|
|
910
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponseRowsInner
|
|
1521
911
|
*/
|
|
1522
|
-
|
|
912
|
+
repayTime?: number;
|
|
1523
913
|
}
|
|
1524
914
|
|
|
1525
915
|
/**
|
|
@@ -1538,19 +928,19 @@ interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
|
1538
928
|
/**
|
|
1539
929
|
*
|
|
1540
930
|
* @export
|
|
1541
|
-
* @interface
|
|
931
|
+
* @interface GetFlexibleLoanRepaymentHistoryResponse
|
|
1542
932
|
*/
|
|
1543
|
-
interface
|
|
933
|
+
interface GetFlexibleLoanRepaymentHistoryResponse {
|
|
1544
934
|
/**
|
|
1545
935
|
*
|
|
1546
|
-
* @type {Array<
|
|
1547
|
-
* @memberof
|
|
936
|
+
* @type {Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>}
|
|
937
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1548
938
|
*/
|
|
1549
|
-
rows?: Array<
|
|
939
|
+
rows?: Array<GetFlexibleLoanRepaymentHistoryResponseRowsInner>;
|
|
1550
940
|
/**
|
|
1551
941
|
*
|
|
1552
942
|
* @type {number}
|
|
1553
|
-
* @memberof
|
|
943
|
+
* @memberof GetFlexibleLoanRepaymentHistoryResponse
|
|
1554
944
|
*/
|
|
1555
945
|
total?: number;
|
|
1556
946
|
}
|
|
@@ -1570,57 +960,63 @@ interface GetLoanLtvAdjustmentHistoryResponse {
|
|
|
1570
960
|
/**
|
|
1571
961
|
*
|
|
1572
962
|
* @export
|
|
1573
|
-
* @interface
|
|
963
|
+
* @interface GetLoanBorrowHistoryResponseRowsInner
|
|
1574
964
|
*/
|
|
1575
|
-
interface
|
|
965
|
+
interface GetLoanBorrowHistoryResponseRowsInner {
|
|
1576
966
|
/**
|
|
1577
967
|
*
|
|
1578
968
|
* @type {number}
|
|
1579
|
-
* @memberof
|
|
969
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1580
970
|
*/
|
|
1581
971
|
orderId?: number;
|
|
1582
972
|
/**
|
|
1583
973
|
*
|
|
1584
974
|
* @type {string}
|
|
1585
|
-
* @memberof
|
|
975
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1586
976
|
*/
|
|
1587
977
|
loanCoin?: string;
|
|
1588
978
|
/**
|
|
1589
979
|
*
|
|
1590
980
|
* @type {string}
|
|
1591
|
-
* @memberof
|
|
981
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1592
982
|
*/
|
|
1593
|
-
|
|
983
|
+
initialLoanAmount?: string;
|
|
1594
984
|
/**
|
|
1595
985
|
*
|
|
1596
986
|
* @type {string}
|
|
1597
|
-
* @memberof
|
|
987
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1598
988
|
*/
|
|
1599
|
-
|
|
989
|
+
hourlyInterestRate?: string;
|
|
1600
990
|
/**
|
|
1601
991
|
*
|
|
1602
992
|
* @type {string}
|
|
1603
|
-
* @memberof
|
|
993
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1604
994
|
*/
|
|
1605
|
-
|
|
995
|
+
loanTerm?: string;
|
|
1606
996
|
/**
|
|
1607
997
|
*
|
|
1608
998
|
* @type {string}
|
|
1609
|
-
* @memberof
|
|
999
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1610
1000
|
*/
|
|
1611
|
-
|
|
1001
|
+
collateralCoin?: string;
|
|
1612
1002
|
/**
|
|
1613
1003
|
*
|
|
1614
1004
|
* @type {string}
|
|
1615
|
-
* @memberof
|
|
1005
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1616
1006
|
*/
|
|
1617
|
-
|
|
1007
|
+
initialCollateralAmount?: string;
|
|
1618
1008
|
/**
|
|
1619
1009
|
*
|
|
1620
1010
|
* @type {number}
|
|
1621
|
-
* @memberof
|
|
1011
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1012
|
+
*/
|
|
1013
|
+
borrowTime?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof GetLoanBorrowHistoryResponseRowsInner
|
|
1622
1018
|
*/
|
|
1623
|
-
|
|
1019
|
+
status?: string;
|
|
1624
1020
|
}
|
|
1625
1021
|
|
|
1626
1022
|
/**
|
|
@@ -1639,19 +1035,19 @@ interface GetLoanOngoingOrdersResponseRowsInner {
|
|
|
1639
1035
|
/**
|
|
1640
1036
|
*
|
|
1641
1037
|
* @export
|
|
1642
|
-
* @interface
|
|
1038
|
+
* @interface GetLoanBorrowHistoryResponse
|
|
1643
1039
|
*/
|
|
1644
|
-
interface
|
|
1040
|
+
interface GetLoanBorrowHistoryResponse {
|
|
1645
1041
|
/**
|
|
1646
1042
|
*
|
|
1647
|
-
* @type {Array<
|
|
1648
|
-
* @memberof
|
|
1043
|
+
* @type {Array<GetLoanBorrowHistoryResponseRowsInner>}
|
|
1044
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
1649
1045
|
*/
|
|
1650
|
-
rows?: Array<
|
|
1046
|
+
rows?: Array<GetLoanBorrowHistoryResponseRowsInner>;
|
|
1651
1047
|
/**
|
|
1652
1048
|
*
|
|
1653
1049
|
* @type {number}
|
|
1654
|
-
* @memberof
|
|
1050
|
+
* @memberof GetLoanBorrowHistoryResponse
|
|
1655
1051
|
*/
|
|
1656
1052
|
total?: number;
|
|
1657
1053
|
}
|
|
@@ -1671,61 +1067,55 @@ interface GetLoanOngoingOrdersResponse {
|
|
|
1671
1067
|
/**
|
|
1672
1068
|
*
|
|
1673
1069
|
* @export
|
|
1674
|
-
* @interface
|
|
1070
|
+
* @interface GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1675
1071
|
*/
|
|
1676
|
-
interface
|
|
1072
|
+
interface GetLoanLtvAdjustmentHistoryResponseRowsInner {
|
|
1677
1073
|
/**
|
|
1678
1074
|
*
|
|
1679
1075
|
* @type {string}
|
|
1680
|
-
* @memberof
|
|
1076
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1681
1077
|
*/
|
|
1682
1078
|
loanCoin?: string;
|
|
1683
1079
|
/**
|
|
1684
1080
|
*
|
|
1685
1081
|
* @type {string}
|
|
1686
|
-
* @memberof
|
|
1687
|
-
*/
|
|
1688
|
-
repayAmount?: string;
|
|
1689
|
-
/**
|
|
1690
|
-
*
|
|
1691
|
-
* @type {string}
|
|
1692
|
-
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1082
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1693
1083
|
*/
|
|
1694
1084
|
collateralCoin?: string;
|
|
1695
1085
|
/**
|
|
1696
1086
|
*
|
|
1697
1087
|
* @type {string}
|
|
1698
|
-
* @memberof
|
|
1088
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1699
1089
|
*/
|
|
1700
|
-
|
|
1090
|
+
direction?: string;
|
|
1701
1091
|
/**
|
|
1702
1092
|
*
|
|
1703
1093
|
* @type {string}
|
|
1704
|
-
* @memberof
|
|
1094
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1705
1095
|
*/
|
|
1706
|
-
|
|
1096
|
+
amount?: string;
|
|
1707
1097
|
/**
|
|
1708
1098
|
*
|
|
1709
1099
|
* @type {string}
|
|
1710
|
-
* @memberof
|
|
1100
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1711
1101
|
*/
|
|
1712
|
-
|
|
1102
|
+
preLTV?: string;
|
|
1713
1103
|
/**
|
|
1714
1104
|
*
|
|
1715
1105
|
* @type {string}
|
|
1716
|
-
* @memberof
|
|
1106
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1717
1107
|
*/
|
|
1718
|
-
|
|
1108
|
+
afterLTV?: string;
|
|
1719
1109
|
/**
|
|
1720
1110
|
*
|
|
1721
1111
|
* @type {number}
|
|
1722
|
-
* @memberof
|
|
1112
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1723
1113
|
*/
|
|
1724
|
-
|
|
1114
|
+
adjustTime?: number;
|
|
1725
1115
|
/**
|
|
1726
1116
|
*
|
|
1727
1117
|
* @type {number}
|
|
1728
|
-
* @memberof
|
|
1118
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponseRowsInner
|
|
1729
1119
|
*/
|
|
1730
1120
|
orderId?: number;
|
|
1731
1121
|
}
|
|
@@ -1746,19 +1136,19 @@ interface GetLoanRepaymentHistoryResponseRowsInner {
|
|
|
1746
1136
|
/**
|
|
1747
1137
|
*
|
|
1748
1138
|
* @export
|
|
1749
|
-
* @interface
|
|
1139
|
+
* @interface GetLoanLtvAdjustmentHistoryResponse
|
|
1750
1140
|
*/
|
|
1751
|
-
interface
|
|
1141
|
+
interface GetLoanLtvAdjustmentHistoryResponse {
|
|
1752
1142
|
/**
|
|
1753
1143
|
*
|
|
1754
|
-
* @type {Array<
|
|
1755
|
-
* @memberof
|
|
1144
|
+
* @type {Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>}
|
|
1145
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1756
1146
|
*/
|
|
1757
|
-
rows?: Array<
|
|
1147
|
+
rows?: Array<GetLoanLtvAdjustmentHistoryResponseRowsInner>;
|
|
1758
1148
|
/**
|
|
1759
1149
|
*
|
|
1760
1150
|
* @type {number}
|
|
1761
|
-
* @memberof
|
|
1151
|
+
* @memberof GetLoanLtvAdjustmentHistoryResponse
|
|
1762
1152
|
*/
|
|
1763
1153
|
total?: number;
|
|
1764
1154
|
}
|
|
@@ -1778,93 +1168,63 @@ interface GetLoanRepaymentHistoryResponse {
|
|
|
1778
1168
|
/**
|
|
1779
1169
|
*
|
|
1780
1170
|
* @export
|
|
1781
|
-
* @interface
|
|
1171
|
+
* @interface GetLoanRepaymentHistoryResponseRowsInner
|
|
1782
1172
|
*/
|
|
1783
|
-
interface
|
|
1173
|
+
interface GetLoanRepaymentHistoryResponseRowsInner {
|
|
1784
1174
|
/**
|
|
1785
1175
|
*
|
|
1786
1176
|
* @type {string}
|
|
1787
|
-
* @memberof
|
|
1177
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1788
1178
|
*/
|
|
1789
1179
|
loanCoin?: string;
|
|
1790
1180
|
/**
|
|
1791
1181
|
*
|
|
1792
1182
|
* @type {string}
|
|
1793
|
-
* @memberof
|
|
1794
|
-
*/
|
|
1795
|
-
_7dHourlyInterestRate?: string;
|
|
1796
|
-
/**
|
|
1797
|
-
*
|
|
1798
|
-
* @type {string}
|
|
1799
|
-
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1800
|
-
*/
|
|
1801
|
-
_7dDailyInterestRate?: string;
|
|
1802
|
-
/**
|
|
1803
|
-
*
|
|
1804
|
-
* @type {string}
|
|
1805
|
-
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1806
|
-
*/
|
|
1807
|
-
_14dHourlyInterestRate?: string;
|
|
1808
|
-
/**
|
|
1809
|
-
*
|
|
1810
|
-
* @type {string}
|
|
1811
|
-
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1812
|
-
*/
|
|
1813
|
-
_14dDailyInterestRate?: string;
|
|
1814
|
-
/**
|
|
1815
|
-
*
|
|
1816
|
-
* @type {string}
|
|
1817
|
-
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1818
|
-
*/
|
|
1819
|
-
_30dHourlyInterestRate?: string;
|
|
1820
|
-
/**
|
|
1821
|
-
*
|
|
1822
|
-
* @type {string}
|
|
1823
|
-
* @memberof GetLoanableAssetsDataResponseRowsInner
|
|
1183
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1824
1184
|
*/
|
|
1825
|
-
|
|
1185
|
+
repayAmount?: string;
|
|
1826
1186
|
/**
|
|
1827
1187
|
*
|
|
1828
1188
|
* @type {string}
|
|
1829
|
-
* @memberof
|
|
1189
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1830
1190
|
*/
|
|
1831
|
-
|
|
1191
|
+
collateralCoin?: string;
|
|
1832
1192
|
/**
|
|
1833
1193
|
*
|
|
1834
1194
|
* @type {string}
|
|
1835
|
-
* @memberof
|
|
1195
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1836
1196
|
*/
|
|
1837
|
-
|
|
1197
|
+
collateralUsed?: string;
|
|
1838
1198
|
/**
|
|
1839
1199
|
*
|
|
1840
1200
|
* @type {string}
|
|
1841
|
-
* @memberof
|
|
1201
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1842
1202
|
*/
|
|
1843
|
-
|
|
1203
|
+
collateralReturn?: string;
|
|
1844
1204
|
/**
|
|
1845
1205
|
*
|
|
1846
1206
|
* @type {string}
|
|
1847
|
-
* @memberof
|
|
1207
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1848
1208
|
*/
|
|
1849
|
-
|
|
1209
|
+
repayType?: string;
|
|
1850
1210
|
/**
|
|
1851
1211
|
*
|
|
1852
1212
|
* @type {string}
|
|
1853
|
-
* @memberof
|
|
1213
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1854
1214
|
*/
|
|
1855
|
-
|
|
1215
|
+
repayStatus?: string;
|
|
1856
1216
|
/**
|
|
1857
1217
|
*
|
|
1858
|
-
* @type {
|
|
1859
|
-
* @memberof
|
|
1218
|
+
* @type {number}
|
|
1219
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1860
1220
|
*/
|
|
1861
|
-
|
|
1221
|
+
repayTime?: number;
|
|
1862
1222
|
/**
|
|
1863
1223
|
*
|
|
1864
1224
|
* @type {number}
|
|
1865
|
-
* @memberof
|
|
1225
|
+
* @memberof GetLoanRepaymentHistoryResponseRowsInner
|
|
1866
1226
|
*/
|
|
1867
|
-
|
|
1227
|
+
orderId?: number;
|
|
1868
1228
|
}
|
|
1869
1229
|
|
|
1870
1230
|
/**
|
|
@@ -1883,19 +1243,19 @@ interface GetLoanableAssetsDataResponseRowsInner {
|
|
|
1883
1243
|
/**
|
|
1884
1244
|
*
|
|
1885
1245
|
* @export
|
|
1886
|
-
* @interface
|
|
1246
|
+
* @interface GetLoanRepaymentHistoryResponse
|
|
1887
1247
|
*/
|
|
1888
|
-
interface
|
|
1248
|
+
interface GetLoanRepaymentHistoryResponse {
|
|
1889
1249
|
/**
|
|
1890
1250
|
*
|
|
1891
|
-
* @type {Array<
|
|
1892
|
-
* @memberof
|
|
1251
|
+
* @type {Array<GetLoanRepaymentHistoryResponseRowsInner>}
|
|
1252
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1893
1253
|
*/
|
|
1894
|
-
rows?: Array<
|
|
1254
|
+
rows?: Array<GetLoanRepaymentHistoryResponseRowsInner>;
|
|
1895
1255
|
/**
|
|
1896
1256
|
*
|
|
1897
1257
|
* @type {number}
|
|
1898
|
-
* @memberof
|
|
1258
|
+
* @memberof GetLoanRepaymentHistoryResponse
|
|
1899
1259
|
*/
|
|
1900
1260
|
total?: number;
|
|
1901
1261
|
}
|
|
@@ -1959,17 +1319,6 @@ interface FlexibleRateApiInterface {
|
|
|
1959
1319
|
* @memberof FlexibleRateApiInterface
|
|
1960
1320
|
*/
|
|
1961
1321
|
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
1962
|
-
/**
|
|
1963
|
-
*
|
|
1964
|
-
* Weight: 6000
|
|
1965
|
-
*
|
|
1966
|
-
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
1967
|
-
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
1968
|
-
*
|
|
1969
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1970
|
-
* @memberof FlexibleRateApiInterface
|
|
1971
|
-
*/
|
|
1972
|
-
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
1973
1322
|
/**
|
|
1974
1323
|
* Flexible Loan Repay
|
|
1975
1324
|
*
|
|
@@ -2162,42 +1511,6 @@ interface FlexibleLoanBorrowRequest {
|
|
|
2162
1511
|
*/
|
|
2163
1512
|
readonly recvWindow?: number;
|
|
2164
1513
|
}
|
|
2165
|
-
/**
|
|
2166
|
-
* Request parameters for flexibleLoanCollateralRepayment operation in FlexibleRateApi.
|
|
2167
|
-
* @interface FlexibleLoanCollateralRepaymentRequest
|
|
2168
|
-
*/
|
|
2169
|
-
interface FlexibleLoanCollateralRepaymentRequest {
|
|
2170
|
-
/**
|
|
2171
|
-
*
|
|
2172
|
-
* @type {string}
|
|
2173
|
-
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2174
|
-
*/
|
|
2175
|
-
readonly loanCoin: string;
|
|
2176
|
-
/**
|
|
2177
|
-
*
|
|
2178
|
-
* @type {string}
|
|
2179
|
-
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2180
|
-
*/
|
|
2181
|
-
readonly collateralCoin: string;
|
|
2182
|
-
/**
|
|
2183
|
-
* repay amount of loanCoin
|
|
2184
|
-
* @type {number}
|
|
2185
|
-
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2186
|
-
*/
|
|
2187
|
-
readonly repayAmount: number;
|
|
2188
|
-
/**
|
|
2189
|
-
* Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
2190
|
-
* @type {boolean}
|
|
2191
|
-
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2192
|
-
*/
|
|
2193
|
-
readonly fullRepayment?: boolean;
|
|
2194
|
-
/**
|
|
2195
|
-
*
|
|
2196
|
-
* @type {number}
|
|
2197
|
-
* @memberof FlexibleRateApiFlexibleLoanCollateralRepayment
|
|
2198
|
-
*/
|
|
2199
|
-
readonly recvWindow?: number;
|
|
2200
|
-
}
|
|
2201
1514
|
/**
|
|
2202
1515
|
* Request parameters for flexibleLoanRepay operation in FlexibleRateApi.
|
|
2203
1516
|
* @interface FlexibleLoanRepayRequest
|
|
@@ -2562,18 +1875,6 @@ declare class FlexibleRateApi implements FlexibleRateApiInterface {
|
|
|
2562
1875
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
2563
1876
|
*/
|
|
2564
1877
|
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
2565
|
-
/**
|
|
2566
|
-
*
|
|
2567
|
-
* Weight: 6000
|
|
2568
|
-
*
|
|
2569
|
-
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
2570
|
-
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
2571
|
-
* @returns {Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>}
|
|
2572
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2573
|
-
* @memberof FlexibleRateApi
|
|
2574
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Collateral-Repay Binance API Documentation}
|
|
2575
|
-
*/
|
|
2576
|
-
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
2577
1878
|
/**
|
|
2578
1879
|
* Flexible Loan Repay
|
|
2579
1880
|
*
|
|
@@ -2721,66 +2022,6 @@ interface StableRateApiInterface {
|
|
|
2721
2022
|
* @memberof StableRateApiInterface
|
|
2722
2023
|
*/
|
|
2723
2024
|
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
2724
|
-
/**
|
|
2725
|
-
* Crypto Loan Adjust LTV
|
|
2726
|
-
*
|
|
2727
|
-
* Weight: 6000
|
|
2728
|
-
*
|
|
2729
|
-
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
2730
|
-
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
2731
|
-
*
|
|
2732
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2733
|
-
* @memberof StableRateApiInterface
|
|
2734
|
-
*/
|
|
2735
|
-
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
2736
|
-
/**
|
|
2737
|
-
* Crypto Loan Borrow
|
|
2738
|
-
*
|
|
2739
|
-
* Weight: 6000
|
|
2740
|
-
*
|
|
2741
|
-
* @summary Crypto Loan Borrow(TRADE)
|
|
2742
|
-
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
2743
|
-
*
|
|
2744
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2745
|
-
* @memberof StableRateApiInterface
|
|
2746
|
-
*/
|
|
2747
|
-
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
2748
|
-
/**
|
|
2749
|
-
* Customize Margin Call
|
|
2750
|
-
*
|
|
2751
|
-
* Weight: 6000
|
|
2752
|
-
*
|
|
2753
|
-
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
2754
|
-
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
2755
|
-
*
|
|
2756
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2757
|
-
* @memberof StableRateApiInterface
|
|
2758
|
-
*/
|
|
2759
|
-
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
2760
|
-
/**
|
|
2761
|
-
* Crypto Loan Repay
|
|
2762
|
-
*
|
|
2763
|
-
* Weight: 6000
|
|
2764
|
-
*
|
|
2765
|
-
* @summary Crypto Loan Repay(TRADE)
|
|
2766
|
-
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
2767
|
-
*
|
|
2768
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2769
|
-
* @memberof StableRateApiInterface
|
|
2770
|
-
*/
|
|
2771
|
-
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
2772
|
-
/**
|
|
2773
|
-
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
2774
|
-
*
|
|
2775
|
-
* Weight: 400
|
|
2776
|
-
*
|
|
2777
|
-
* @summary Get Collateral Assets Data(USER_DATA)
|
|
2778
|
-
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
2779
|
-
*
|
|
2780
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2781
|
-
* @memberof StableRateApiInterface
|
|
2782
|
-
*/
|
|
2783
|
-
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
2784
2025
|
/**
|
|
2785
2026
|
* Get Crypto Loans Income History
|
|
2786
2027
|
*
|
|
@@ -2817,27 +2058,15 @@ interface StableRateApiInterface {
|
|
|
2817
2058
|
* If startTime and endTime are not sent, the recent 90-day data will be returned.
|
|
2818
2059
|
* The max interval between startTime and endTime is 180 days.
|
|
2819
2060
|
*
|
|
2820
|
-
* Weight: 400
|
|
2821
|
-
*
|
|
2822
|
-
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
2823
|
-
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2824
|
-
*
|
|
2825
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2826
|
-
* @memberof StableRateApiInterface
|
|
2827
|
-
*/
|
|
2828
|
-
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
2829
|
-
/**
|
|
2830
|
-
* Get Loan Ongoing Orders
|
|
2831
|
-
*
|
|
2832
|
-
* Weight: 300
|
|
2061
|
+
* Weight: 400
|
|
2833
2062
|
*
|
|
2834
|
-
* @summary Get Loan
|
|
2835
|
-
* @param {
|
|
2063
|
+
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
2064
|
+
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
2836
2065
|
*
|
|
2837
2066
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2838
2067
|
* @memberof StableRateApiInterface
|
|
2839
2068
|
*/
|
|
2840
|
-
|
|
2069
|
+
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
2841
2070
|
/**
|
|
2842
2071
|
* Get Loan Repayment History
|
|
2843
2072
|
*
|
|
@@ -2853,18 +2082,6 @@ interface StableRateApiInterface {
|
|
|
2853
2082
|
* @memberof StableRateApiInterface
|
|
2854
2083
|
*/
|
|
2855
2084
|
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
2856
|
-
/**
|
|
2857
|
-
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
2858
|
-
*
|
|
2859
|
-
* Weight: 400
|
|
2860
|
-
*
|
|
2861
|
-
* @summary Get Loanable Assets Data(USER_DATA)
|
|
2862
|
-
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
2863
|
-
*
|
|
2864
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2865
|
-
* @memberof StableRateApiInterface
|
|
2866
|
-
*/
|
|
2867
|
-
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
2868
2085
|
}
|
|
2869
2086
|
/**
|
|
2870
2087
|
* Request parameters for checkCollateralRepayRateStableRate operation in StableRateApi.
|
|
@@ -2896,144 +2113,6 @@ interface CheckCollateralRepayRateStableRateRequest {
|
|
|
2896
2113
|
*/
|
|
2897
2114
|
readonly recvWindow?: number;
|
|
2898
2115
|
}
|
|
2899
|
-
/**
|
|
2900
|
-
* Request parameters for cryptoLoanAdjustLtv operation in StableRateApi.
|
|
2901
|
-
* @interface CryptoLoanAdjustLtvRequest
|
|
2902
|
-
*/
|
|
2903
|
-
interface CryptoLoanAdjustLtvRequest {
|
|
2904
|
-
/**
|
|
2905
|
-
*
|
|
2906
|
-
* @type {number}
|
|
2907
|
-
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2908
|
-
*/
|
|
2909
|
-
readonly orderId: number;
|
|
2910
|
-
/**
|
|
2911
|
-
*
|
|
2912
|
-
* @type {number}
|
|
2913
|
-
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2914
|
-
*/
|
|
2915
|
-
readonly amount: number;
|
|
2916
|
-
/**
|
|
2917
|
-
* "ADDITIONAL", "REDUCED"
|
|
2918
|
-
* @type {string}
|
|
2919
|
-
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2920
|
-
*/
|
|
2921
|
-
readonly direction: string;
|
|
2922
|
-
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @type {number}
|
|
2925
|
-
* @memberof StableRateApiCryptoLoanAdjustLtv
|
|
2926
|
-
*/
|
|
2927
|
-
readonly recvWindow?: number;
|
|
2928
|
-
}
|
|
2929
|
-
/**
|
|
2930
|
-
* Request parameters for cryptoLoanBorrow operation in StableRateApi.
|
|
2931
|
-
* @interface CryptoLoanBorrowRequest
|
|
2932
|
-
*/
|
|
2933
|
-
interface CryptoLoanBorrowRequest {
|
|
2934
|
-
/**
|
|
2935
|
-
*
|
|
2936
|
-
* @type {string}
|
|
2937
|
-
* @memberof StableRateApiCryptoLoanBorrow
|
|
2938
|
-
*/
|
|
2939
|
-
readonly loanCoin: string;
|
|
2940
|
-
/**
|
|
2941
|
-
*
|
|
2942
|
-
* @type {string}
|
|
2943
|
-
* @memberof StableRateApiCryptoLoanBorrow
|
|
2944
|
-
*/
|
|
2945
|
-
readonly collateralCoin: string;
|
|
2946
|
-
/**
|
|
2947
|
-
* 7/30 days
|
|
2948
|
-
* @type {number}
|
|
2949
|
-
* @memberof StableRateApiCryptoLoanBorrow
|
|
2950
|
-
*/
|
|
2951
|
-
readonly loanTerm: number;
|
|
2952
|
-
/**
|
|
2953
|
-
*
|
|
2954
|
-
* @type {number}
|
|
2955
|
-
* @memberof StableRateApiCryptoLoanBorrow
|
|
2956
|
-
*/
|
|
2957
|
-
readonly recvWindow?: number;
|
|
2958
|
-
}
|
|
2959
|
-
/**
|
|
2960
|
-
* Request parameters for cryptoLoanCustomizeMarginCall operation in StableRateApi.
|
|
2961
|
-
* @interface CryptoLoanCustomizeMarginCallRequest
|
|
2962
|
-
*/
|
|
2963
|
-
interface CryptoLoanCustomizeMarginCallRequest {
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
* @type {number}
|
|
2967
|
-
* @memberof StableRateApiCryptoLoanCustomizeMarginCall
|
|
2968
|
-
*/
|
|
2969
|
-
readonly marginCall: number;
|
|
2970
|
-
/**
|
|
2971
|
-
*
|
|
2972
|
-
* @type {number}
|
|
2973
|
-
* @memberof StableRateApiCryptoLoanCustomizeMarginCall
|
|
2974
|
-
*/
|
|
2975
|
-
readonly recvWindow?: number;
|
|
2976
|
-
}
|
|
2977
|
-
/**
|
|
2978
|
-
* Request parameters for cryptoLoanRepay operation in StableRateApi.
|
|
2979
|
-
* @interface CryptoLoanRepayRequest
|
|
2980
|
-
*/
|
|
2981
|
-
interface CryptoLoanRepayRequest {
|
|
2982
|
-
/**
|
|
2983
|
-
*
|
|
2984
|
-
* @type {number}
|
|
2985
|
-
* @memberof StableRateApiCryptoLoanRepay
|
|
2986
|
-
*/
|
|
2987
|
-
readonly orderId: number;
|
|
2988
|
-
/**
|
|
2989
|
-
*
|
|
2990
|
-
* @type {number}
|
|
2991
|
-
* @memberof StableRateApiCryptoLoanRepay
|
|
2992
|
-
*/
|
|
2993
|
-
readonly amount: number;
|
|
2994
|
-
/**
|
|
2995
|
-
* Default: 1. 1 for "repay with borrowed coin"; 2 for "repay with collateral".
|
|
2996
|
-
* @type {number}
|
|
2997
|
-
* @memberof StableRateApiCryptoLoanRepay
|
|
2998
|
-
*/
|
|
2999
|
-
readonly type?: number;
|
|
3000
|
-
/**
|
|
3001
|
-
* Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
3002
|
-
* @type {boolean}
|
|
3003
|
-
* @memberof StableRateApiCryptoLoanRepay
|
|
3004
|
-
*/
|
|
3005
|
-
readonly collateralReturn?: boolean;
|
|
3006
|
-
/**
|
|
3007
|
-
*
|
|
3008
|
-
* @type {number}
|
|
3009
|
-
* @memberof StableRateApiCryptoLoanRepay
|
|
3010
|
-
*/
|
|
3011
|
-
readonly recvWindow?: number;
|
|
3012
|
-
}
|
|
3013
|
-
/**
|
|
3014
|
-
* Request parameters for getCollateralAssetsData operation in StableRateApi.
|
|
3015
|
-
* @interface GetCollateralAssetsDataRequest
|
|
3016
|
-
*/
|
|
3017
|
-
interface GetCollateralAssetsDataRequest {
|
|
3018
|
-
/**
|
|
3019
|
-
*
|
|
3020
|
-
* @type {string}
|
|
3021
|
-
* @memberof StableRateApiGetCollateralAssetsData
|
|
3022
|
-
*/
|
|
3023
|
-
readonly collateralCoin?: string;
|
|
3024
|
-
/**
|
|
3025
|
-
* Default: user's vip level. Send "-1" to check specified configuration
|
|
3026
|
-
* @type {number}
|
|
3027
|
-
* @memberof StableRateApiGetCollateralAssetsData
|
|
3028
|
-
*/
|
|
3029
|
-
readonly vipLevel?: number;
|
|
3030
|
-
/**
|
|
3031
|
-
*
|
|
3032
|
-
* @type {number}
|
|
3033
|
-
* @memberof StableRateApiGetCollateralAssetsData
|
|
3034
|
-
*/
|
|
3035
|
-
readonly recvWindow?: number;
|
|
3036
|
-
}
|
|
3037
2116
|
/**
|
|
3038
2117
|
* Request parameters for getCryptoLoansIncomeHistory operation in StableRateApi.
|
|
3039
2118
|
* @interface GetCryptoLoansIncomeHistoryRequest
|
|
@@ -3082,7 +2161,7 @@ interface GetCryptoLoansIncomeHistoryRequest {
|
|
|
3082
2161
|
*/
|
|
3083
2162
|
interface GetLoanBorrowHistoryRequest {
|
|
3084
2163
|
/**
|
|
3085
|
-
*
|
|
2164
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
3086
2165
|
* @type {number}
|
|
3087
2166
|
* @memberof StableRateApiGetLoanBorrowHistory
|
|
3088
2167
|
*/
|
|
@@ -3136,7 +2215,7 @@ interface GetLoanBorrowHistoryRequest {
|
|
|
3136
2215
|
*/
|
|
3137
2216
|
interface GetLoanLtvAdjustmentHistoryRequest {
|
|
3138
2217
|
/**
|
|
3139
|
-
*
|
|
2218
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
3140
2219
|
* @type {number}
|
|
3141
2220
|
* @memberof StableRateApiGetLoanLtvAdjustmentHistory
|
|
3142
2221
|
*/
|
|
@@ -3184,55 +2263,13 @@ interface GetLoanLtvAdjustmentHistoryRequest {
|
|
|
3184
2263
|
*/
|
|
3185
2264
|
readonly recvWindow?: number;
|
|
3186
2265
|
}
|
|
3187
|
-
/**
|
|
3188
|
-
* Request parameters for getLoanOngoingOrders operation in StableRateApi.
|
|
3189
|
-
* @interface GetLoanOngoingOrdersRequest
|
|
3190
|
-
*/
|
|
3191
|
-
interface GetLoanOngoingOrdersRequest {
|
|
3192
|
-
/**
|
|
3193
|
-
*
|
|
3194
|
-
* @type {number}
|
|
3195
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3196
|
-
*/
|
|
3197
|
-
readonly orderId?: number;
|
|
3198
|
-
/**
|
|
3199
|
-
*
|
|
3200
|
-
* @type {string}
|
|
3201
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3202
|
-
*/
|
|
3203
|
-
readonly loanCoin?: string;
|
|
3204
|
-
/**
|
|
3205
|
-
*
|
|
3206
|
-
* @type {string}
|
|
3207
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3208
|
-
*/
|
|
3209
|
-
readonly collateralCoin?: string;
|
|
3210
|
-
/**
|
|
3211
|
-
* Current querying page. Start from 1; default: 1; max: 1000
|
|
3212
|
-
* @type {number}
|
|
3213
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3214
|
-
*/
|
|
3215
|
-
readonly current?: number;
|
|
3216
|
-
/**
|
|
3217
|
-
* Default: 10; max: 100
|
|
3218
|
-
* @type {number}
|
|
3219
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3220
|
-
*/
|
|
3221
|
-
readonly limit?: number;
|
|
3222
|
-
/**
|
|
3223
|
-
*
|
|
3224
|
-
* @type {number}
|
|
3225
|
-
* @memberof StableRateApiGetLoanOngoingOrders
|
|
3226
|
-
*/
|
|
3227
|
-
readonly recvWindow?: number;
|
|
3228
|
-
}
|
|
3229
2266
|
/**
|
|
3230
2267
|
* Request parameters for getLoanRepaymentHistory operation in StableRateApi.
|
|
3231
2268
|
* @interface GetLoanRepaymentHistoryRequest
|
|
3232
2269
|
*/
|
|
3233
2270
|
interface GetLoanRepaymentHistoryRequest {
|
|
3234
2271
|
/**
|
|
3235
|
-
*
|
|
2272
|
+
* orderId in `POST /sapi/v1/loan/borrow`
|
|
3236
2273
|
* @type {number}
|
|
3237
2274
|
* @memberof StableRateApiGetLoanRepaymentHistory
|
|
3238
2275
|
*/
|
|
@@ -3280,30 +2317,6 @@ interface GetLoanRepaymentHistoryRequest {
|
|
|
3280
2317
|
*/
|
|
3281
2318
|
readonly recvWindow?: number;
|
|
3282
2319
|
}
|
|
3283
|
-
/**
|
|
3284
|
-
* Request parameters for getLoanableAssetsData operation in StableRateApi.
|
|
3285
|
-
* @interface GetLoanableAssetsDataRequest
|
|
3286
|
-
*/
|
|
3287
|
-
interface GetLoanableAssetsDataRequest {
|
|
3288
|
-
/**
|
|
3289
|
-
*
|
|
3290
|
-
* @type {string}
|
|
3291
|
-
* @memberof StableRateApiGetLoanableAssetsData
|
|
3292
|
-
*/
|
|
3293
|
-
readonly loanCoin?: string;
|
|
3294
|
-
/**
|
|
3295
|
-
* Default: user's vip level. Send "-1" to check specified configuration
|
|
3296
|
-
* @type {number}
|
|
3297
|
-
* @memberof StableRateApiGetLoanableAssetsData
|
|
3298
|
-
*/
|
|
3299
|
-
readonly vipLevel?: number;
|
|
3300
|
-
/**
|
|
3301
|
-
*
|
|
3302
|
-
* @type {number}
|
|
3303
|
-
* @memberof StableRateApiGetLoanableAssetsData
|
|
3304
|
-
*/
|
|
3305
|
-
readonly recvWindow?: number;
|
|
3306
|
-
}
|
|
3307
2320
|
/**
|
|
3308
2321
|
* StableRateApi - object-oriented interface
|
|
3309
2322
|
* @class StableRateApi
|
|
@@ -3325,71 +2338,6 @@ declare class StableRateApi implements StableRateApiInterface {
|
|
|
3325
2338
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
3326
2339
|
*/
|
|
3327
2340
|
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
3328
|
-
/**
|
|
3329
|
-
* Crypto Loan Adjust LTV
|
|
3330
|
-
*
|
|
3331
|
-
* Weight: 6000
|
|
3332
|
-
*
|
|
3333
|
-
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
3334
|
-
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
3335
|
-
* @returns {Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>}
|
|
3336
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3337
|
-
* @memberof StableRateApi
|
|
3338
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Adjust-LTV Binance API Documentation}
|
|
3339
|
-
*/
|
|
3340
|
-
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
3341
|
-
/**
|
|
3342
|
-
* Crypto Loan Borrow
|
|
3343
|
-
*
|
|
3344
|
-
* Weight: 6000
|
|
3345
|
-
*
|
|
3346
|
-
* @summary Crypto Loan Borrow(TRADE)
|
|
3347
|
-
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
3348
|
-
* @returns {Promise<RestApiResponse<CryptoLoanBorrowResponse>>}
|
|
3349
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3350
|
-
* @memberof StableRateApi
|
|
3351
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Borrow Binance API Documentation}
|
|
3352
|
-
*/
|
|
3353
|
-
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
3354
|
-
/**
|
|
3355
|
-
* Customize Margin Call
|
|
3356
|
-
*
|
|
3357
|
-
* Weight: 6000
|
|
3358
|
-
*
|
|
3359
|
-
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
3360
|
-
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
3361
|
-
* @returns {Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>}
|
|
3362
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3363
|
-
* @memberof StableRateApi
|
|
3364
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Customize-Margin-Call Binance API Documentation}
|
|
3365
|
-
*/
|
|
3366
|
-
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
3367
|
-
/**
|
|
3368
|
-
* Crypto Loan Repay
|
|
3369
|
-
*
|
|
3370
|
-
* Weight: 6000
|
|
3371
|
-
*
|
|
3372
|
-
* @summary Crypto Loan Repay(TRADE)
|
|
3373
|
-
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
3374
|
-
* @returns {Promise<RestApiResponse<CryptoLoanRepayResponse>>}
|
|
3375
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3376
|
-
* @memberof StableRateApi
|
|
3377
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Repay Binance API Documentation}
|
|
3378
|
-
*/
|
|
3379
|
-
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
3380
|
-
/**
|
|
3381
|
-
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
3382
|
-
*
|
|
3383
|
-
* Weight: 400
|
|
3384
|
-
*
|
|
3385
|
-
* @summary Get Collateral Assets Data(USER_DATA)
|
|
3386
|
-
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
3387
|
-
* @returns {Promise<RestApiResponse<GetCollateralAssetsDataResponse>>}
|
|
3388
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3389
|
-
* @memberof StableRateApi
|
|
3390
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Collateral-Assets-Data Binance API Documentation}
|
|
3391
|
-
*/
|
|
3392
|
-
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
3393
2341
|
/**
|
|
3394
2342
|
* Get Crypto Loans Income History
|
|
3395
2343
|
*
|
|
@@ -3438,19 +2386,6 @@ declare class StableRateApi implements StableRateApiInterface {
|
|
|
3438
2386
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
3439
2387
|
*/
|
|
3440
2388
|
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
3441
|
-
/**
|
|
3442
|
-
* Get Loan Ongoing Orders
|
|
3443
|
-
*
|
|
3444
|
-
* Weight: 300
|
|
3445
|
-
*
|
|
3446
|
-
* @summary Get Loan Ongoing Orders(USER_DATA)
|
|
3447
|
-
* @param {GetLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
3448
|
-
* @returns {Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>}
|
|
3449
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3450
|
-
* @memberof StableRateApi
|
|
3451
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Ongoing-Orders Binance API Documentation}
|
|
3452
|
-
*/
|
|
3453
|
-
getLoanOngoingOrders(requestParameters?: GetLoanOngoingOrdersRequest): Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>;
|
|
3454
2389
|
/**
|
|
3455
2390
|
* Get Loan Repayment History
|
|
3456
2391
|
*
|
|
@@ -3467,19 +2402,6 @@ declare class StableRateApi implements StableRateApiInterface {
|
|
|
3467
2402
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
3468
2403
|
*/
|
|
3469
2404
|
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
3470
|
-
/**
|
|
3471
|
-
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
3472
|
-
*
|
|
3473
|
-
* Weight: 400
|
|
3474
|
-
*
|
|
3475
|
-
* @summary Get Loanable Assets Data(USER_DATA)
|
|
3476
|
-
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
3477
|
-
* @returns {Promise<RestApiResponse<GetLoanableAssetsDataResponse>>}
|
|
3478
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3479
|
-
* @memberof StableRateApi
|
|
3480
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Loanable-Assets-Data Binance API Documentation}
|
|
3481
|
-
*/
|
|
3482
|
-
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
3483
2405
|
}
|
|
3484
2406
|
|
|
3485
2407
|
/**
|
|
@@ -3559,17 +2481,6 @@ declare class RestAPI {
|
|
|
3559
2481
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
3560
2482
|
*/
|
|
3561
2483
|
flexibleLoanBorrow(requestParameters: FlexibleLoanBorrowRequest): Promise<RestApiResponse<FlexibleLoanBorrowResponse>>;
|
|
3562
|
-
/**
|
|
3563
|
-
*
|
|
3564
|
-
* Weight: 6000
|
|
3565
|
-
*
|
|
3566
|
-
* @summary Flexible Loan Collateral Repayment (TRADE)
|
|
3567
|
-
* @param {FlexibleLoanCollateralRepaymentRequest} requestParameters Request parameters.
|
|
3568
|
-
* @returns {Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>}
|
|
3569
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3570
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Collateral-Repay Binance API Documentation}
|
|
3571
|
-
*/
|
|
3572
|
-
flexibleLoanCollateralRepayment(requestParameters: FlexibleLoanCollateralRepaymentRequest): Promise<RestApiResponse<FlexibleLoanCollateralRepaymentResponse>>;
|
|
3573
2484
|
/**
|
|
3574
2485
|
* Flexible Loan Repay
|
|
3575
2486
|
*
|
|
@@ -3689,66 +2600,6 @@ declare class RestAPI {
|
|
|
3689
2600
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
3690
2601
|
*/
|
|
3691
2602
|
checkCollateralRepayRateStableRate(requestParameters: CheckCollateralRepayRateStableRateRequest): Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>;
|
|
3692
|
-
/**
|
|
3693
|
-
* Crypto Loan Adjust LTV
|
|
3694
|
-
*
|
|
3695
|
-
* Weight: 6000
|
|
3696
|
-
*
|
|
3697
|
-
* @summary Crypto Loan Adjust LTV(TRADE)
|
|
3698
|
-
* @param {CryptoLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
3699
|
-
* @returns {Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>}
|
|
3700
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3701
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Adjust-LTV Binance API Documentation}
|
|
3702
|
-
*/
|
|
3703
|
-
cryptoLoanAdjustLtv(requestParameters: CryptoLoanAdjustLtvRequest): Promise<RestApiResponse<CryptoLoanAdjustLtvResponse>>;
|
|
3704
|
-
/**
|
|
3705
|
-
* Crypto Loan Borrow
|
|
3706
|
-
*
|
|
3707
|
-
* Weight: 6000
|
|
3708
|
-
*
|
|
3709
|
-
* @summary Crypto Loan Borrow(TRADE)
|
|
3710
|
-
* @param {CryptoLoanBorrowRequest} requestParameters Request parameters.
|
|
3711
|
-
* @returns {Promise<RestApiResponse<CryptoLoanBorrowResponse>>}
|
|
3712
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3713
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Borrow Binance API Documentation}
|
|
3714
|
-
*/
|
|
3715
|
-
cryptoLoanBorrow(requestParameters: CryptoLoanBorrowRequest): Promise<RestApiResponse<CryptoLoanBorrowResponse>>;
|
|
3716
|
-
/**
|
|
3717
|
-
* Customize Margin Call
|
|
3718
|
-
*
|
|
3719
|
-
* Weight: 6000
|
|
3720
|
-
*
|
|
3721
|
-
* @summary Crypto Loan Customize Margin Call(TRADE)
|
|
3722
|
-
* @param {CryptoLoanCustomizeMarginCallRequest} requestParameters Request parameters.
|
|
3723
|
-
* @returns {Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>}
|
|
3724
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3725
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Customize-Margin-Call Binance API Documentation}
|
|
3726
|
-
*/
|
|
3727
|
-
cryptoLoanCustomizeMarginCall(requestParameters: CryptoLoanCustomizeMarginCallRequest): Promise<RestApiResponse<CryptoLoanCustomizeMarginCallResponse>>;
|
|
3728
|
-
/**
|
|
3729
|
-
* Crypto Loan Repay
|
|
3730
|
-
*
|
|
3731
|
-
* Weight: 6000
|
|
3732
|
-
*
|
|
3733
|
-
* @summary Crypto Loan Repay(TRADE)
|
|
3734
|
-
* @param {CryptoLoanRepayRequest} requestParameters Request parameters.
|
|
3735
|
-
* @returns {Promise<RestApiResponse<CryptoLoanRepayResponse>>}
|
|
3736
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3737
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/trade/Crypto-Loan-Repay Binance API Documentation}
|
|
3738
|
-
*/
|
|
3739
|
-
cryptoLoanRepay(requestParameters: CryptoLoanRepayRequest): Promise<RestApiResponse<CryptoLoanRepayResponse>>;
|
|
3740
|
-
/**
|
|
3741
|
-
* Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
|
|
3742
|
-
*
|
|
3743
|
-
* Weight: 400
|
|
3744
|
-
*
|
|
3745
|
-
* @summary Get Collateral Assets Data(USER_DATA)
|
|
3746
|
-
* @param {GetCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
3747
|
-
* @returns {Promise<RestApiResponse<GetCollateralAssetsDataResponse>>}
|
|
3748
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3749
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Collateral-Assets-Data Binance API Documentation}
|
|
3750
|
-
*/
|
|
3751
|
-
getCollateralAssetsData(requestParameters?: GetCollateralAssetsDataRequest): Promise<RestApiResponse<GetCollateralAssetsDataResponse>>;
|
|
3752
2603
|
/**
|
|
3753
2604
|
* Get Crypto Loans Income History
|
|
3754
2605
|
*
|
|
@@ -3794,18 +2645,6 @@ declare class RestAPI {
|
|
|
3794
2645
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
3795
2646
|
*/
|
|
3796
2647
|
getLoanLtvAdjustmentHistory(requestParameters?: GetLoanLtvAdjustmentHistoryRequest): Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>;
|
|
3797
|
-
/**
|
|
3798
|
-
* Get Loan Ongoing Orders
|
|
3799
|
-
*
|
|
3800
|
-
* Weight: 300
|
|
3801
|
-
*
|
|
3802
|
-
* @summary Get Loan Ongoing Orders(USER_DATA)
|
|
3803
|
-
* @param {GetLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
3804
|
-
* @returns {Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>}
|
|
3805
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3806
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Ongoing-Orders Binance API Documentation}
|
|
3807
|
-
*/
|
|
3808
|
-
getLoanOngoingOrders(requestParameters?: GetLoanOngoingOrdersRequest): Promise<RestApiResponse<GetLoanOngoingOrdersResponse>>;
|
|
3809
2648
|
/**
|
|
3810
2649
|
* Get Loan Repayment History
|
|
3811
2650
|
*
|
|
@@ -3821,18 +2660,6 @@ declare class RestAPI {
|
|
|
3821
2660
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|
|
3822
2661
|
*/
|
|
3823
2662
|
getLoanRepaymentHistory(requestParameters?: GetLoanRepaymentHistoryRequest): Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>;
|
|
3824
|
-
/**
|
|
3825
|
-
* Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
|
|
3826
|
-
*
|
|
3827
|
-
* Weight: 400
|
|
3828
|
-
*
|
|
3829
|
-
* @summary Get Loanable Assets Data(USER_DATA)
|
|
3830
|
-
* @param {GetLoanableAssetsDataRequest} requestParameters Request parameters.
|
|
3831
|
-
* @returns {Promise<RestApiResponse<GetLoanableAssetsDataResponse>>}
|
|
3832
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3833
|
-
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Loanable-Assets-Data Binance API Documentation}
|
|
3834
|
-
*/
|
|
3835
|
-
getLoanableAssetsData(requestParameters?: GetLoanableAssetsDataRequest): Promise<RestApiResponse<GetLoanableAssetsDataResponse>>;
|
|
3836
2663
|
}
|
|
3837
2664
|
|
|
3838
2665
|
/**
|
|
@@ -3852,29 +2679,15 @@ type index_CheckCollateralRepayRateRequest = CheckCollateralRepayRateRequest;
|
|
|
3852
2679
|
type index_CheckCollateralRepayRateResponse = CheckCollateralRepayRateResponse;
|
|
3853
2680
|
type index_CheckCollateralRepayRateStableRateRequest = CheckCollateralRepayRateStableRateRequest;
|
|
3854
2681
|
type index_CheckCollateralRepayRateStableRateResponse = CheckCollateralRepayRateStableRateResponse;
|
|
3855
|
-
type index_CryptoLoanAdjustLtvRequest = CryptoLoanAdjustLtvRequest;
|
|
3856
|
-
type index_CryptoLoanAdjustLtvResponse = CryptoLoanAdjustLtvResponse;
|
|
3857
|
-
type index_CryptoLoanBorrowRequest = CryptoLoanBorrowRequest;
|
|
3858
|
-
type index_CryptoLoanBorrowResponse = CryptoLoanBorrowResponse;
|
|
3859
|
-
type index_CryptoLoanCustomizeMarginCallRequest = CryptoLoanCustomizeMarginCallRequest;
|
|
3860
|
-
type index_CryptoLoanCustomizeMarginCallResponse = CryptoLoanCustomizeMarginCallResponse;
|
|
3861
|
-
type index_CryptoLoanCustomizeMarginCallResponseRowsInner = CryptoLoanCustomizeMarginCallResponseRowsInner;
|
|
3862
|
-
type index_CryptoLoanRepayRequest = CryptoLoanRepayRequest;
|
|
3863
|
-
type index_CryptoLoanRepayResponse = CryptoLoanRepayResponse;
|
|
3864
2682
|
type index_FlexibleLoanAdjustLtvRequest = FlexibleLoanAdjustLtvRequest;
|
|
3865
2683
|
type index_FlexibleLoanAdjustLtvResponse = FlexibleLoanAdjustLtvResponse;
|
|
3866
2684
|
type index_FlexibleLoanBorrowRequest = FlexibleLoanBorrowRequest;
|
|
3867
2685
|
type index_FlexibleLoanBorrowResponse = FlexibleLoanBorrowResponse;
|
|
3868
|
-
type index_FlexibleLoanCollateralRepaymentRequest = FlexibleLoanCollateralRepaymentRequest;
|
|
3869
|
-
type index_FlexibleLoanCollateralRepaymentResponse = FlexibleLoanCollateralRepaymentResponse;
|
|
3870
2686
|
type index_FlexibleLoanRepayRequest = FlexibleLoanRepayRequest;
|
|
3871
2687
|
type index_FlexibleLoanRepayResponse = FlexibleLoanRepayResponse;
|
|
3872
2688
|
type index_FlexibleRateApi = FlexibleRateApi;
|
|
3873
2689
|
declare const index_FlexibleRateApi: typeof FlexibleRateApi;
|
|
3874
2690
|
type index_FlexibleRateApiInterface = FlexibleRateApiInterface;
|
|
3875
|
-
type index_GetCollateralAssetsDataRequest = GetCollateralAssetsDataRequest;
|
|
3876
|
-
type index_GetCollateralAssetsDataResponse = GetCollateralAssetsDataResponse;
|
|
3877
|
-
type index_GetCollateralAssetsDataResponseRowsInner = GetCollateralAssetsDataResponseRowsInner;
|
|
3878
2691
|
type index_GetCryptoLoansIncomeHistoryRequest = GetCryptoLoansIncomeHistoryRequest;
|
|
3879
2692
|
type index_GetCryptoLoansIncomeHistoryResponse = GetCryptoLoansIncomeHistoryResponse;
|
|
3880
2693
|
type index_GetCryptoLoansIncomeHistoryResponseInner = GetCryptoLoansIncomeHistoryResponseInner;
|
|
@@ -3905,22 +2718,16 @@ type index_GetLoanBorrowHistoryResponseRowsInner = GetLoanBorrowHistoryResponseR
|
|
|
3905
2718
|
type index_GetLoanLtvAdjustmentHistoryRequest = GetLoanLtvAdjustmentHistoryRequest;
|
|
3906
2719
|
type index_GetLoanLtvAdjustmentHistoryResponse = GetLoanLtvAdjustmentHistoryResponse;
|
|
3907
2720
|
type index_GetLoanLtvAdjustmentHistoryResponseRowsInner = GetLoanLtvAdjustmentHistoryResponseRowsInner;
|
|
3908
|
-
type index_GetLoanOngoingOrdersRequest = GetLoanOngoingOrdersRequest;
|
|
3909
|
-
type index_GetLoanOngoingOrdersResponse = GetLoanOngoingOrdersResponse;
|
|
3910
|
-
type index_GetLoanOngoingOrdersResponseRowsInner = GetLoanOngoingOrdersResponseRowsInner;
|
|
3911
2721
|
type index_GetLoanRepaymentHistoryRequest = GetLoanRepaymentHistoryRequest;
|
|
3912
2722
|
type index_GetLoanRepaymentHistoryResponse = GetLoanRepaymentHistoryResponse;
|
|
3913
2723
|
type index_GetLoanRepaymentHistoryResponseRowsInner = GetLoanRepaymentHistoryResponseRowsInner;
|
|
3914
|
-
type index_GetLoanableAssetsDataRequest = GetLoanableAssetsDataRequest;
|
|
3915
|
-
type index_GetLoanableAssetsDataResponse = GetLoanableAssetsDataResponse;
|
|
3916
|
-
type index_GetLoanableAssetsDataResponseRowsInner = GetLoanableAssetsDataResponseRowsInner;
|
|
3917
2724
|
type index_RestAPI = RestAPI;
|
|
3918
2725
|
declare const index_RestAPI: typeof RestAPI;
|
|
3919
2726
|
type index_StableRateApi = StableRateApi;
|
|
3920
2727
|
declare const index_StableRateApi: typeof StableRateApi;
|
|
3921
2728
|
type index_StableRateApiInterface = StableRateApiInterface;
|
|
3922
2729
|
declare namespace index {
|
|
3923
|
-
export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type
|
|
2730
|
+
export { type index_CheckCollateralRepayRateRequest as CheckCollateralRepayRateRequest, type index_CheckCollateralRepayRateResponse as CheckCollateralRepayRateResponse, type index_CheckCollateralRepayRateStableRateRequest as CheckCollateralRepayRateStableRateRequest, type index_CheckCollateralRepayRateStableRateResponse as CheckCollateralRepayRateStableRateResponse, type index_FlexibleLoanAdjustLtvRequest as FlexibleLoanAdjustLtvRequest, type index_FlexibleLoanAdjustLtvResponse as FlexibleLoanAdjustLtvResponse, type index_FlexibleLoanBorrowRequest as FlexibleLoanBorrowRequest, type index_FlexibleLoanBorrowResponse as FlexibleLoanBorrowResponse, type index_FlexibleLoanRepayRequest as FlexibleLoanRepayRequest, type index_FlexibleLoanRepayResponse as FlexibleLoanRepayResponse, index_FlexibleRateApi as FlexibleRateApi, type index_FlexibleRateApiInterface as FlexibleRateApiInterface, type index_GetCryptoLoansIncomeHistoryRequest as GetCryptoLoansIncomeHistoryRequest, type index_GetCryptoLoansIncomeHistoryResponse as GetCryptoLoansIncomeHistoryResponse, type index_GetCryptoLoansIncomeHistoryResponseInner as GetCryptoLoansIncomeHistoryResponseInner, type index_GetFlexibleLoanAssetsDataRequest as GetFlexibleLoanAssetsDataRequest, type index_GetFlexibleLoanAssetsDataResponse as GetFlexibleLoanAssetsDataResponse, type index_GetFlexibleLoanAssetsDataResponseRowsInner as GetFlexibleLoanAssetsDataResponseRowsInner, type index_GetFlexibleLoanBorrowHistoryRequest as GetFlexibleLoanBorrowHistoryRequest, type index_GetFlexibleLoanBorrowHistoryResponse as GetFlexibleLoanBorrowHistoryResponse, type index_GetFlexibleLoanBorrowHistoryResponseRowsInner as GetFlexibleLoanBorrowHistoryResponseRowsInner, type index_GetFlexibleLoanCollateralAssetsDataRequest as GetFlexibleLoanCollateralAssetsDataRequest, type index_GetFlexibleLoanCollateralAssetsDataResponse as GetFlexibleLoanCollateralAssetsDataResponse, type index_GetFlexibleLoanCollateralAssetsDataResponseRowsInner as GetFlexibleLoanCollateralAssetsDataResponseRowsInner, type index_GetFlexibleLoanLiquidationHistoryRequest as GetFlexibleLoanLiquidationHistoryRequest, type index_GetFlexibleLoanLiquidationHistoryResponse as GetFlexibleLoanLiquidationHistoryResponse, type index_GetFlexibleLoanLiquidationHistoryResponseRowsInner as GetFlexibleLoanLiquidationHistoryResponseRowsInner, type index_GetFlexibleLoanLtvAdjustmentHistoryRequest as GetFlexibleLoanLtvAdjustmentHistoryRequest, type index_GetFlexibleLoanLtvAdjustmentHistoryResponse as GetFlexibleLoanLtvAdjustmentHistoryResponse, type index_GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner as GetFlexibleLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetFlexibleLoanOngoingOrdersRequest as GetFlexibleLoanOngoingOrdersRequest, type index_GetFlexibleLoanOngoingOrdersResponse as GetFlexibleLoanOngoingOrdersResponse, type index_GetFlexibleLoanOngoingOrdersResponseRowsInner as GetFlexibleLoanOngoingOrdersResponseRowsInner, type index_GetFlexibleLoanRepaymentHistoryRequest as GetFlexibleLoanRepaymentHistoryRequest, type index_GetFlexibleLoanRepaymentHistoryResponse as GetFlexibleLoanRepaymentHistoryResponse, type index_GetFlexibleLoanRepaymentHistoryResponseRowsInner as GetFlexibleLoanRepaymentHistoryResponseRowsInner, type index_GetLoanBorrowHistoryRequest as GetLoanBorrowHistoryRequest, type index_GetLoanBorrowHistoryResponse as GetLoanBorrowHistoryResponse, type index_GetLoanBorrowHistoryResponseRowsInner as GetLoanBorrowHistoryResponseRowsInner, type index_GetLoanLtvAdjustmentHistoryRequest as GetLoanLtvAdjustmentHistoryRequest, type index_GetLoanLtvAdjustmentHistoryResponse as GetLoanLtvAdjustmentHistoryResponse, type index_GetLoanLtvAdjustmentHistoryResponseRowsInner as GetLoanLtvAdjustmentHistoryResponseRowsInner, type index_GetLoanRepaymentHistoryRequest as GetLoanRepaymentHistoryRequest, type index_GetLoanRepaymentHistoryResponse as GetLoanRepaymentHistoryResponse, type index_GetLoanRepaymentHistoryResponseRowsInner as GetLoanRepaymentHistoryResponseRowsInner, index_RestAPI as RestAPI, index_StableRateApi as StableRateApi, type index_StableRateApiInterface as StableRateApiInterface };
|
|
3924
2731
|
}
|
|
3925
2732
|
|
|
3926
2733
|
interface ConfigurationCryptoLoan {
|