@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.js
CHANGED
|
@@ -41,7 +41,7 @@ var import_common4 = require("@binance/common");
|
|
|
41
41
|
|
|
42
42
|
// package.json
|
|
43
43
|
var name = "@binance/crypto-loan";
|
|
44
|
-
var version = "
|
|
44
|
+
var version = "8.0.1";
|
|
45
45
|
|
|
46
46
|
// src/rest-api/index.ts
|
|
47
47
|
var rest_api_exports = {};
|
|
@@ -62,7 +62,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
62
62
|
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
63
63
|
* @param {string} loanCoin
|
|
64
64
|
* @param {string} collateralCoin
|
|
65
|
-
* @param {number} [recvWindow]
|
|
65
|
+
* @param {number | bigint} [recvWindow]
|
|
66
66
|
*
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
@@ -100,7 +100,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
100
100
|
* @param {string} collateralCoin
|
|
101
101
|
* @param {number} adjustmentAmount
|
|
102
102
|
* @param {string} direction "ADDITIONAL", "REDUCED"
|
|
103
|
-
* @param {number} [recvWindow]
|
|
103
|
+
* @param {number | bigint} [recvWindow]
|
|
104
104
|
*
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
@@ -148,7 +148,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
148
148
|
* @param {string} collateralCoin
|
|
149
149
|
* @param {number} [loanAmount] Mandatory when collateralAmount is empty
|
|
150
150
|
* @param {number} [collateralAmount] Mandatory when loanAmount is empty
|
|
151
|
-
* @param {number} [recvWindow]
|
|
151
|
+
* @param {number | bigint} [recvWindow]
|
|
152
152
|
*
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
@@ -194,8 +194,8 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
194
194
|
* @param {number} repayAmount repay amount of loanCoin
|
|
195
195
|
* @param {boolean} [collateralReturn] Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order, and lower LTV.
|
|
196
196
|
* @param {boolean} [fullRepayment] Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount
|
|
197
|
-
* @param {number} [repaymentType] Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
|
|
198
|
-
* @param {number} [recvWindow]
|
|
197
|
+
* @param {number | bigint} [repaymentType] Default: 1. 1: Repayment with loan asset; 2: Repayment with collateral
|
|
198
|
+
* @param {number | bigint} [recvWindow]
|
|
199
199
|
*
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
@@ -241,7 +241,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
241
241
|
*
|
|
242
242
|
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
243
243
|
* @param {string} [loanCoin]
|
|
244
|
-
* @param {number} [recvWindow]
|
|
244
|
+
* @param {number | bigint} [recvWindow]
|
|
245
245
|
*
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
*/
|
|
@@ -273,11 +273,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
273
273
|
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
274
274
|
* @param {string} [loanCoin]
|
|
275
275
|
* @param {string} [collateralCoin]
|
|
276
|
-
* @param {number} [startTime]
|
|
277
|
-
* @param {number} [endTime]
|
|
278
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
279
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
280
|
-
* @param {number} [recvWindow]
|
|
276
|
+
* @param {number | bigint} [startTime]
|
|
277
|
+
* @param {number | bigint} [endTime]
|
|
278
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
279
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
280
|
+
* @param {number | bigint} [recvWindow]
|
|
281
281
|
*
|
|
282
282
|
* @throws {RequiredError}
|
|
283
283
|
*/
|
|
@@ -320,7 +320,7 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
320
320
|
*
|
|
321
321
|
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
322
322
|
* @param {string} [collateralCoin]
|
|
323
|
-
* @param {number} [recvWindow]
|
|
323
|
+
* @param {number | bigint} [recvWindow]
|
|
324
324
|
*
|
|
325
325
|
* @throws {RequiredError}
|
|
326
326
|
*/
|
|
@@ -348,11 +348,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
348
348
|
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
349
349
|
* @param {string} [loanCoin]
|
|
350
350
|
* @param {string} [collateralCoin]
|
|
351
|
-
* @param {number} [startTime]
|
|
352
|
-
* @param {number} [endTime]
|
|
353
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
354
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
355
|
-
* @param {number} [recvWindow]
|
|
351
|
+
* @param {number | bigint} [startTime]
|
|
352
|
+
* @param {number | bigint} [endTime]
|
|
353
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
354
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
355
|
+
* @param {number | bigint} [recvWindow]
|
|
356
356
|
*
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
@@ -399,11 +399,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
399
399
|
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
400
400
|
* @param {string} [loanCoin]
|
|
401
401
|
* @param {string} [collateralCoin]
|
|
402
|
-
* @param {number} [startTime]
|
|
403
|
-
* @param {number} [endTime]
|
|
404
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
405
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
406
|
-
* @param {number} [recvWindow]
|
|
402
|
+
* @param {number | bigint} [startTime]
|
|
403
|
+
* @param {number | bigint} [endTime]
|
|
404
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
405
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
406
|
+
* @param {number | bigint} [recvWindow]
|
|
407
407
|
*
|
|
408
408
|
* @throws {RequiredError}
|
|
409
409
|
*/
|
|
@@ -447,9 +447,9 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
447
447
|
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
448
448
|
* @param {string} [loanCoin]
|
|
449
449
|
* @param {string} [collateralCoin]
|
|
450
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
451
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
452
|
-
* @param {number} [recvWindow]
|
|
450
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
451
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
452
|
+
* @param {number | bigint} [recvWindow]
|
|
453
453
|
*
|
|
454
454
|
* @throws {RequiredError}
|
|
455
455
|
*/
|
|
@@ -490,11 +490,11 @@ var FlexibleRateApiAxiosParamCreator = function(configuration) {
|
|
|
490
490
|
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
491
491
|
* @param {string} [loanCoin]
|
|
492
492
|
* @param {string} [collateralCoin]
|
|
493
|
-
* @param {number} [startTime]
|
|
494
|
-
* @param {number} [endTime]
|
|
495
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
496
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
497
|
-
* @param {number} [recvWindow]
|
|
493
|
+
* @param {number | bigint} [startTime]
|
|
494
|
+
* @param {number | bigint} [endTime]
|
|
495
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
496
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
497
|
+
* @param {number | bigint} [recvWindow]
|
|
498
498
|
*
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
*/
|
|
@@ -889,7 +889,7 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
889
889
|
* @param {string} loanCoin
|
|
890
890
|
* @param {string} collateralCoin
|
|
891
891
|
* @param {number} repayAmount repay amount of loanCoin
|
|
892
|
-
* @param {number} [recvWindow]
|
|
892
|
+
* @param {number | bigint} [recvWindow]
|
|
893
893
|
*
|
|
894
894
|
* @throws {RequiredError}
|
|
895
895
|
*/
|
|
@@ -934,10 +934,10 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
934
934
|
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
935
935
|
* @param {string} [asset]
|
|
936
936
|
* @param {string} [type] All types will be returned by default. Enum:`borrowIn` ,`collateralSpent`, `repayAmount`, `collateralReturn`(Collateral return after repayment), `addCollateral`, `removeCollateral`, `collateralReturnAfterLiquidation`
|
|
937
|
-
* @param {number} [startTime]
|
|
938
|
-
* @param {number} [endTime]
|
|
939
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
940
|
-
* @param {number} [recvWindow]
|
|
937
|
+
* @param {number | bigint} [startTime]
|
|
938
|
+
* @param {number | bigint} [endTime]
|
|
939
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
940
|
+
* @param {number | bigint} [recvWindow]
|
|
941
941
|
*
|
|
942
942
|
* @throws {RequiredError}
|
|
943
943
|
*/
|
|
@@ -979,14 +979,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
979
979
|
* Weight: 400
|
|
980
980
|
*
|
|
981
981
|
* @summary Get Loan Borrow History(USER_DATA)
|
|
982
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
982
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
983
983
|
* @param {string} [loanCoin]
|
|
984
984
|
* @param {string} [collateralCoin]
|
|
985
|
-
* @param {number} [startTime]
|
|
986
|
-
* @param {number} [endTime]
|
|
987
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
988
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
989
|
-
* @param {number} [recvWindow]
|
|
985
|
+
* @param {number | bigint} [startTime]
|
|
986
|
+
* @param {number | bigint} [endTime]
|
|
987
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
988
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
989
|
+
* @param {number | bigint} [recvWindow]
|
|
990
990
|
*
|
|
991
991
|
* @throws {RequiredError}
|
|
992
992
|
*/
|
|
@@ -1034,14 +1034,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
1034
1034
|
* Weight: 400
|
|
1035
1035
|
*
|
|
1036
1036
|
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1037
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1037
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1038
1038
|
* @param {string} [loanCoin]
|
|
1039
1039
|
* @param {string} [collateralCoin]
|
|
1040
|
-
* @param {number} [startTime]
|
|
1041
|
-
* @param {number} [endTime]
|
|
1042
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1043
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
1044
|
-
* @param {number} [recvWindow]
|
|
1040
|
+
* @param {number | bigint} [startTime]
|
|
1041
|
+
* @param {number | bigint} [endTime]
|
|
1042
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1043
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
1044
|
+
* @param {number | bigint} [recvWindow]
|
|
1045
1045
|
*
|
|
1046
1046
|
* @throws {RequiredError}
|
|
1047
1047
|
*/
|
|
@@ -1089,14 +1089,14 @@ var StableRateApiAxiosParamCreator = function(configuration) {
|
|
|
1089
1089
|
* Weight: 400
|
|
1090
1090
|
*
|
|
1091
1091
|
* @summary Get Loan Repayment History(USER_DATA)
|
|
1092
|
-
* @param {number} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1092
|
+
* @param {number | bigint} [orderId] orderId in `POST /sapi/v1/loan/borrow`
|
|
1093
1093
|
* @param {string} [loanCoin]
|
|
1094
1094
|
* @param {string} [collateralCoin]
|
|
1095
|
-
* @param {number} [startTime]
|
|
1096
|
-
* @param {number} [endTime]
|
|
1097
|
-
* @param {number} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1098
|
-
* @param {number} [limit] Default: 10; max: 100
|
|
1099
|
-
* @param {number} [recvWindow]
|
|
1095
|
+
* @param {number | bigint} [startTime]
|
|
1096
|
+
* @param {number | bigint} [endTime]
|
|
1097
|
+
* @param {number | bigint} [current] Current querying page. Start from 1; default: 1; max: 1000
|
|
1098
|
+
* @param {number | bigint} [limit] Default: 10; max: 100
|
|
1099
|
+
* @param {number | bigint} [recvWindow]
|
|
1100
1100
|
*
|
|
1101
1101
|
* @throws {RequiredError}
|
|
1102
1102
|
*/
|
|
@@ -1348,6 +1348,7 @@ var RestAPI = class {
|
|
|
1348
1348
|
*
|
|
1349
1349
|
* @summary Check Collateral Repay Rate (USER_DATA)
|
|
1350
1350
|
* @param {CheckCollateralRepayRateRequest} requestParameters Request parameters.
|
|
1351
|
+
*
|
|
1351
1352
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateResponse>>}
|
|
1352
1353
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1353
1354
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1364,6 +1365,7 @@ var RestAPI = class {
|
|
|
1364
1365
|
*
|
|
1365
1366
|
* @summary Flexible Loan Adjust LTV(TRADE)
|
|
1366
1367
|
* @param {FlexibleLoanAdjustLtvRequest} requestParameters Request parameters.
|
|
1368
|
+
*
|
|
1367
1369
|
* @returns {Promise<RestApiResponse<FlexibleLoanAdjustLtvResponse>>}
|
|
1368
1370
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1369
1371
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Adjust-LTV Binance API Documentation}
|
|
@@ -1382,6 +1384,7 @@ var RestAPI = class {
|
|
|
1382
1384
|
*
|
|
1383
1385
|
* @summary Flexible Loan Borrow(TRADE)
|
|
1384
1386
|
* @param {FlexibleLoanBorrowRequest} requestParameters Request parameters.
|
|
1387
|
+
*
|
|
1385
1388
|
* @returns {Promise<RestApiResponse<FlexibleLoanBorrowResponse>>}
|
|
1386
1389
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1387
1390
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Borrow Binance API Documentation}
|
|
@@ -1399,6 +1402,7 @@ var RestAPI = class {
|
|
|
1399
1402
|
*
|
|
1400
1403
|
* @summary Flexible Loan Repay(TRADE)
|
|
1401
1404
|
* @param {FlexibleLoanRepayRequest} requestParameters Request parameters.
|
|
1405
|
+
*
|
|
1402
1406
|
* @returns {Promise<RestApiResponse<FlexibleLoanRepayResponse>>}
|
|
1403
1407
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1404
1408
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/trade/Flexible-Loan-Repay Binance API Documentation}
|
|
@@ -1413,6 +1417,7 @@ var RestAPI = class {
|
|
|
1413
1417
|
*
|
|
1414
1418
|
* @summary Get Flexible Loan Assets Data(USER_DATA)
|
|
1415
1419
|
* @param {GetFlexibleLoanAssetsDataRequest} requestParameters Request parameters.
|
|
1420
|
+
*
|
|
1416
1421
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanAssetsDataResponse>>}
|
|
1417
1422
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1418
1423
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data Binance API Documentation}
|
|
@@ -1430,6 +1435,7 @@ var RestAPI = class {
|
|
|
1430
1435
|
*
|
|
1431
1436
|
* @summary Get Flexible Loan Borrow History(USER_DATA)
|
|
1432
1437
|
* @param {GetFlexibleLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1438
|
+
*
|
|
1433
1439
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanBorrowHistoryResponse>>}
|
|
1434
1440
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1435
1441
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1444,6 +1450,7 @@ var RestAPI = class {
|
|
|
1444
1450
|
*
|
|
1445
1451
|
* @summary Get Flexible Loan Collateral Assets Data(USER_DATA)
|
|
1446
1452
|
* @param {GetFlexibleLoanCollateralAssetsDataRequest} requestParameters Request parameters.
|
|
1453
|
+
*
|
|
1447
1454
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanCollateralAssetsDataResponse>>}
|
|
1448
1455
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1449
1456
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Collateral-Assets-Data Binance API Documentation}
|
|
@@ -1457,6 +1464,7 @@ var RestAPI = class {
|
|
|
1457
1464
|
*
|
|
1458
1465
|
* @summary Get Flexible Loan Liquidation History (USER_DATA)
|
|
1459
1466
|
* @param {GetFlexibleLoanLiquidationHistoryRequest} requestParameters Request parameters.
|
|
1467
|
+
*
|
|
1460
1468
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLiquidationHistoryResponse>>}
|
|
1461
1469
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1462
1470
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Liquidation-History Binance API Documentation}
|
|
@@ -1474,6 +1482,7 @@ var RestAPI = class {
|
|
|
1474
1482
|
*
|
|
1475
1483
|
* @summary Get Flexible Loan LTV Adjustment History(USER_DATA)
|
|
1476
1484
|
* @param {GetFlexibleLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1485
|
+
*
|
|
1477
1486
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanLtvAdjustmentHistoryResponse>>}
|
|
1478
1487
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1479
1488
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1488,6 +1497,7 @@ var RestAPI = class {
|
|
|
1488
1497
|
*
|
|
1489
1498
|
* @summary Get Flexible Loan Ongoing Orders(USER_DATA)
|
|
1490
1499
|
* @param {GetFlexibleLoanOngoingOrdersRequest} requestParameters Request parameters.
|
|
1500
|
+
*
|
|
1491
1501
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanOngoingOrdersResponse>>}
|
|
1492
1502
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1493
1503
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Ongoing-Orders Binance API Documentation}
|
|
@@ -1505,6 +1515,7 @@ var RestAPI = class {
|
|
|
1505
1515
|
*
|
|
1506
1516
|
* @summary Get Flexible Loan Repayment History(USER_DATA)
|
|
1507
1517
|
* @param {GetFlexibleLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1518
|
+
*
|
|
1508
1519
|
* @returns {Promise<RestApiResponse<GetFlexibleLoanRepaymentHistoryResponse>>}
|
|
1509
1520
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1510
1521
|
* @see {@link https://developers.binance.com/docs/crypto_loan/flexible-rate/user-information/Get-Flexible-Loan-Repayment-History Binance API Documentation}
|
|
@@ -1519,6 +1530,7 @@ var RestAPI = class {
|
|
|
1519
1530
|
*
|
|
1520
1531
|
* @summary Check Collateral Repay Rate(USER_DATA)
|
|
1521
1532
|
* @param {CheckCollateralRepayRateStableRateRequest} requestParameters Request parameters.
|
|
1533
|
+
*
|
|
1522
1534
|
* @returns {Promise<RestApiResponse<CheckCollateralRepayRateStableRateResponse>>}
|
|
1523
1535
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1524
1536
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Check-Collateral-Repay-Rate Binance API Documentation}
|
|
@@ -1536,6 +1548,7 @@ var RestAPI = class {
|
|
|
1536
1548
|
*
|
|
1537
1549
|
* @summary Get Crypto Loans Income History(USER_DATA)
|
|
1538
1550
|
* @param {GetCryptoLoansIncomeHistoryRequest} requestParameters Request parameters.
|
|
1551
|
+
*
|
|
1539
1552
|
* @returns {Promise<RestApiResponse<GetCryptoLoansIncomeHistoryResponse>>}
|
|
1540
1553
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1541
1554
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/market-data/Get-Crypto-Loans-Income-History Binance API Documentation}
|
|
@@ -1553,6 +1566,7 @@ var RestAPI = class {
|
|
|
1553
1566
|
*
|
|
1554
1567
|
* @summary Get Loan Borrow History(USER_DATA)
|
|
1555
1568
|
* @param {GetLoanBorrowHistoryRequest} requestParameters Request parameters.
|
|
1569
|
+
*
|
|
1556
1570
|
* @returns {Promise<RestApiResponse<GetLoanBorrowHistoryResponse>>}
|
|
1557
1571
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1558
1572
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Borrow-History Binance API Documentation}
|
|
@@ -1570,6 +1584,7 @@ var RestAPI = class {
|
|
|
1570
1584
|
*
|
|
1571
1585
|
* @summary Get Loan LTV Adjustment History(USER_DATA)
|
|
1572
1586
|
* @param {GetLoanLtvAdjustmentHistoryRequest} requestParameters Request parameters.
|
|
1587
|
+
*
|
|
1573
1588
|
* @returns {Promise<RestApiResponse<GetLoanLtvAdjustmentHistoryResponse>>}
|
|
1574
1589
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1575
1590
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-LTV-Adjustment-History Binance API Documentation}
|
|
@@ -1587,6 +1602,7 @@ var RestAPI = class {
|
|
|
1587
1602
|
*
|
|
1588
1603
|
* @summary Get Loan Repayment History(USER_DATA)
|
|
1589
1604
|
* @param {GetLoanRepaymentHistoryRequest} requestParameters Request parameters.
|
|
1605
|
+
*
|
|
1590
1606
|
* @returns {Promise<RestApiResponse<GetLoanRepaymentHistoryResponse>>}
|
|
1591
1607
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1592
1608
|
* @see {@link https://developers.binance.com/docs/crypto_loan/stable-rate/user-information/Get-Loan-Repayment-History Binance API Documentation}
|