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