@binance/derivatives-trading-portfolio-margin-pro 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +47 -287
- package/dist/index.d.ts +47 -287
- package/dist/index.js +24 -188
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -188
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -522,56 +522,6 @@ interface GetTransferableEarnAssetBalanceForPortfolioMarginResponse {
|
|
|
522
522
|
amount?: string;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
/**
|
|
526
|
-
* Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
527
|
-
*
|
|
528
|
-
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
529
|
-
*
|
|
530
|
-
* The version of the OpenAPI document: 1.0.0
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
534
|
-
* https://openapi-generator.tech
|
|
535
|
-
* Do not edit the class manually.
|
|
536
|
-
*/
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @export
|
|
540
|
-
* @interface MintBfusdForPortfolioMarginResponse
|
|
541
|
-
*/
|
|
542
|
-
interface MintBfusdForPortfolioMarginResponse {
|
|
543
|
-
/**
|
|
544
|
-
*
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @memberof MintBfusdForPortfolioMarginResponse
|
|
547
|
-
*/
|
|
548
|
-
fromAsset?: string;
|
|
549
|
-
/**
|
|
550
|
-
*
|
|
551
|
-
* @type {string}
|
|
552
|
-
* @memberof MintBfusdForPortfolioMarginResponse
|
|
553
|
-
*/
|
|
554
|
-
targetAsset?: string;
|
|
555
|
-
/**
|
|
556
|
-
*
|
|
557
|
-
* @type {number | bigint}
|
|
558
|
-
* @memberof MintBfusdForPortfolioMarginResponse
|
|
559
|
-
*/
|
|
560
|
-
fromAssetQty?: number | bigint;
|
|
561
|
-
/**
|
|
562
|
-
*
|
|
563
|
-
* @type {number}
|
|
564
|
-
* @memberof MintBfusdForPortfolioMarginResponse
|
|
565
|
-
*/
|
|
566
|
-
targetAssetQty?: number;
|
|
567
|
-
/**
|
|
568
|
-
*
|
|
569
|
-
* @type {number}
|
|
570
|
-
* @memberof MintBfusdForPortfolioMarginResponse
|
|
571
|
-
*/
|
|
572
|
-
mintRate?: number;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
525
|
/**
|
|
576
526
|
* Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
577
527
|
*
|
|
@@ -982,56 +932,6 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner {
|
|
|
982
932
|
interface QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse extends Array<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner> {
|
|
983
933
|
}
|
|
984
934
|
|
|
985
|
-
/**
|
|
986
|
-
* Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
987
|
-
*
|
|
988
|
-
* OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
989
|
-
*
|
|
990
|
-
* The version of the OpenAPI document: 1.0.0
|
|
991
|
-
*
|
|
992
|
-
*
|
|
993
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
994
|
-
* https://openapi-generator.tech
|
|
995
|
-
* Do not edit the class manually.
|
|
996
|
-
*/
|
|
997
|
-
/**
|
|
998
|
-
*
|
|
999
|
-
* @export
|
|
1000
|
-
* @interface RedeemBfusdForPortfolioMarginResponse
|
|
1001
|
-
*/
|
|
1002
|
-
interface RedeemBfusdForPortfolioMarginResponse {
|
|
1003
|
-
/**
|
|
1004
|
-
*
|
|
1005
|
-
* @type {string}
|
|
1006
|
-
* @memberof RedeemBfusdForPortfolioMarginResponse
|
|
1007
|
-
*/
|
|
1008
|
-
fromAsset?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @type {string}
|
|
1012
|
-
* @memberof RedeemBfusdForPortfolioMarginResponse
|
|
1013
|
-
*/
|
|
1014
|
-
targetAsset?: string;
|
|
1015
|
-
/**
|
|
1016
|
-
*
|
|
1017
|
-
* @type {number}
|
|
1018
|
-
* @memberof RedeemBfusdForPortfolioMarginResponse
|
|
1019
|
-
*/
|
|
1020
|
-
fromAssetQty?: number;
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {number}
|
|
1024
|
-
* @memberof RedeemBfusdForPortfolioMarginResponse
|
|
1025
|
-
*/
|
|
1026
|
-
targetAssetQty?: number;
|
|
1027
|
-
/**
|
|
1028
|
-
*
|
|
1029
|
-
* @type {number}
|
|
1030
|
-
* @memberof RedeemBfusdForPortfolioMarginResponse
|
|
1031
|
-
*/
|
|
1032
|
-
redeemRate?: number;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
935
|
/**
|
|
1036
936
|
* Binance Derivatives Trading Portfolio Margin Pro REST API
|
|
1037
937
|
*
|
|
@@ -1218,18 +1118,6 @@ interface AccountApiInterface {
|
|
|
1218
1118
|
* @memberof AccountApiInterface
|
|
1219
1119
|
*/
|
|
1220
1120
|
getTransferableEarnAssetBalanceForPortfolioMargin(requestParameters: GetTransferableEarnAssetBalanceForPortfolioMarginRequest): Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>;
|
|
1221
|
-
/**
|
|
1222
|
-
* Mint BFUSD for all types of Portfolio Margin account
|
|
1223
|
-
*
|
|
1224
|
-
* Weight: 1500
|
|
1225
|
-
*
|
|
1226
|
-
* @summary Mint BFUSD for Portfolio Margin(TRADE)
|
|
1227
|
-
* @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1228
|
-
*
|
|
1229
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1230
|
-
* @memberof AccountApiInterface
|
|
1231
|
-
*/
|
|
1232
|
-
mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
|
|
1233
1121
|
/**
|
|
1234
1122
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
1235
1123
|
*
|
|
@@ -1285,18 +1173,6 @@ interface AccountApiInterface {
|
|
|
1285
1173
|
* @memberof AccountApiInterface
|
|
1286
1174
|
*/
|
|
1287
1175
|
queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
|
|
1288
|
-
/**
|
|
1289
|
-
* Redeem BFUSD for all types of Portfolio Margin account
|
|
1290
|
-
*
|
|
1291
|
-
* Weight: 1500
|
|
1292
|
-
*
|
|
1293
|
-
* @summary Redeem BFUSD for Portfolio Margin(TRADE)
|
|
1294
|
-
* @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1295
|
-
*
|
|
1296
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1297
|
-
* @memberof AccountApiInterface
|
|
1298
|
-
*/
|
|
1299
|
-
redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
|
|
1300
1176
|
/**
|
|
1301
1177
|
* Repay futures Negative Balance
|
|
1302
1178
|
*
|
|
@@ -1341,10 +1217,10 @@ interface BnbTransferRequest {
|
|
|
1341
1217
|
readonly transferSide: string;
|
|
1342
1218
|
/**
|
|
1343
1219
|
*
|
|
1344
|
-
* @type {number}
|
|
1220
|
+
* @type {number | bigint}
|
|
1345
1221
|
* @memberof AccountApiBnbTransfer
|
|
1346
1222
|
*/
|
|
1347
|
-
readonly recvWindow?: number;
|
|
1223
|
+
readonly recvWindow?: number | bigint;
|
|
1348
1224
|
}
|
|
1349
1225
|
/**
|
|
1350
1226
|
* Request parameters for changeAutoRepayFuturesStatus operation in AccountApi.
|
|
@@ -1359,10 +1235,10 @@ interface ChangeAutoRepayFuturesStatusRequest {
|
|
|
1359
1235
|
readonly autoRepay: string;
|
|
1360
1236
|
/**
|
|
1361
1237
|
*
|
|
1362
|
-
* @type {number}
|
|
1238
|
+
* @type {number | bigint}
|
|
1363
1239
|
* @memberof AccountApiChangeAutoRepayFuturesStatus
|
|
1364
1240
|
*/
|
|
1365
|
-
readonly recvWindow?: number;
|
|
1241
|
+
readonly recvWindow?: number | bigint;
|
|
1366
1242
|
}
|
|
1367
1243
|
/**
|
|
1368
1244
|
* Request parameters for fundAutoCollection operation in AccountApi.
|
|
@@ -1371,10 +1247,10 @@ interface ChangeAutoRepayFuturesStatusRequest {
|
|
|
1371
1247
|
interface FundAutoCollectionRequest {
|
|
1372
1248
|
/**
|
|
1373
1249
|
*
|
|
1374
|
-
* @type {number}
|
|
1250
|
+
* @type {number | bigint}
|
|
1375
1251
|
* @memberof AccountApiFundAutoCollection
|
|
1376
1252
|
*/
|
|
1377
|
-
readonly recvWindow?: number;
|
|
1253
|
+
readonly recvWindow?: number | bigint;
|
|
1378
1254
|
}
|
|
1379
1255
|
/**
|
|
1380
1256
|
* Request parameters for fundCollectionByAsset operation in AccountApi.
|
|
@@ -1389,10 +1265,10 @@ interface FundCollectionByAssetRequest {
|
|
|
1389
1265
|
readonly asset: string;
|
|
1390
1266
|
/**
|
|
1391
1267
|
*
|
|
1392
|
-
* @type {number}
|
|
1268
|
+
* @type {number | bigint}
|
|
1393
1269
|
* @memberof AccountApiFundCollectionByAsset
|
|
1394
1270
|
*/
|
|
1395
|
-
readonly recvWindow?: number;
|
|
1271
|
+
readonly recvWindow?: number | bigint;
|
|
1396
1272
|
}
|
|
1397
1273
|
/**
|
|
1398
1274
|
* Request parameters for getAutoRepayFuturesStatus operation in AccountApi.
|
|
@@ -1401,10 +1277,10 @@ interface FundCollectionByAssetRequest {
|
|
|
1401
1277
|
interface GetAutoRepayFuturesStatusRequest {
|
|
1402
1278
|
/**
|
|
1403
1279
|
*
|
|
1404
|
-
* @type {number}
|
|
1280
|
+
* @type {number | bigint}
|
|
1405
1281
|
* @memberof AccountApiGetAutoRepayFuturesStatus
|
|
1406
1282
|
*/
|
|
1407
|
-
readonly recvWindow?: number;
|
|
1283
|
+
readonly recvWindow?: number | bigint;
|
|
1408
1284
|
}
|
|
1409
1285
|
/**
|
|
1410
1286
|
* Request parameters for getPortfolioMarginProAccountBalance operation in AccountApi.
|
|
@@ -1419,10 +1295,10 @@ interface GetPortfolioMarginProAccountBalanceRequest {
|
|
|
1419
1295
|
readonly asset?: string;
|
|
1420
1296
|
/**
|
|
1421
1297
|
*
|
|
1422
|
-
* @type {number}
|
|
1298
|
+
* @type {number | bigint}
|
|
1423
1299
|
* @memberof AccountApiGetPortfolioMarginProAccountBalance
|
|
1424
1300
|
*/
|
|
1425
|
-
readonly recvWindow?: number;
|
|
1301
|
+
readonly recvWindow?: number | bigint;
|
|
1426
1302
|
}
|
|
1427
1303
|
/**
|
|
1428
1304
|
* Request parameters for getPortfolioMarginProAccountInfo operation in AccountApi.
|
|
@@ -1431,10 +1307,10 @@ interface GetPortfolioMarginProAccountBalanceRequest {
|
|
|
1431
1307
|
interface GetPortfolioMarginProAccountInfoRequest {
|
|
1432
1308
|
/**
|
|
1433
1309
|
*
|
|
1434
|
-
* @type {number}
|
|
1310
|
+
* @type {number | bigint}
|
|
1435
1311
|
* @memberof AccountApiGetPortfolioMarginProAccountInfo
|
|
1436
1312
|
*/
|
|
1437
|
-
readonly recvWindow?: number;
|
|
1313
|
+
readonly recvWindow?: number | bigint;
|
|
1438
1314
|
}
|
|
1439
1315
|
/**
|
|
1440
1316
|
* Request parameters for getPortfolioMarginProSpanAccountInfo operation in AccountApi.
|
|
@@ -1443,10 +1319,10 @@ interface GetPortfolioMarginProAccountInfoRequest {
|
|
|
1443
1319
|
interface GetPortfolioMarginProSpanAccountInfoRequest {
|
|
1444
1320
|
/**
|
|
1445
1321
|
*
|
|
1446
|
-
* @type {number}
|
|
1322
|
+
* @type {number | bigint}
|
|
1447
1323
|
* @memberof AccountApiGetPortfolioMarginProSpanAccountInfo
|
|
1448
1324
|
*/
|
|
1449
|
-
readonly recvWindow?: number;
|
|
1325
|
+
readonly recvWindow?: number | bigint;
|
|
1450
1326
|
}
|
|
1451
1327
|
/**
|
|
1452
1328
|
* Request parameters for getTransferableEarnAssetBalanceForPortfolioMargin operation in AccountApi.
|
|
@@ -1467,40 +1343,10 @@ interface GetTransferableEarnAssetBalanceForPortfolioMarginRequest {
|
|
|
1467
1343
|
readonly transferType: string;
|
|
1468
1344
|
/**
|
|
1469
1345
|
*
|
|
1470
|
-
* @type {number}
|
|
1346
|
+
* @type {number | bigint}
|
|
1471
1347
|
* @memberof AccountApiGetTransferableEarnAssetBalanceForPortfolioMargin
|
|
1472
1348
|
*/
|
|
1473
|
-
readonly recvWindow?: number;
|
|
1474
|
-
}
|
|
1475
|
-
/**
|
|
1476
|
-
* Request parameters for mintBfusdForPortfolioMargin operation in AccountApi.
|
|
1477
|
-
* @interface MintBfusdForPortfolioMarginRequest
|
|
1478
|
-
*/
|
|
1479
|
-
interface MintBfusdForPortfolioMarginRequest {
|
|
1480
|
-
/**
|
|
1481
|
-
* `BFUSD` only
|
|
1482
|
-
* @type {string}
|
|
1483
|
-
* @memberof AccountApiMintBfusdForPortfolioMargin
|
|
1484
|
-
*/
|
|
1485
|
-
readonly fromAsset: string;
|
|
1486
|
-
/**
|
|
1487
|
-
* `USDT` `USDC`
|
|
1488
|
-
* @type {string}
|
|
1489
|
-
* @memberof AccountApiMintBfusdForPortfolioMargin
|
|
1490
|
-
*/
|
|
1491
|
-
readonly targetAsset: string;
|
|
1492
|
-
/**
|
|
1493
|
-
*
|
|
1494
|
-
* @type {number}
|
|
1495
|
-
* @memberof AccountApiMintBfusdForPortfolioMargin
|
|
1496
|
-
*/
|
|
1497
|
-
readonly amount: number;
|
|
1498
|
-
/**
|
|
1499
|
-
*
|
|
1500
|
-
* @type {number}
|
|
1501
|
-
* @memberof AccountApiMintBfusdForPortfolioMargin
|
|
1502
|
-
*/
|
|
1503
|
-
readonly recvWindow?: number;
|
|
1349
|
+
readonly recvWindow?: number | bigint;
|
|
1504
1350
|
}
|
|
1505
1351
|
/**
|
|
1506
1352
|
* Request parameters for portfolioMarginProBankruptcyLoanRepay operation in AccountApi.
|
|
@@ -1515,10 +1361,10 @@ interface PortfolioMarginProBankruptcyLoanRepayRequest {
|
|
|
1515
1361
|
readonly from?: string;
|
|
1516
1362
|
/**
|
|
1517
1363
|
*
|
|
1518
|
-
* @type {number}
|
|
1364
|
+
* @type {number | bigint}
|
|
1519
1365
|
* @memberof AccountApiPortfolioMarginProBankruptcyLoanRepay
|
|
1520
1366
|
*/
|
|
1521
|
-
readonly recvWindow?: number;
|
|
1367
|
+
readonly recvWindow?: number | bigint;
|
|
1522
1368
|
}
|
|
1523
1369
|
/**
|
|
1524
1370
|
* Request parameters for queryPortfolioMarginProBankruptcyLoanAmount operation in AccountApi.
|
|
@@ -1527,10 +1373,10 @@ interface PortfolioMarginProBankruptcyLoanRepayRequest {
|
|
|
1527
1373
|
interface QueryPortfolioMarginProBankruptcyLoanAmountRequest {
|
|
1528
1374
|
/**
|
|
1529
1375
|
*
|
|
1530
|
-
* @type {number}
|
|
1376
|
+
* @type {number | bigint}
|
|
1531
1377
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanAmount
|
|
1532
1378
|
*/
|
|
1533
|
-
readonly recvWindow?: number;
|
|
1379
|
+
readonly recvWindow?: number | bigint;
|
|
1534
1380
|
}
|
|
1535
1381
|
/**
|
|
1536
1382
|
* Request parameters for queryPortfolioMarginProBankruptcyLoanRepayHistory operation in AccountApi.
|
|
@@ -1539,34 +1385,34 @@ interface QueryPortfolioMarginProBankruptcyLoanAmountRequest {
|
|
|
1539
1385
|
interface QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest {
|
|
1540
1386
|
/**
|
|
1541
1387
|
*
|
|
1542
|
-
* @type {number}
|
|
1388
|
+
* @type {number | bigint}
|
|
1543
1389
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1544
1390
|
*/
|
|
1545
|
-
readonly startTime?: number;
|
|
1391
|
+
readonly startTime?: number | bigint;
|
|
1546
1392
|
/**
|
|
1547
1393
|
*
|
|
1548
|
-
* @type {number}
|
|
1394
|
+
* @type {number | bigint}
|
|
1549
1395
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1550
1396
|
*/
|
|
1551
|
-
readonly endTime?: number;
|
|
1397
|
+
readonly endTime?: number | bigint;
|
|
1552
1398
|
/**
|
|
1553
1399
|
* Currently querying page. Start from 1. Default:1
|
|
1554
|
-
* @type {number}
|
|
1400
|
+
* @type {number | bigint}
|
|
1555
1401
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1556
1402
|
*/
|
|
1557
|
-
readonly current?: number;
|
|
1403
|
+
readonly current?: number | bigint;
|
|
1558
1404
|
/**
|
|
1559
1405
|
* Default:10 Max:100
|
|
1560
|
-
* @type {number}
|
|
1406
|
+
* @type {number | bigint}
|
|
1561
1407
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1562
1408
|
*/
|
|
1563
|
-
readonly size?: number;
|
|
1409
|
+
readonly size?: number | bigint;
|
|
1564
1410
|
/**
|
|
1565
1411
|
*
|
|
1566
|
-
* @type {number}
|
|
1412
|
+
* @type {number | bigint}
|
|
1567
1413
|
* @memberof AccountApiQueryPortfolioMarginProBankruptcyLoanRepayHistory
|
|
1568
1414
|
*/
|
|
1569
|
-
readonly recvWindow?: number;
|
|
1415
|
+
readonly recvWindow?: number | bigint;
|
|
1570
1416
|
}
|
|
1571
1417
|
/**
|
|
1572
1418
|
* Request parameters for queryPortfolioMarginProNegativeBalanceInterestHistory operation in AccountApi.
|
|
@@ -1581,58 +1427,28 @@ interface QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest {
|
|
|
1581
1427
|
readonly asset?: string;
|
|
1582
1428
|
/**
|
|
1583
1429
|
*
|
|
1584
|
-
* @type {number}
|
|
1430
|
+
* @type {number | bigint}
|
|
1585
1431
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1586
1432
|
*/
|
|
1587
|
-
readonly startTime?: number;
|
|
1433
|
+
readonly startTime?: number | bigint;
|
|
1588
1434
|
/**
|
|
1589
1435
|
*
|
|
1590
|
-
* @type {number}
|
|
1436
|
+
* @type {number | bigint}
|
|
1591
1437
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1592
1438
|
*/
|
|
1593
|
-
readonly endTime?: number;
|
|
1439
|
+
readonly endTime?: number | bigint;
|
|
1594
1440
|
/**
|
|
1595
1441
|
* Default:10 Max:100
|
|
1596
|
-
* @type {number}
|
|
1442
|
+
* @type {number | bigint}
|
|
1597
1443
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1598
1444
|
*/
|
|
1599
|
-
readonly size?: number;
|
|
1445
|
+
readonly size?: number | bigint;
|
|
1600
1446
|
/**
|
|
1601
1447
|
*
|
|
1602
|
-
* @type {number}
|
|
1448
|
+
* @type {number | bigint}
|
|
1603
1449
|
* @memberof AccountApiQueryPortfolioMarginProNegativeBalanceInterestHistory
|
|
1604
1450
|
*/
|
|
1605
|
-
readonly recvWindow?: number;
|
|
1606
|
-
}
|
|
1607
|
-
/**
|
|
1608
|
-
* Request parameters for redeemBfusdForPortfolioMargin operation in AccountApi.
|
|
1609
|
-
* @interface RedeemBfusdForPortfolioMarginRequest
|
|
1610
|
-
*/
|
|
1611
|
-
interface RedeemBfusdForPortfolioMarginRequest {
|
|
1612
|
-
/**
|
|
1613
|
-
* `BFUSD` only
|
|
1614
|
-
* @type {string}
|
|
1615
|
-
* @memberof AccountApiRedeemBfusdForPortfolioMargin
|
|
1616
|
-
*/
|
|
1617
|
-
readonly fromAsset: string;
|
|
1618
|
-
/**
|
|
1619
|
-
* `USDT` `USDC`
|
|
1620
|
-
* @type {string}
|
|
1621
|
-
* @memberof AccountApiRedeemBfusdForPortfolioMargin
|
|
1622
|
-
*/
|
|
1623
|
-
readonly targetAsset: string;
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @type {number}
|
|
1627
|
-
* @memberof AccountApiRedeemBfusdForPortfolioMargin
|
|
1628
|
-
*/
|
|
1629
|
-
readonly amount: number;
|
|
1630
|
-
/**
|
|
1631
|
-
*
|
|
1632
|
-
* @type {number}
|
|
1633
|
-
* @memberof AccountApiRedeemBfusdForPortfolioMargin
|
|
1634
|
-
*/
|
|
1635
|
-
readonly recvWindow?: number;
|
|
1451
|
+
readonly recvWindow?: number | bigint;
|
|
1636
1452
|
}
|
|
1637
1453
|
/**
|
|
1638
1454
|
* Request parameters for repayFuturesNegativeBalance operation in AccountApi.
|
|
@@ -1647,10 +1463,10 @@ interface RepayFuturesNegativeBalanceRequest {
|
|
|
1647
1463
|
readonly from?: string;
|
|
1648
1464
|
/**
|
|
1649
1465
|
*
|
|
1650
|
-
* @type {number}
|
|
1466
|
+
* @type {number | bigint}
|
|
1651
1467
|
* @memberof AccountApiRepayFuturesNegativeBalance
|
|
1652
1468
|
*/
|
|
1653
|
-
readonly recvWindow?: number;
|
|
1469
|
+
readonly recvWindow?: number | bigint;
|
|
1654
1470
|
}
|
|
1655
1471
|
/**
|
|
1656
1472
|
* Request parameters for transferLdusdtForPortfolioMargin operation in AccountApi.
|
|
@@ -1677,10 +1493,10 @@ interface TransferLdusdtForPortfolioMarginRequest {
|
|
|
1677
1493
|
readonly amount: number;
|
|
1678
1494
|
/**
|
|
1679
1495
|
*
|
|
1680
|
-
* @type {number}
|
|
1496
|
+
* @type {number | bigint}
|
|
1681
1497
|
* @memberof AccountApiTransferLdusdtForPortfolioMargin
|
|
1682
1498
|
*/
|
|
1683
|
-
readonly recvWindow?: number;
|
|
1499
|
+
readonly recvWindow?: number | bigint;
|
|
1684
1500
|
}
|
|
1685
1501
|
/**
|
|
1686
1502
|
* AccountApi - object-oriented interface
|
|
@@ -1815,19 +1631,6 @@ declare class AccountApi implements AccountApiInterface {
|
|
|
1815
1631
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Transferable-Earn-Asset-Balance-for-Portfolio-Margin Binance API Documentation}
|
|
1816
1632
|
*/
|
|
1817
1633
|
getTransferableEarnAssetBalanceForPortfolioMargin(requestParameters: GetTransferableEarnAssetBalanceForPortfolioMarginRequest): Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>;
|
|
1818
|
-
/**
|
|
1819
|
-
* Mint BFUSD for all types of Portfolio Margin account
|
|
1820
|
-
*
|
|
1821
|
-
* Weight: 1500
|
|
1822
|
-
*
|
|
1823
|
-
* @summary Mint BFUSD for Portfolio Margin(TRADE)
|
|
1824
|
-
* @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1825
|
-
* @returns {Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>}
|
|
1826
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1827
|
-
* @memberof AccountApi
|
|
1828
|
-
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Mint-BFUSD-Portfolio-Margin Binance API Documentation}
|
|
1829
|
-
*/
|
|
1830
|
-
mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
|
|
1831
1634
|
/**
|
|
1832
1635
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
1833
1636
|
*
|
|
@@ -1887,19 +1690,6 @@ declare class AccountApi implements AccountApiInterface {
|
|
|
1887
1690
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Negative-Balance-Interest-History Binance API Documentation}
|
|
1888
1691
|
*/
|
|
1889
1692
|
queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
|
|
1890
|
-
/**
|
|
1891
|
-
* Redeem BFUSD for all types of Portfolio Margin account
|
|
1892
|
-
*
|
|
1893
|
-
* Weight: 1500
|
|
1894
|
-
*
|
|
1895
|
-
* @summary Redeem BFUSD for Portfolio Margin(TRADE)
|
|
1896
|
-
* @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
1897
|
-
* @returns {Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>}
|
|
1898
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
1899
|
-
* @memberof AccountApi
|
|
1900
|
-
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Redeem-BFUSD-Portfolio-Margin Binance API Documentation}
|
|
1901
|
-
*/
|
|
1902
|
-
redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
|
|
1903
1693
|
/**
|
|
1904
1694
|
* Repay futures Negative Balance
|
|
1905
1695
|
*
|
|
@@ -2000,10 +1790,10 @@ interface MarketDataApiInterface {
|
|
|
2000
1790
|
interface PortfolioMarginProTieredCollateralRateRequest {
|
|
2001
1791
|
/**
|
|
2002
1792
|
*
|
|
2003
|
-
* @type {number}
|
|
1793
|
+
* @type {number | bigint}
|
|
2004
1794
|
* @memberof MarketDataApiPortfolioMarginProTieredCollateralRate
|
|
2005
1795
|
*/
|
|
2006
|
-
readonly recvWindow?: number;
|
|
1796
|
+
readonly recvWindow?: number | bigint;
|
|
2007
1797
|
}
|
|
2008
1798
|
/**
|
|
2009
1799
|
* Request parameters for queryPortfolioMarginAssetIndexPrice operation in MarketDataApi.
|
|
@@ -2238,19 +2028,6 @@ declare class RestAPI {
|
|
|
2238
2028
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Get-Transferable-Earn-Asset-Balance-for-Portfolio-Margin Binance API Documentation}
|
|
2239
2029
|
*/
|
|
2240
2030
|
getTransferableEarnAssetBalanceForPortfolioMargin(requestParameters: GetTransferableEarnAssetBalanceForPortfolioMarginRequest): Promise<RestApiResponse<GetTransferableEarnAssetBalanceForPortfolioMarginResponse>>;
|
|
2241
|
-
/**
|
|
2242
|
-
* Mint BFUSD for all types of Portfolio Margin account
|
|
2243
|
-
*
|
|
2244
|
-
* Weight: 1500
|
|
2245
|
-
*
|
|
2246
|
-
* @summary Mint BFUSD for Portfolio Margin(TRADE)
|
|
2247
|
-
* @param {MintBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
2248
|
-
*
|
|
2249
|
-
* @returns {Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>}
|
|
2250
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2251
|
-
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Mint-BFUSD-Portfolio-Margin Binance API Documentation}
|
|
2252
|
-
*/
|
|
2253
|
-
mintBfusdForPortfolioMargin(requestParameters: MintBfusdForPortfolioMarginRequest): Promise<RestApiResponse<MintBfusdForPortfolioMarginResponse>>;
|
|
2254
2031
|
/**
|
|
2255
2032
|
* Repay Portfolio Margin Pro Bankruptcy Loan
|
|
2256
2033
|
*
|
|
@@ -2310,19 +2087,6 @@ declare class RestAPI {
|
|
|
2310
2087
|
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Query-Classic-Portfolio-Margin-Negative-Balance-Interest-History Binance API Documentation}
|
|
2311
2088
|
*/
|
|
2312
2089
|
queryPortfolioMarginProNegativeBalanceInterestHistory(requestParameters?: QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest): Promise<RestApiResponse<QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse>>;
|
|
2313
|
-
/**
|
|
2314
|
-
* Redeem BFUSD for all types of Portfolio Margin account
|
|
2315
|
-
*
|
|
2316
|
-
* Weight: 1500
|
|
2317
|
-
*
|
|
2318
|
-
* @summary Redeem BFUSD for Portfolio Margin(TRADE)
|
|
2319
|
-
* @param {RedeemBfusdForPortfolioMarginRequest} requestParameters Request parameters.
|
|
2320
|
-
*
|
|
2321
|
-
* @returns {Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>}
|
|
2322
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2323
|
-
* @see {@link https://developers.binance.com/docs/derivatives/portfolio-margin-pro/account/Redeem-BFUSD-Portfolio-Margin Binance API Documentation}
|
|
2324
|
-
*/
|
|
2325
|
-
redeemBfusdForPortfolioMargin(requestParameters: RedeemBfusdForPortfolioMarginRequest): Promise<RestApiResponse<RedeemBfusdForPortfolioMarginResponse>>;
|
|
2326
2090
|
/**
|
|
2327
2091
|
* Repay futures Negative Balance
|
|
2328
2092
|
*
|
|
@@ -2442,8 +2206,6 @@ type index$1_GetTransferableEarnAssetBalanceForPortfolioMarginResponse = GetTran
|
|
|
2442
2206
|
type index$1_MarketDataApi = MarketDataApi;
|
|
2443
2207
|
declare const index$1_MarketDataApi: typeof MarketDataApi;
|
|
2444
2208
|
type index$1_MarketDataApiInterface = MarketDataApiInterface;
|
|
2445
|
-
type index$1_MintBfusdForPortfolioMarginRequest = MintBfusdForPortfolioMarginRequest;
|
|
2446
|
-
type index$1_MintBfusdForPortfolioMarginResponse = MintBfusdForPortfolioMarginResponse;
|
|
2447
2209
|
type index$1_PortfolioMarginCollateralRateResponse = PortfolioMarginCollateralRateResponse;
|
|
2448
2210
|
type index$1_PortfolioMarginCollateralRateResponseInner = PortfolioMarginCollateralRateResponseInner;
|
|
2449
2211
|
type index$1_PortfolioMarginProBankruptcyLoanRepayRequest = PortfolioMarginProBankruptcyLoanRepayRequest;
|
|
@@ -2463,8 +2225,6 @@ type index$1_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner
|
|
|
2463
2225
|
type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest = QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest;
|
|
2464
2226
|
type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse = QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse;
|
|
2465
2227
|
type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner = QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner;
|
|
2466
|
-
type index$1_RedeemBfusdForPortfolioMarginRequest = RedeemBfusdForPortfolioMarginRequest;
|
|
2467
|
-
type index$1_RedeemBfusdForPortfolioMarginResponse = RedeemBfusdForPortfolioMarginResponse;
|
|
2468
2228
|
type index$1_RepayFuturesNegativeBalanceRequest = RepayFuturesNegativeBalanceRequest;
|
|
2469
2229
|
type index$1_RepayFuturesNegativeBalanceResponse = RepayFuturesNegativeBalanceResponse;
|
|
2470
2230
|
type index$1_RestAPI = RestAPI;
|
|
@@ -2472,7 +2232,7 @@ declare const index$1_RestAPI: typeof RestAPI;
|
|
|
2472
2232
|
type index$1_TransferLdusdtForPortfolioMarginRequest = TransferLdusdtForPortfolioMarginRequest;
|
|
2473
2233
|
type index$1_TransferLdusdtForPortfolioMarginResponse = TransferLdusdtForPortfolioMarginResponse;
|
|
2474
2234
|
declare namespace index$1 {
|
|
2475
|
-
export { index$1_AccountApi as AccountApi, type index$1_AccountApiInterface as AccountApiInterface, type index$1_BnbTransferRequest as BnbTransferRequest, type index$1_BnbTransferResponse as BnbTransferResponse, type index$1_ChangeAutoRepayFuturesStatusRequest as ChangeAutoRepayFuturesStatusRequest, type index$1_ChangeAutoRepayFuturesStatusResponse as ChangeAutoRepayFuturesStatusResponse, type index$1_FundAutoCollectionRequest as FundAutoCollectionRequest, type index$1_FundAutoCollectionResponse as FundAutoCollectionResponse, type index$1_FundCollectionByAssetRequest as FundCollectionByAssetRequest, type index$1_FundCollectionByAssetResponse as FundCollectionByAssetResponse, type index$1_GetAutoRepayFuturesStatusRequest as GetAutoRepayFuturesStatusRequest, type index$1_GetAutoRepayFuturesStatusResponse as GetAutoRepayFuturesStatusResponse, type index$1_GetPortfolioMarginAssetLeverageResponse as GetPortfolioMarginAssetLeverageResponse, type index$1_GetPortfolioMarginAssetLeverageResponseInner as GetPortfolioMarginAssetLeverageResponseInner, type index$1_GetPortfolioMarginProAccountBalanceRequest as GetPortfolioMarginProAccountBalanceRequest, type index$1_GetPortfolioMarginProAccountBalanceResponse as GetPortfolioMarginProAccountBalanceResponse, type index$1_GetPortfolioMarginProAccountBalanceResponseInner as GetPortfolioMarginProAccountBalanceResponseInner, type index$1_GetPortfolioMarginProAccountInfoRequest as GetPortfolioMarginProAccountInfoRequest, type index$1_GetPortfolioMarginProAccountInfoResponse as GetPortfolioMarginProAccountInfoResponse, type index$1_GetPortfolioMarginProSpanAccountInfoRequest as GetPortfolioMarginProSpanAccountInfoRequest, type index$1_GetPortfolioMarginProSpanAccountInfoResponse as GetPortfolioMarginProSpanAccountInfoResponse, type index$1_GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner as GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, type index$1_GetTransferableEarnAssetBalanceForPortfolioMarginRequest as GetTransferableEarnAssetBalanceForPortfolioMarginRequest, type index$1_GetTransferableEarnAssetBalanceForPortfolioMarginResponse as GetTransferableEarnAssetBalanceForPortfolioMarginResponse, index$1_MarketDataApi as MarketDataApi, type index$1_MarketDataApiInterface as MarketDataApiInterface, type index$
|
|
2235
|
+
export { index$1_AccountApi as AccountApi, type index$1_AccountApiInterface as AccountApiInterface, type index$1_BnbTransferRequest as BnbTransferRequest, type index$1_BnbTransferResponse as BnbTransferResponse, type index$1_ChangeAutoRepayFuturesStatusRequest as ChangeAutoRepayFuturesStatusRequest, type index$1_ChangeAutoRepayFuturesStatusResponse as ChangeAutoRepayFuturesStatusResponse, type index$1_FundAutoCollectionRequest as FundAutoCollectionRequest, type index$1_FundAutoCollectionResponse as FundAutoCollectionResponse, type index$1_FundCollectionByAssetRequest as FundCollectionByAssetRequest, type index$1_FundCollectionByAssetResponse as FundCollectionByAssetResponse, type index$1_GetAutoRepayFuturesStatusRequest as GetAutoRepayFuturesStatusRequest, type index$1_GetAutoRepayFuturesStatusResponse as GetAutoRepayFuturesStatusResponse, type index$1_GetPortfolioMarginAssetLeverageResponse as GetPortfolioMarginAssetLeverageResponse, type index$1_GetPortfolioMarginAssetLeverageResponseInner as GetPortfolioMarginAssetLeverageResponseInner, type index$1_GetPortfolioMarginProAccountBalanceRequest as GetPortfolioMarginProAccountBalanceRequest, type index$1_GetPortfolioMarginProAccountBalanceResponse as GetPortfolioMarginProAccountBalanceResponse, type index$1_GetPortfolioMarginProAccountBalanceResponseInner as GetPortfolioMarginProAccountBalanceResponseInner, type index$1_GetPortfolioMarginProAccountInfoRequest as GetPortfolioMarginProAccountInfoRequest, type index$1_GetPortfolioMarginProAccountInfoResponse as GetPortfolioMarginProAccountInfoResponse, type index$1_GetPortfolioMarginProSpanAccountInfoRequest as GetPortfolioMarginProSpanAccountInfoRequest, type index$1_GetPortfolioMarginProSpanAccountInfoResponse as GetPortfolioMarginProSpanAccountInfoResponse, type index$1_GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner as GetPortfolioMarginProSpanAccountInfoResponseRiskUnitMMListInner, type index$1_GetTransferableEarnAssetBalanceForPortfolioMarginRequest as GetTransferableEarnAssetBalanceForPortfolioMarginRequest, type index$1_GetTransferableEarnAssetBalanceForPortfolioMarginResponse as GetTransferableEarnAssetBalanceForPortfolioMarginResponse, index$1_MarketDataApi as MarketDataApi, type index$1_MarketDataApiInterface as MarketDataApiInterface, type index$1_PortfolioMarginCollateralRateResponse as PortfolioMarginCollateralRateResponse, type index$1_PortfolioMarginCollateralRateResponseInner as PortfolioMarginCollateralRateResponseInner, type index$1_PortfolioMarginProBankruptcyLoanRepayRequest as PortfolioMarginProBankruptcyLoanRepayRequest, type index$1_PortfolioMarginProBankruptcyLoanRepayResponse as PortfolioMarginProBankruptcyLoanRepayResponse, type index$1_PortfolioMarginProTieredCollateralRateRequest as PortfolioMarginProTieredCollateralRateRequest, type index$1_PortfolioMarginProTieredCollateralRateResponse as PortfolioMarginProTieredCollateralRateResponse, type index$1_PortfolioMarginProTieredCollateralRateResponseInner as PortfolioMarginProTieredCollateralRateResponseInner, type index$1_PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner as PortfolioMarginProTieredCollateralRateResponseInnerCollateralInfoInner, type index$1_QueryPortfolioMarginAssetIndexPriceRequest as QueryPortfolioMarginAssetIndexPriceRequest, type index$1_QueryPortfolioMarginAssetIndexPriceResponse as QueryPortfolioMarginAssetIndexPriceResponse, type index$1_QueryPortfolioMarginAssetIndexPriceResponseInner as QueryPortfolioMarginAssetIndexPriceResponseInner, type index$1_QueryPortfolioMarginProBankruptcyLoanAmountRequest as QueryPortfolioMarginProBankruptcyLoanAmountRequest, type index$1_QueryPortfolioMarginProBankruptcyLoanAmountResponse as QueryPortfolioMarginProBankruptcyLoanAmountResponse, type index$1_QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest as QueryPortfolioMarginProBankruptcyLoanRepayHistoryRequest, type index$1_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse as QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponse, type index$1_QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner as QueryPortfolioMarginProBankruptcyLoanRepayHistoryResponseRowsInner, type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest as QueryPortfolioMarginProNegativeBalanceInterestHistoryRequest, type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse as QueryPortfolioMarginProNegativeBalanceInterestHistoryResponse, type index$1_QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner as QueryPortfolioMarginProNegativeBalanceInterestHistoryResponseInner, type index$1_RepayFuturesNegativeBalanceRequest as RepayFuturesNegativeBalanceRequest, type index$1_RepayFuturesNegativeBalanceResponse as RepayFuturesNegativeBalanceResponse, index$1_RestAPI as RestAPI, type index$1_TransferLdusdtForPortfolioMarginRequest as TransferLdusdtForPortfolioMarginRequest, type index$1_TransferLdusdtForPortfolioMarginResponse as TransferLdusdtForPortfolioMarginResponse };
|
|
2476
2236
|
}
|
|
2477
2237
|
|
|
2478
2238
|
/**
|