@binance/crypto-loan 7.0.1 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +164 -148
- package/dist/index.d.ts +164 -148
- package/dist/index.js +70 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -54
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
15
|
var name = "@binance/crypto-loan";
|
|
16
|
-
var version = "
|
|
16
|
+
var version = "8.0.1";
|
|
17
17
|
|
|
18
18
|
// src/rest-api/index.ts
|
|
19
19
|
var rest_api_exports = {};
|
|
@@ -37,7 +37,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
37
37
|
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
38
38
|
* @param {string} loanCoin
|
|
39
39
|
* @param {string} collateralCoin
|
|
40
|
-
* @param {number} [recvWindow]
|
|
40
|
+
* @param {number | bigint} [recvWindow]
|
|
41
41
|
*
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
@@ -75,7 +75,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
75
75
|
* @param {string} collateralCoin
|
|
76
76
|
* @param {number} adjustmentAmount
|
|
77
77
|
* @param {string} direction "ADDITIONAL", "REDUCED"
|
|
78
|
-
* @param {number} [recvWindow]
|
|
78
|
+
* @param {number | bigint} [recvWindow]
|
|
79
79
|
*
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
@@ -123,7 +123,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
123
123
|
* @param {string} collateralCoin
|
|
124
124
|
* @param {number} [loanAmount] Mandatory when collateralAmount is empty
|
|
125
125
|
* @param {number} [collateralAmount] Mandatory when loanAmount is empty
|
|
126
|
-
* @param {number} [recvWindow]
|
|
126
|
+
* @param {number | bigint} [recvWindow]
|
|
127
127
|
*
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
@@ -169,8 +169,8 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
169
169
|
* @param {number} repayAmount repay amount of loanCoin
|
|
170
170
|
* @param {boolean} [collateralReturn] Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
171
171
|
* @param {boolean} [fullRepayment] Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
172
|
-
* @param {number} [repaymentType] Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
|
|
173
|
-
* @param {number} [recvWindow]
|
|
172
|
+
* @param {number | bigint} [repaymentType] Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
|
|
173
|
+
* @param {number | bigint} [recvWindow]
|
|
174
174
|
*
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
*/
|
|
@@ -216,7 +216,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
216
216
|
*
|
|
217
217
|
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
218
218
|
* @param {string} [loanCoin]
|
|
219
|
-
* @param {number} [recvWindow]
|
|
219
|
+
* @param {number | bigint} [recvWindow]
|
|
220
220
|
*
|
|
221
221
|
* @throws {RequiredError}
|
|
222
222
|
*/
|
|
@@ -248,11 +248,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
248
248
|
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
249
249
|
* @param {string} [loanCoin]
|
|
250
250
|
* @param {string} [collateralCoin]
|
|
251
|
-
* @param {number} [startTime]
|
|
252
|
-
* @param {number} [endTime]
|
|
253
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
254
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
255
|
-
* @param {number} [recvWindow]
|
|
251
|
+
* @param {number | bigint} [startTime]
|
|
252
|
+
* @param {number | bigint} [endTime]
|
|
253
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
254
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
255
|
+
* @param {number | bigint} [recvWindow]
|
|
256
256
|
*
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
*/
|
|
@@ -295,7 +295,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
295
295
|
*
|
|
296
296
|
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
297
297
|
* @param {string} [collateralCoin]
|
|
298
|
-
* @param {number} [recvWindow]
|
|
298
|
+
* @param {number | bigint} [recvWindow]
|
|
299
299
|
*
|
|
300
300
|
* @throws {RequiredError}
|
|
301
301
|
*/
|
|
@@ -323,11 +323,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
323
323
|
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
324
324
|
* @param {string} [loanCoin]
|
|
325
325
|
* @param {string} [collateralCoin]
|
|
326
|
-
* @param {number} [startTime]
|
|
327
|
-
* @param {number} [endTime]
|
|
328
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
329
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
330
|
-
* @param {number} [recvWindow]
|
|
326
|
+
* @param {number | bigint} [startTime]
|
|
327
|
+
* @param {number | bigint} [endTime]
|
|
328
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
329
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
330
|
+
* @param {number | bigint} [recvWindow]
|
|
331
331
|
*
|
|
332
332
|
* @throws {RequiredError}
|
|
333
333
|
*/
|
|
@@ -374,11 +374,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
374
374
|
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
375
375
|
* @param {string} [loanCoin]
|
|
376
376
|
* @param {string} [collateralCoin]
|
|
377
|
-
* @param {number} [startTime]
|
|
378
|
-
* @param {number} [endTime]
|
|
379
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
380
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
381
|
-
* @param {number} [recvWindow]
|
|
377
|
+
* @param {number | bigint} [startTime]
|
|
378
|
+
* @param {number | bigint} [endTime]
|
|
379
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
380
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
381
|
+
* @param {number | bigint} [recvWindow]
|
|
382
382
|
*
|
|
383
383
|
* @throws {RequiredError}
|
|
384
384
|
*/
|
|
@@ -422,9 +422,9 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
422
422
|
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
423
423
|
* @param {string} [loanCoin]
|
|
424
424
|
* @param {string} [collateralCoin]
|
|
425
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
426
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
427
|
-
* @param {number} [recvWindow]
|
|
425
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
426
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
427
|
+
* @param {number | bigint} [recvWindow]
|
|
428
428
|
*
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
@@ -465,11 +465,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
465
465
|
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
466
466
|
* @param {string} [loanCoin]
|
|
467
467
|
* @param {string} [collateralCoin]
|
|
468
|
-
* @param {number} [startTime]
|
|
469
|
-
* @param {number} [endTime]
|
|
470
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
471
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
472
|
-
* @param {number} [recvWindow]
|
|
468
|
+
* @param {number | bigint} [startTime]
|
|
469
|
+
* @param {number | bigint} [endTime]
|
|
470
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
471
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
472
|
+
* @param {number | bigint} [recvWindow]
|
|
473
473
|
*
|
|
474
474
|
* @throws {RequiredError}
|
|
475
475
|
*/
|
|
@@ -867,7 +867,7 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
867
867
|
* @param {string} loanCoin
|
|
868
868
|
* @param {string} collateralCoin
|
|
869
869
|
* @param {number} repayAmount repay amount of loanCoin
|
|
870
|
-
* @param {number} [recvWindow]
|
|
870
|
+
* @param {number | bigint} [recvWindow]
|
|
871
871
|
*
|
|
872
872
|
* @throws {RequiredError}
|
|
873
873
|
*/
|
|
@@ -912,10 +912,10 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
912
912
|
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
913
913
|
* @param {string} [asset]
|
|
914
914
|
* @param {string} [type] All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
|
|
915
|
-
* @param {number} [startTime]
|
|
916
|
-
* @param {number} [endTime]
|
|
917
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
918
|
-
* @param {number} [recvWindow]
|
|
915
|
+
* @param {number | bigint} [startTime]
|
|
916
|
+
* @param {number | bigint} [endTime]
|
|
917
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
918
|
+
* @param {number | bigint} [recvWindow]
|
|
919
919
|
*
|
|
920
920
|
* @throws {RequiredError}
|
|
921
921
|
*/
|
|
@@ -957,14 +957,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
957
957
|
* Weight: 400
|
|
958
958
|
*
|
|
959
959
|
* @summary Get Loan Borrow History(USER_DATA)
|
|
960
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
960
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
961
961
|
* @param {string} [loanCoin]
|
|
962
962
|
* @param {string} [collateralCoin]
|
|
963
|
-
* @param {number} [startTime]
|
|
964
|
-
* @param {number} [endTime]
|
|
965
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
966
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
967
|
-
* @param {number} [recvWindow]
|
|
963
|
+
* @param {number | bigint} [startTime]
|
|
964
|
+
* @param {number | bigint} [endTime]
|
|
965
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
966
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
967
|
+
* @param {number | bigint} [recvWindow]
|
|
968
968
|
*
|
|
969
969
|
* @throws {RequiredError}
|
|
970
970
|
*/
|
|
@@ -1012,14 +1012,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
1012
1012
|
* Weight: 400
|
|
1013
1013
|
*
|
|
1014
1014
|
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1015
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1015
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1016
1016
|
* @param {string} [loanCoin]
|
|
1017
1017
|
* @param {string} [collateralCoin]
|
|
1018
|
-
* @param {number} [startTime]
|
|
1019
|
-
* @param {number} [endTime]
|
|
1020
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1021
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
1022
|
-
* @param {number} [recvWindow]
|
|
1018
|
+
* @param {number | bigint} [startTime]
|
|
1019
|
+
* @param {number | bigint} [endTime]
|
|
1020
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1021
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
1022
|
+
* @param {number | bigint} [recvWindow]
|
|
1023
1023
|
*
|
|
1024
1024
|
* @throws {RequiredError}
|
|
1025
1025
|
*/
|
|
@@ -1067,14 +1067,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
1067
1067
|
* Weight: 400
|
|
1068
1068
|
*
|
|
1069
1069
|
* @summary Get Loan Repayment History(USER_DATA)
|
|
1070
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1070
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1071
1071
|
* @param {string} [loanCoin]
|
|
1072
1072
|
* @param {string} [collateralCoin]
|
|
1073
|
-
* @param {number} [startTime]
|
|
1074
|
-
* @param {number} [endTime]
|
|
1075
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1076
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
1077
|
-
* @param {number} [recvWindow]
|
|
1073
|
+
* @param {number | bigint} [startTime]
|
|
1074
|
+
* @param {number | bigint} [endTime]
|
|
1075
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1076
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
1077
|
+
* @param {number | bigint} [recvWindow]
|
|
1078
1078
|
*
|
|
1079
1079
|
* @throws {RequiredError}
|
|
1080
1080
|
*/
|
|
@@ -1326,6 +1326,7 @@ var RestAPI = class {
|
|
|
1326
1326
|
*
|
|
1327
1327
|
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
1328
1328
|
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
1329
|
+
*
|
|
1329
1330
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
1330
1331
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1331
1332
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1342,6 +1343,7 @@ var RestAPI = class {
|
|
|
1342
1343
|
*
|
|
1343
1344
|
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
1344
1345
|
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
1346
|
+
*
|
|
1345
1347
|
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
1346
1348
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1347
1349
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
@@ -1360,6 +1362,7 @@ var RestAPI = class {
|
|
|
1360
1362
|
*
|
|
1361
1363
|
* @summary Flexible Loan Borrow(TRADE)
|
|
1362
1364
|
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
1365
|
+
*
|
|
1363
1366
|
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
1364
1367
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1365
1368
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
@@ -1377,6 +1380,7 @@ var RestAPI = class {
|
|
|
1377
1380
|
*
|
|
1378
1381
|
* @summary Flexible Loan Repay(TRADE)
|
|
1379
1382
|
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
1383
|
+
*
|
|
1380
1384
|
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
1381
1385
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1382
1386
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
@@ -1391,6 +1395,7 @@ var RestAPI = class {
|
|
|
1391
1395
|
*
|
|
1392
1396
|
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
1393
1397
|
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
1398
|
+
*
|
|
1394
1399
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
1395
1400
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1396
1401
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
@@ -1408,6 +1413,7 @@ var RestAPI = class {
|
|
|
1408
1413
|
*
|
|
1409
1414
|
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
1410
1415
|
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1416
|
+
*
|
|
1411
1417
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
1412
1418
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1413
1419
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1422,6 +1428,7 @@ var RestAPI = class {
|
|
|
1422
1428
|
*
|
|
1423
1429
|
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
1424
1430
|
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
1431
|
+
*
|
|
1425
1432
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
1426
1433
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1427
1434
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
@@ -1435,6 +1442,7 @@ var RestAPI = class {
|
|
|
1435
1442
|
*
|
|
1436
1443
|
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
1437
1444
|
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
1445
|
+
*
|
|
1438
1446
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
1439
1447
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1440
1448
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
@@ -1452,6 +1460,7 @@ var RestAPI = class {
|
|
|
1452
1460
|
*
|
|
1453
1461
|
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
1454
1462
|
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1463
|
+
*
|
|
1455
1464
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
1456
1465
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1457
1466
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1466,6 +1475,7 @@ var RestAPI = class {
|
|
|
1466
1475
|
*
|
|
1467
1476
|
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
1468
1477
|
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
1478
|
+
*
|
|
1469
1479
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
1470
1480
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1471
1481
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
@@ -1483,6 +1493,7 @@ var RestAPI = class {
|
|
|
1483
1493
|
*
|
|
1484
1494
|
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
1485
1495
|
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1496
|
+
*
|
|
1486
1497
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
1487
1498
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1488
1499
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
@@ -1497,6 +1508,7 @@ var RestAPI = class {
|
|
|
1497
1508
|
*
|
|
1498
1509
|
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
1499
1510
|
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
1511
|
+
*
|
|
1500
1512
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
1501
1513
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1502
1514
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1514,6 +1526,7 @@ var RestAPI = class {
|
|
|
1514
1526
|
*
|
|
1515
1527
|
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
1516
1528
|
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
1529
|
+
*
|
|
1517
1530
|
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
1518
1531
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1519
1532
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
@@ -1531,6 +1544,7 @@ var RestAPI = class {
|
|
|
1531
1544
|
*
|
|
1532
1545
|
* @summary Get Loan Borrow History(USER_DATA)
|
|
1533
1546
|
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1547
|
+
*
|
|
1534
1548
|
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
1535
1549
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1536
1550
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1548,6 +1562,7 @@ var RestAPI = class {
|
|
|
1548
1562
|
*
|
|
1549
1563
|
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1550
1564
|
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1565
|
+
*
|
|
1551
1566
|
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
1552
1567
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1553
1568
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1565,6 +1580,7 @@ var RestAPI = class {
|
|
|
1565
1580
|
*
|
|
1566
1581
|
* @summary Get Loan Repayment History(USER_DATA)
|
|
1567
1582
|
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1583
|
+
*
|
|
1568
1584
|
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
1569
1585
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1570
1586
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|