@binance/simple-earn 6.0.0 → 8.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 +2364 -1167
- package/dist/index.d.ts +2364 -1167
- package/dist/index.js +1644 -974
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1631 -964
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1481,85 +1481,112 @@ interface GetRateHistoryResponse {
|
|
|
1481
1481
|
* https://openapi-generator.tech
|
|
1482
1482
|
* Do not edit the class manually.
|
|
1483
1483
|
*/
|
|
1484
|
-
|
|
1485
1484
|
/**
|
|
1486
1485
|
*
|
|
1487
1486
|
* @export
|
|
1488
|
-
* @interface
|
|
1487
|
+
* @interface GetRwusdAccountResponse
|
|
1489
1488
|
*/
|
|
1490
|
-
interface
|
|
1489
|
+
interface GetRwusdAccountResponse {
|
|
1491
1490
|
/**
|
|
1492
1491
|
*
|
|
1493
1492
|
* @type {string}
|
|
1494
|
-
* @memberof
|
|
1493
|
+
* @memberof GetRwusdAccountResponse
|
|
1495
1494
|
*/
|
|
1496
|
-
|
|
1495
|
+
rwusdAmount?: string;
|
|
1497
1496
|
/**
|
|
1498
1497
|
*
|
|
1499
1498
|
* @type {string}
|
|
1500
|
-
* @memberof
|
|
1501
|
-
*/
|
|
1502
|
-
latestAnnualPercentageRate?: string;
|
|
1503
|
-
/**
|
|
1504
|
-
*
|
|
1505
|
-
* @type {GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate}
|
|
1506
|
-
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
1499
|
+
* @memberof GetRwusdAccountResponse
|
|
1507
1500
|
*/
|
|
1508
|
-
|
|
1501
|
+
totalProfit?: string;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Binance Simple Earn REST API
|
|
1506
|
+
*
|
|
1507
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1508
|
+
*
|
|
1509
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1510
|
+
*
|
|
1511
|
+
*
|
|
1512
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1513
|
+
* https://openapi-generator.tech
|
|
1514
|
+
* Do not edit the class manually.
|
|
1515
|
+
*/
|
|
1516
|
+
/**
|
|
1517
|
+
*
|
|
1518
|
+
* @export
|
|
1519
|
+
* @interface GetRwusdQuotaDetailsResponseFastRedemptionQuota
|
|
1520
|
+
*/
|
|
1521
|
+
interface GetRwusdQuotaDetailsResponseFastRedemptionQuota {
|
|
1509
1522
|
/**
|
|
1510
1523
|
*
|
|
1511
1524
|
* @type {string}
|
|
1512
|
-
* @memberof
|
|
1525
|
+
* @memberof GetRwusdQuotaDetailsResponseFastRedemptionQuota
|
|
1513
1526
|
*/
|
|
1514
|
-
|
|
1527
|
+
leftQuota?: string;
|
|
1515
1528
|
/**
|
|
1516
1529
|
*
|
|
1517
|
-
* @type {
|
|
1518
|
-
* @memberof
|
|
1530
|
+
* @type {string}
|
|
1531
|
+
* @memberof GetRwusdQuotaDetailsResponseFastRedemptionQuota
|
|
1519
1532
|
*/
|
|
1520
|
-
|
|
1533
|
+
minimum?: string;
|
|
1521
1534
|
/**
|
|
1522
1535
|
*
|
|
1523
|
-
* @type {
|
|
1524
|
-
* @memberof
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof GetRwusdQuotaDetailsResponseFastRedemptionQuota
|
|
1525
1538
|
*/
|
|
1526
|
-
|
|
1539
|
+
fee?: string;
|
|
1527
1540
|
/**
|
|
1528
1541
|
*
|
|
1529
|
-
* @type {
|
|
1530
|
-
* @memberof
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof GetRwusdQuotaDetailsResponseFastRedemptionQuota
|
|
1531
1544
|
*/
|
|
1532
|
-
|
|
1545
|
+
freeQuota?: string;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* Binance Simple Earn REST API
|
|
1550
|
+
*
|
|
1551
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1552
|
+
*
|
|
1553
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1554
|
+
*
|
|
1555
|
+
*
|
|
1556
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1557
|
+
* https://openapi-generator.tech
|
|
1558
|
+
* Do not edit the class manually.
|
|
1559
|
+
*/
|
|
1560
|
+
/**
|
|
1561
|
+
*
|
|
1562
|
+
* @export
|
|
1563
|
+
* @interface GetRwusdQuotaDetailsResponseStandardRedemptionQuota
|
|
1564
|
+
*/
|
|
1565
|
+
interface GetRwusdQuotaDetailsResponseStandardRedemptionQuota {
|
|
1533
1566
|
/**
|
|
1534
1567
|
*
|
|
1535
|
-
* @type {
|
|
1536
|
-
* @memberof
|
|
1568
|
+
* @type {string}
|
|
1569
|
+
* @memberof GetRwusdQuotaDetailsResponseStandardRedemptionQuota
|
|
1537
1570
|
*/
|
|
1538
|
-
|
|
1571
|
+
leftQuota?: string;
|
|
1539
1572
|
/**
|
|
1540
1573
|
*
|
|
1541
1574
|
* @type {string}
|
|
1542
|
-
* @memberof
|
|
1575
|
+
* @memberof GetRwusdQuotaDetailsResponseStandardRedemptionQuota
|
|
1543
1576
|
*/
|
|
1544
|
-
|
|
1577
|
+
minimum?: string;
|
|
1545
1578
|
/**
|
|
1546
1579
|
*
|
|
1547
1580
|
* @type {string}
|
|
1548
|
-
* @memberof
|
|
1581
|
+
* @memberof GetRwusdQuotaDetailsResponseStandardRedemptionQuota
|
|
1549
1582
|
*/
|
|
1550
|
-
|
|
1583
|
+
fee?: string;
|
|
1551
1584
|
/**
|
|
1552
1585
|
*
|
|
1553
1586
|
* @type {number}
|
|
1554
|
-
* @memberof
|
|
1555
|
-
*/
|
|
1556
|
-
subscriptionStartTime?: number;
|
|
1557
|
-
/**
|
|
1558
|
-
*
|
|
1559
|
-
* @type {string}
|
|
1560
|
-
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
1587
|
+
* @memberof GetRwusdQuotaDetailsResponseStandardRedemptionQuota
|
|
1561
1588
|
*/
|
|
1562
|
-
|
|
1589
|
+
redeemPeriod?: number;
|
|
1563
1590
|
}
|
|
1564
1591
|
|
|
1565
1592
|
/**
|
|
@@ -1574,25 +1601,30 @@ interface GetSimpleEarnFlexibleProductListResponseRowsInner {
|
|
|
1574
1601
|
* https://openapi-generator.tech
|
|
1575
1602
|
* Do not edit the class manually.
|
|
1576
1603
|
*/
|
|
1577
|
-
|
|
1578
1604
|
/**
|
|
1579
1605
|
*
|
|
1580
1606
|
* @export
|
|
1581
|
-
* @interface
|
|
1607
|
+
* @interface GetRwusdQuotaDetailsResponseSubscriptionQuota
|
|
1582
1608
|
*/
|
|
1583
|
-
interface
|
|
1609
|
+
interface GetRwusdQuotaDetailsResponseSubscriptionQuota {
|
|
1584
1610
|
/**
|
|
1585
1611
|
*
|
|
1586
|
-
* @type {Array<
|
|
1587
|
-
* @memberof
|
|
1612
|
+
* @type {Array<string>}
|
|
1613
|
+
* @memberof GetRwusdQuotaDetailsResponseSubscriptionQuota
|
|
1588
1614
|
*/
|
|
1589
|
-
|
|
1615
|
+
assets?: Array<string>;
|
|
1590
1616
|
/**
|
|
1591
1617
|
*
|
|
1592
|
-
* @type {
|
|
1593
|
-
* @memberof
|
|
1618
|
+
* @type {string}
|
|
1619
|
+
* @memberof GetRwusdQuotaDetailsResponseSubscriptionQuota
|
|
1594
1620
|
*/
|
|
1595
|
-
|
|
1621
|
+
leftQuota?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
*
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof GetRwusdQuotaDetailsResponseSubscriptionQuota
|
|
1626
|
+
*/
|
|
1627
|
+
minimum?: string;
|
|
1596
1628
|
}
|
|
1597
1629
|
|
|
1598
1630
|
/**
|
|
@@ -1607,90 +1639,75 @@ interface GetSimpleEarnFlexibleProductListResponse {
|
|
|
1607
1639
|
* https://openapi-generator.tech
|
|
1608
1640
|
* Do not edit the class manually.
|
|
1609
1641
|
*/
|
|
1642
|
+
|
|
1610
1643
|
/**
|
|
1611
1644
|
*
|
|
1612
1645
|
* @export
|
|
1613
|
-
* @interface
|
|
1646
|
+
* @interface GetRwusdQuotaDetailsResponse
|
|
1614
1647
|
*/
|
|
1615
|
-
interface
|
|
1648
|
+
interface GetRwusdQuotaDetailsResponse {
|
|
1616
1649
|
/**
|
|
1617
1650
|
*
|
|
1618
|
-
* @type {
|
|
1619
|
-
* @memberof
|
|
1651
|
+
* @type {GetRwusdQuotaDetailsResponseSubscriptionQuota}
|
|
1652
|
+
* @memberof GetRwusdQuotaDetailsResponse
|
|
1620
1653
|
*/
|
|
1621
|
-
|
|
1654
|
+
subscriptionQuota?: GetRwusdQuotaDetailsResponseSubscriptionQuota;
|
|
1622
1655
|
/**
|
|
1623
1656
|
*
|
|
1624
|
-
* @type {
|
|
1625
|
-
* @memberof
|
|
1657
|
+
* @type {GetRwusdQuotaDetailsResponseFastRedemptionQuota}
|
|
1658
|
+
* @memberof GetRwusdQuotaDetailsResponse
|
|
1626
1659
|
*/
|
|
1627
|
-
|
|
1660
|
+
fastRedemptionQuota?: GetRwusdQuotaDetailsResponseFastRedemptionQuota;
|
|
1628
1661
|
/**
|
|
1629
1662
|
*
|
|
1630
|
-
* @type {
|
|
1631
|
-
* @memberof
|
|
1663
|
+
* @type {GetRwusdQuotaDetailsResponseStandardRedemptionQuota}
|
|
1664
|
+
* @memberof GetRwusdQuotaDetailsResponse
|
|
1632
1665
|
*/
|
|
1633
|
-
|
|
1666
|
+
standardRedemptionQuota?: GetRwusdQuotaDetailsResponseStandardRedemptionQuota;
|
|
1634
1667
|
/**
|
|
1635
1668
|
*
|
|
1636
1669
|
* @type {boolean}
|
|
1637
|
-
* @memberof
|
|
1670
|
+
* @memberof GetRwusdQuotaDetailsResponse
|
|
1638
1671
|
*/
|
|
1639
|
-
|
|
1672
|
+
subscribeEnable?: boolean;
|
|
1640
1673
|
/**
|
|
1641
1674
|
*
|
|
1642
1675
|
* @type {boolean}
|
|
1643
|
-
* @memberof
|
|
1644
|
-
*/
|
|
1645
|
-
isSoldOut?: boolean;
|
|
1646
|
-
/**
|
|
1647
|
-
*
|
|
1648
|
-
* @type {string}
|
|
1649
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1676
|
+
* @memberof GetRwusdQuotaDetailsResponse
|
|
1650
1677
|
*/
|
|
1651
|
-
|
|
1678
|
+
redeemEnable?: boolean;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Binance Simple Earn REST API
|
|
1683
|
+
*
|
|
1684
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1685
|
+
*
|
|
1686
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1687
|
+
*
|
|
1688
|
+
*
|
|
1689
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1690
|
+
* https://openapi-generator.tech
|
|
1691
|
+
* Do not edit the class manually.
|
|
1692
|
+
*/
|
|
1693
|
+
/**
|
|
1694
|
+
*
|
|
1695
|
+
* @export
|
|
1696
|
+
* @interface GetRwusdRateHistoryResponseRowsInner
|
|
1697
|
+
*/
|
|
1698
|
+
interface GetRwusdRateHistoryResponseRowsInner {
|
|
1652
1699
|
/**
|
|
1653
1700
|
*
|
|
1654
1701
|
* @type {string}
|
|
1655
|
-
* @memberof
|
|
1702
|
+
* @memberof GetRwusdRateHistoryResponseRowsInner
|
|
1656
1703
|
*/
|
|
1657
|
-
|
|
1704
|
+
annualPercentageRate?: string;
|
|
1658
1705
|
/**
|
|
1659
1706
|
*
|
|
1660
1707
|
* @type {number}
|
|
1661
|
-
* @memberof
|
|
1662
|
-
*/
|
|
1663
|
-
subscriptionStartTime?: number;
|
|
1664
|
-
/**
|
|
1665
|
-
*
|
|
1666
|
-
* @type {string}
|
|
1667
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1668
|
-
*/
|
|
1669
|
-
extraRewardAsset?: string;
|
|
1670
|
-
/**
|
|
1671
|
-
*
|
|
1672
|
-
* @type {string}
|
|
1673
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1674
|
-
*/
|
|
1675
|
-
extraRewardAPR?: string;
|
|
1676
|
-
/**
|
|
1677
|
-
*
|
|
1678
|
-
* @type {string}
|
|
1679
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1680
|
-
*/
|
|
1681
|
-
boostRewardAsset?: string;
|
|
1682
|
-
/**
|
|
1683
|
-
*
|
|
1684
|
-
* @type {string}
|
|
1685
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1686
|
-
*/
|
|
1687
|
-
boostApr?: string;
|
|
1688
|
-
/**
|
|
1689
|
-
*
|
|
1690
|
-
* @type {string}
|
|
1691
|
-
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1708
|
+
* @memberof GetRwusdRateHistoryResponseRowsInner
|
|
1692
1709
|
*/
|
|
1693
|
-
|
|
1710
|
+
time?: number;
|
|
1694
1711
|
}
|
|
1695
1712
|
|
|
1696
1713
|
/**
|
|
@@ -1705,24 +1722,25 @@ interface GetSimpleEarnLockedProductListResponseRowsInnerDetail {
|
|
|
1705
1722
|
* https://openapi-generator.tech
|
|
1706
1723
|
* Do not edit the class manually.
|
|
1707
1724
|
*/
|
|
1725
|
+
|
|
1708
1726
|
/**
|
|
1709
1727
|
*
|
|
1710
1728
|
* @export
|
|
1711
|
-
* @interface
|
|
1729
|
+
* @interface GetRwusdRateHistoryResponse
|
|
1712
1730
|
*/
|
|
1713
|
-
interface
|
|
1731
|
+
interface GetRwusdRateHistoryResponse {
|
|
1714
1732
|
/**
|
|
1715
1733
|
*
|
|
1716
|
-
* @type {
|
|
1717
|
-
* @memberof
|
|
1734
|
+
* @type {Array<GetRwusdRateHistoryResponseRowsInner>}
|
|
1735
|
+
* @memberof GetRwusdRateHistoryResponse
|
|
1718
1736
|
*/
|
|
1719
|
-
|
|
1737
|
+
rows?: Array<GetRwusdRateHistoryResponseRowsInner>;
|
|
1720
1738
|
/**
|
|
1721
1739
|
*
|
|
1722
1740
|
* @type {string}
|
|
1723
|
-
* @memberof
|
|
1741
|
+
* @memberof GetRwusdRateHistoryResponse
|
|
1724
1742
|
*/
|
|
1725
|
-
|
|
1743
|
+
total?: string;
|
|
1726
1744
|
}
|
|
1727
1745
|
|
|
1728
1746
|
/**
|
|
@@ -1737,31 +1755,60 @@ interface GetSimpleEarnLockedProductListResponseRowsInnerQuota {
|
|
|
1737
1755
|
* https://openapi-generator.tech
|
|
1738
1756
|
* Do not edit the class manually.
|
|
1739
1757
|
*/
|
|
1740
|
-
|
|
1741
1758
|
/**
|
|
1742
1759
|
*
|
|
1743
1760
|
* @export
|
|
1744
|
-
* @interface
|
|
1761
|
+
* @interface GetRwusdRedemptionHistoryResponseRowsInner
|
|
1745
1762
|
*/
|
|
1746
|
-
interface
|
|
1763
|
+
interface GetRwusdRedemptionHistoryResponseRowsInner {
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {number}
|
|
1767
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1768
|
+
*/
|
|
1769
|
+
time?: number;
|
|
1747
1770
|
/**
|
|
1748
1771
|
*
|
|
1749
1772
|
* @type {string}
|
|
1750
|
-
* @memberof
|
|
1773
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1751
1774
|
*/
|
|
1752
|
-
|
|
1775
|
+
asset?: string;
|
|
1753
1776
|
/**
|
|
1754
1777
|
*
|
|
1755
|
-
* @type {
|
|
1756
|
-
* @memberof
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1757
1780
|
*/
|
|
1758
|
-
|
|
1781
|
+
amount?: string;
|
|
1759
1782
|
/**
|
|
1760
1783
|
*
|
|
1761
|
-
* @type {
|
|
1762
|
-
* @memberof
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1763
1786
|
*/
|
|
1764
|
-
|
|
1787
|
+
receiveAsset?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1792
|
+
*/
|
|
1793
|
+
receiveAmount?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @type {string}
|
|
1797
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1798
|
+
*/
|
|
1799
|
+
fee?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {number}
|
|
1803
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1804
|
+
*/
|
|
1805
|
+
arrivalTime?: number;
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @type {string}
|
|
1809
|
+
* @memberof GetRwusdRedemptionHistoryResponseRowsInner
|
|
1810
|
+
*/
|
|
1811
|
+
status?: string;
|
|
1765
1812
|
}
|
|
1766
1813
|
|
|
1767
1814
|
/**
|
|
@@ -1780,19 +1827,19 @@ interface GetSimpleEarnLockedProductListResponseRowsInner {
|
|
|
1780
1827
|
/**
|
|
1781
1828
|
*
|
|
1782
1829
|
* @export
|
|
1783
|
-
* @interface
|
|
1830
|
+
* @interface GetRwusdRedemptionHistoryResponse
|
|
1784
1831
|
*/
|
|
1785
|
-
interface
|
|
1832
|
+
interface GetRwusdRedemptionHistoryResponse {
|
|
1786
1833
|
/**
|
|
1787
1834
|
*
|
|
1788
|
-
* @type {Array<
|
|
1789
|
-
* @memberof
|
|
1835
|
+
* @type {Array<GetRwusdRedemptionHistoryResponseRowsInner>}
|
|
1836
|
+
* @memberof GetRwusdRedemptionHistoryResponse
|
|
1790
1837
|
*/
|
|
1791
|
-
rows?: Array<
|
|
1838
|
+
rows?: Array<GetRwusdRedemptionHistoryResponseRowsInner>;
|
|
1792
1839
|
/**
|
|
1793
1840
|
*
|
|
1794
1841
|
* @type {number}
|
|
1795
|
-
* @memberof
|
|
1842
|
+
* @memberof GetRwusdRedemptionHistoryResponse
|
|
1796
1843
|
*/
|
|
1797
1844
|
total?: number;
|
|
1798
1845
|
}
|
|
@@ -1812,21 +1859,33 @@ interface GetSimpleEarnLockedProductListResponse {
|
|
|
1812
1859
|
/**
|
|
1813
1860
|
*
|
|
1814
1861
|
* @export
|
|
1815
|
-
* @interface
|
|
1862
|
+
* @interface GetRwusdRewardsHistoryResponseRowsInner
|
|
1816
1863
|
*/
|
|
1817
|
-
interface
|
|
1864
|
+
interface GetRwusdRewardsHistoryResponseRowsInner {
|
|
1818
1865
|
/**
|
|
1819
1866
|
*
|
|
1820
1867
|
* @type {number}
|
|
1821
|
-
* @memberof
|
|
1868
|
+
* @memberof GetRwusdRewardsHistoryResponseRowsInner
|
|
1822
1869
|
*/
|
|
1823
|
-
|
|
1870
|
+
time?: number;
|
|
1824
1871
|
/**
|
|
1825
1872
|
*
|
|
1826
|
-
* @type {
|
|
1827
|
-
* @memberof
|
|
1873
|
+
* @type {string}
|
|
1874
|
+
* @memberof GetRwusdRewardsHistoryResponseRowsInner
|
|
1828
1875
|
*/
|
|
1829
|
-
|
|
1876
|
+
rewardsAmount?: string;
|
|
1877
|
+
/**
|
|
1878
|
+
*
|
|
1879
|
+
* @type {string}
|
|
1880
|
+
* @memberof GetRwusdRewardsHistoryResponseRowsInner
|
|
1881
|
+
*/
|
|
1882
|
+
rwusdPosition?: string;
|
|
1883
|
+
/**
|
|
1884
|
+
*
|
|
1885
|
+
* @type {string}
|
|
1886
|
+
* @memberof GetRwusdRewardsHistoryResponseRowsInner
|
|
1887
|
+
*/
|
|
1888
|
+
annualPercentageRate?: string;
|
|
1830
1889
|
}
|
|
1831
1890
|
|
|
1832
1891
|
/**
|
|
@@ -1841,24 +1900,25 @@ interface RedeemFlexibleProductResponse {
|
|
|
1841
1900
|
* https://openapi-generator.tech
|
|
1842
1901
|
* Do not edit the class manually.
|
|
1843
1902
|
*/
|
|
1903
|
+
|
|
1844
1904
|
/**
|
|
1845
1905
|
*
|
|
1846
1906
|
* @export
|
|
1847
|
-
* @interface
|
|
1907
|
+
* @interface GetRwusdRewardsHistoryResponse
|
|
1848
1908
|
*/
|
|
1849
|
-
interface
|
|
1909
|
+
interface GetRwusdRewardsHistoryResponse {
|
|
1850
1910
|
/**
|
|
1851
1911
|
*
|
|
1852
|
-
* @type {
|
|
1853
|
-
* @memberof
|
|
1912
|
+
* @type {Array<GetRwusdRewardsHistoryResponseRowsInner>}
|
|
1913
|
+
* @memberof GetRwusdRewardsHistoryResponse
|
|
1854
1914
|
*/
|
|
1855
|
-
|
|
1915
|
+
rows?: Array<GetRwusdRewardsHistoryResponseRowsInner>;
|
|
1856
1916
|
/**
|
|
1857
1917
|
*
|
|
1858
|
-
* @type {
|
|
1859
|
-
* @memberof
|
|
1918
|
+
* @type {number}
|
|
1919
|
+
* @memberof GetRwusdRewardsHistoryResponse
|
|
1860
1920
|
*/
|
|
1861
|
-
|
|
1921
|
+
total?: number;
|
|
1862
1922
|
}
|
|
1863
1923
|
|
|
1864
1924
|
/**
|
|
@@ -1876,15 +1936,45 @@ interface RedeemLockedProductResponse {
|
|
|
1876
1936
|
/**
|
|
1877
1937
|
*
|
|
1878
1938
|
* @export
|
|
1879
|
-
* @interface
|
|
1939
|
+
* @interface GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1880
1940
|
*/
|
|
1881
|
-
interface
|
|
1941
|
+
interface GetRwusdSubscriptionHistoryResponseRowsInner {
|
|
1882
1942
|
/**
|
|
1883
1943
|
*
|
|
1884
|
-
* @type {
|
|
1885
|
-
* @memberof
|
|
1944
|
+
* @type {number}
|
|
1945
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1886
1946
|
*/
|
|
1887
|
-
|
|
1947
|
+
time?: number;
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @type {string}
|
|
1951
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1952
|
+
*/
|
|
1953
|
+
asset?: string;
|
|
1954
|
+
/**
|
|
1955
|
+
*
|
|
1956
|
+
* @type {string}
|
|
1957
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1958
|
+
*/
|
|
1959
|
+
amount?: string;
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @type {string}
|
|
1963
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1964
|
+
*/
|
|
1965
|
+
receiveAsset?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {string}
|
|
1969
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1970
|
+
*/
|
|
1971
|
+
receiveAmount?: string;
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
* @type {string}
|
|
1975
|
+
* @memberof GetRwusdSubscriptionHistoryResponseRowsInner
|
|
1976
|
+
*/
|
|
1977
|
+
status?: string;
|
|
1888
1978
|
}
|
|
1889
1979
|
|
|
1890
1980
|
/**
|
|
@@ -1899,18 +1989,25 @@ interface SetFlexibleAutoSubscribeResponse {
|
|
|
1899
1989
|
* https://openapi-generator.tech
|
|
1900
1990
|
* Do not edit the class manually.
|
|
1901
1991
|
*/
|
|
1992
|
+
|
|
1902
1993
|
/**
|
|
1903
1994
|
*
|
|
1904
1995
|
* @export
|
|
1905
|
-
* @interface
|
|
1996
|
+
* @interface GetRwusdSubscriptionHistoryResponse
|
|
1906
1997
|
*/
|
|
1907
|
-
interface
|
|
1998
|
+
interface GetRwusdSubscriptionHistoryResponse {
|
|
1908
1999
|
/**
|
|
1909
2000
|
*
|
|
1910
|
-
* @type {
|
|
1911
|
-
* @memberof
|
|
2001
|
+
* @type {Array<GetRwusdSubscriptionHistoryResponseRowsInner>}
|
|
2002
|
+
* @memberof GetRwusdSubscriptionHistoryResponse
|
|
1912
2003
|
*/
|
|
1913
|
-
|
|
2004
|
+
rows?: Array<GetRwusdSubscriptionHistoryResponseRowsInner>;
|
|
2005
|
+
/**
|
|
2006
|
+
*
|
|
2007
|
+
* @type {number}
|
|
2008
|
+
* @memberof GetRwusdSubscriptionHistoryResponse
|
|
2009
|
+
*/
|
|
2010
|
+
total?: number;
|
|
1914
2011
|
}
|
|
1915
2012
|
|
|
1916
2013
|
/**
|
|
@@ -1925,18 +2022,85 @@ interface SetLockedAutoSubscribeResponse {
|
|
|
1925
2022
|
* https://openapi-generator.tech
|
|
1926
2023
|
* Do not edit the class manually.
|
|
1927
2024
|
*/
|
|
2025
|
+
|
|
1928
2026
|
/**
|
|
1929
2027
|
*
|
|
1930
2028
|
* @export
|
|
1931
|
-
* @interface
|
|
2029
|
+
* @interface GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
1932
2030
|
*/
|
|
1933
|
-
interface
|
|
2031
|
+
interface GetSimpleEarnFlexibleProductListResponseRowsInner {
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
* @type {string}
|
|
2035
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2036
|
+
*/
|
|
2037
|
+
asset?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
*
|
|
2040
|
+
* @type {string}
|
|
2041
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2042
|
+
*/
|
|
2043
|
+
latestAnnualPercentageRate?: string;
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @type {GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate}
|
|
2047
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2048
|
+
*/
|
|
2049
|
+
tierAnnualPercentageRate?: GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate;
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2054
|
+
*/
|
|
2055
|
+
airDropPercentageRate?: string;
|
|
1934
2056
|
/**
|
|
1935
2057
|
*
|
|
1936
2058
|
* @type {boolean}
|
|
1937
|
-
* @memberof
|
|
2059
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
1938
2060
|
*/
|
|
1939
|
-
|
|
2061
|
+
canPurchase?: boolean;
|
|
2062
|
+
/**
|
|
2063
|
+
*
|
|
2064
|
+
* @type {boolean}
|
|
2065
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2066
|
+
*/
|
|
2067
|
+
canRedeem?: boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
*
|
|
2070
|
+
* @type {boolean}
|
|
2071
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2072
|
+
*/
|
|
2073
|
+
isSoldOut?: boolean;
|
|
2074
|
+
/**
|
|
2075
|
+
*
|
|
2076
|
+
* @type {boolean}
|
|
2077
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2078
|
+
*/
|
|
2079
|
+
hot?: boolean;
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @type {string}
|
|
2083
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2084
|
+
*/
|
|
2085
|
+
minPurchaseAmount?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
*
|
|
2088
|
+
* @type {string}
|
|
2089
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2090
|
+
*/
|
|
2091
|
+
productId?: string;
|
|
2092
|
+
/**
|
|
2093
|
+
*
|
|
2094
|
+
* @type {number}
|
|
2095
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2096
|
+
*/
|
|
2097
|
+
subscriptionStartTime?: number;
|
|
2098
|
+
/**
|
|
2099
|
+
*
|
|
2100
|
+
* @type {string}
|
|
2101
|
+
* @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
|
|
2102
|
+
*/
|
|
2103
|
+
status?: string;
|
|
1940
2104
|
}
|
|
1941
2105
|
|
|
1942
2106
|
/**
|
|
@@ -1951,48 +2115,123 @@ interface SetLockedProductRedeemOptionResponse {
|
|
|
1951
2115
|
* https://openapi-generator.tech
|
|
1952
2116
|
* Do not edit the class manually.
|
|
1953
2117
|
*/
|
|
2118
|
+
|
|
1954
2119
|
/**
|
|
1955
2120
|
*
|
|
1956
2121
|
* @export
|
|
1957
|
-
* @interface
|
|
2122
|
+
* @interface GetSimpleEarnFlexibleProductListResponse
|
|
1958
2123
|
*/
|
|
1959
|
-
interface
|
|
2124
|
+
interface GetSimpleEarnFlexibleProductListResponse {
|
|
2125
|
+
/**
|
|
2126
|
+
*
|
|
2127
|
+
* @type {Array<GetSimpleEarnFlexibleProductListResponseRowsInner>}
|
|
2128
|
+
* @memberof GetSimpleEarnFlexibleProductListResponse
|
|
2129
|
+
*/
|
|
2130
|
+
rows?: Array<GetSimpleEarnFlexibleProductListResponseRowsInner>;
|
|
2131
|
+
/**
|
|
2132
|
+
*
|
|
2133
|
+
* @type {number}
|
|
2134
|
+
* @memberof GetSimpleEarnFlexibleProductListResponse
|
|
2135
|
+
*/
|
|
2136
|
+
total?: number;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* Binance Simple Earn REST API
|
|
2141
|
+
*
|
|
2142
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2143
|
+
*
|
|
2144
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2145
|
+
*
|
|
2146
|
+
*
|
|
2147
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2148
|
+
* https://openapi-generator.tech
|
|
2149
|
+
* Do not edit the class manually.
|
|
2150
|
+
*/
|
|
2151
|
+
/**
|
|
2152
|
+
*
|
|
2153
|
+
* @export
|
|
2154
|
+
* @interface GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2155
|
+
*/
|
|
2156
|
+
interface GetSimpleEarnLockedProductListResponseRowsInnerDetail {
|
|
1960
2157
|
/**
|
|
1961
2158
|
*
|
|
1962
2159
|
* @type {string}
|
|
1963
|
-
* @memberof
|
|
2160
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1964
2161
|
*/
|
|
1965
|
-
|
|
2162
|
+
asset?: string;
|
|
1966
2163
|
/**
|
|
1967
2164
|
*
|
|
1968
2165
|
* @type {string}
|
|
1969
|
-
* @memberof
|
|
2166
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1970
2167
|
*/
|
|
1971
|
-
|
|
2168
|
+
rewardAsset?: string;
|
|
2169
|
+
/**
|
|
2170
|
+
*
|
|
2171
|
+
* @type {number}
|
|
2172
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2173
|
+
*/
|
|
2174
|
+
duration?: number;
|
|
2175
|
+
/**
|
|
2176
|
+
*
|
|
2177
|
+
* @type {boolean}
|
|
2178
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2179
|
+
*/
|
|
2180
|
+
renewable?: boolean;
|
|
2181
|
+
/**
|
|
2182
|
+
*
|
|
2183
|
+
* @type {boolean}
|
|
2184
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2185
|
+
*/
|
|
2186
|
+
isSoldOut?: boolean;
|
|
1972
2187
|
/**
|
|
1973
2188
|
*
|
|
1974
2189
|
* @type {string}
|
|
1975
|
-
* @memberof
|
|
2190
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1976
2191
|
*/
|
|
1977
|
-
|
|
2192
|
+
apr?: string;
|
|
1978
2193
|
/**
|
|
1979
2194
|
*
|
|
1980
2195
|
* @type {string}
|
|
1981
|
-
* @memberof
|
|
2196
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1982
2197
|
*/
|
|
1983
|
-
|
|
2198
|
+
status?: string;
|
|
2199
|
+
/**
|
|
2200
|
+
*
|
|
2201
|
+
* @type {number}
|
|
2202
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2203
|
+
*/
|
|
2204
|
+
subscriptionStartTime?: number;
|
|
1984
2205
|
/**
|
|
1985
2206
|
*
|
|
1986
2207
|
* @type {string}
|
|
1987
|
-
* @memberof
|
|
2208
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1988
2209
|
*/
|
|
1989
|
-
|
|
2210
|
+
extraRewardAsset?: string;
|
|
1990
2211
|
/**
|
|
1991
2212
|
*
|
|
1992
2213
|
* @type {string}
|
|
1993
|
-
* @memberof
|
|
2214
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
1994
2215
|
*/
|
|
1995
|
-
|
|
2216
|
+
extraRewardAPR?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2221
|
+
*/
|
|
2222
|
+
boostRewardAsset?: string;
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {string}
|
|
2226
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2227
|
+
*/
|
|
2228
|
+
boostApr?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
*
|
|
2231
|
+
* @type {number}
|
|
2232
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
|
|
2233
|
+
*/
|
|
2234
|
+
boostEndTime?: number;
|
|
1996
2235
|
}
|
|
1997
2236
|
|
|
1998
2237
|
/**
|
|
@@ -2010,21 +2249,21 @@ interface SimpleAccountResponse {
|
|
|
2010
2249
|
/**
|
|
2011
2250
|
*
|
|
2012
2251
|
* @export
|
|
2013
|
-
* @interface
|
|
2252
|
+
* @interface GetSimpleEarnLockedProductListResponseRowsInnerQuota
|
|
2014
2253
|
*/
|
|
2015
|
-
interface
|
|
2254
|
+
interface GetSimpleEarnLockedProductListResponseRowsInnerQuota {
|
|
2016
2255
|
/**
|
|
2017
2256
|
*
|
|
2018
|
-
* @type {
|
|
2019
|
-
* @memberof
|
|
2257
|
+
* @type {string}
|
|
2258
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerQuota
|
|
2020
2259
|
*/
|
|
2021
|
-
|
|
2260
|
+
totalPersonalQuota?: string;
|
|
2022
2261
|
/**
|
|
2023
2262
|
*
|
|
2024
|
-
* @type {
|
|
2025
|
-
* @memberof
|
|
2263
|
+
* @type {string}
|
|
2264
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInnerQuota
|
|
2026
2265
|
*/
|
|
2027
|
-
|
|
2266
|
+
minimum?: string;
|
|
2028
2267
|
}
|
|
2029
2268
|
|
|
2030
2269
|
/**
|
|
@@ -2039,30 +2278,31 @@ interface SubscribeFlexibleProductResponse {
|
|
|
2039
2278
|
* https://openapi-generator.tech
|
|
2040
2279
|
* Do not edit the class manually.
|
|
2041
2280
|
*/
|
|
2281
|
+
|
|
2042
2282
|
/**
|
|
2043
2283
|
*
|
|
2044
2284
|
* @export
|
|
2045
|
-
* @interface
|
|
2285
|
+
* @interface GetSimpleEarnLockedProductListResponseRowsInner
|
|
2046
2286
|
*/
|
|
2047
|
-
interface
|
|
2287
|
+
interface GetSimpleEarnLockedProductListResponseRowsInner {
|
|
2048
2288
|
/**
|
|
2049
2289
|
*
|
|
2050
|
-
* @type {
|
|
2051
|
-
* @memberof
|
|
2290
|
+
* @type {string}
|
|
2291
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInner
|
|
2052
2292
|
*/
|
|
2053
|
-
|
|
2293
|
+
projectId?: string;
|
|
2054
2294
|
/**
|
|
2055
2295
|
*
|
|
2056
|
-
* @type {
|
|
2057
|
-
* @memberof
|
|
2296
|
+
* @type {GetSimpleEarnLockedProductListResponseRowsInnerDetail}
|
|
2297
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInner
|
|
2058
2298
|
*/
|
|
2059
|
-
|
|
2299
|
+
detail?: GetSimpleEarnLockedProductListResponseRowsInnerDetail;
|
|
2060
2300
|
/**
|
|
2061
2301
|
*
|
|
2062
|
-
* @type {
|
|
2063
|
-
* @memberof
|
|
2302
|
+
* @type {GetSimpleEarnLockedProductListResponseRowsInnerQuota}
|
|
2303
|
+
* @memberof GetSimpleEarnLockedProductListResponseRowsInner
|
|
2064
2304
|
*/
|
|
2065
|
-
|
|
2305
|
+
quota?: GetSimpleEarnLockedProductListResponseRowsInnerQuota;
|
|
2066
2306
|
}
|
|
2067
2307
|
|
|
2068
2308
|
/**
|
|
@@ -2079,932 +2319,1580 @@ interface SubscribeLockedProductResponse {
|
|
|
2079
2319
|
*/
|
|
2080
2320
|
|
|
2081
2321
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
* @
|
|
2322
|
+
*
|
|
2323
|
+
* @export
|
|
2324
|
+
* @interface GetSimpleEarnLockedProductListResponse
|
|
2084
2325
|
*/
|
|
2085
|
-
interface
|
|
2326
|
+
interface GetSimpleEarnLockedProductListResponse {
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @type {Array<GetSimpleEarnLockedProductListResponseRowsInner>}
|
|
2330
|
+
* @memberof GetSimpleEarnLockedProductListResponse
|
|
2331
|
+
*/
|
|
2332
|
+
rows?: Array<GetSimpleEarnLockedProductListResponseRowsInner>;
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
* @type {number}
|
|
2336
|
+
* @memberof GetSimpleEarnLockedProductListResponse
|
|
2337
|
+
*/
|
|
2338
|
+
total?: number;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* Binance Simple Earn REST API
|
|
2343
|
+
*
|
|
2344
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2345
|
+
*
|
|
2346
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2347
|
+
*
|
|
2348
|
+
*
|
|
2349
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2350
|
+
* https://openapi-generator.tech
|
|
2351
|
+
* Do not edit the class manually.
|
|
2352
|
+
*/
|
|
2353
|
+
/**
|
|
2354
|
+
*
|
|
2355
|
+
* @export
|
|
2356
|
+
* @interface RedeemFlexibleProductResponse
|
|
2357
|
+
*/
|
|
2358
|
+
interface RedeemFlexibleProductResponse {
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @type {number}
|
|
2362
|
+
* @memberof RedeemFlexibleProductResponse
|
|
2363
|
+
*/
|
|
2364
|
+
redeemId?: number;
|
|
2365
|
+
/**
|
|
2366
|
+
*
|
|
2367
|
+
* @type {boolean}
|
|
2368
|
+
* @memberof RedeemFlexibleProductResponse
|
|
2369
|
+
*/
|
|
2370
|
+
success?: boolean;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Binance Simple Earn REST API
|
|
2375
|
+
*
|
|
2376
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2377
|
+
*
|
|
2378
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2379
|
+
*
|
|
2380
|
+
*
|
|
2381
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2382
|
+
* https://openapi-generator.tech
|
|
2383
|
+
* Do not edit the class manually.
|
|
2384
|
+
*/
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @export
|
|
2388
|
+
* @interface RedeemLockedProductResponse
|
|
2389
|
+
*/
|
|
2390
|
+
interface RedeemLockedProductResponse {
|
|
2391
|
+
/**
|
|
2392
|
+
*
|
|
2393
|
+
* @type {number}
|
|
2394
|
+
* @memberof RedeemLockedProductResponse
|
|
2395
|
+
*/
|
|
2396
|
+
redeemId?: number;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {boolean}
|
|
2400
|
+
* @memberof RedeemLockedProductResponse
|
|
2401
|
+
*/
|
|
2402
|
+
success?: boolean;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Binance Simple Earn REST API
|
|
2407
|
+
*
|
|
2408
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2409
|
+
*
|
|
2410
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2411
|
+
*
|
|
2412
|
+
*
|
|
2413
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2414
|
+
* https://openapi-generator.tech
|
|
2415
|
+
* Do not edit the class manually.
|
|
2416
|
+
*/
|
|
2417
|
+
/**
|
|
2418
|
+
*
|
|
2419
|
+
* @export
|
|
2420
|
+
* @interface RedeemRwusdResponse
|
|
2421
|
+
*/
|
|
2422
|
+
interface RedeemRwusdResponse {
|
|
2423
|
+
/**
|
|
2424
|
+
*
|
|
2425
|
+
* @type {boolean}
|
|
2426
|
+
* @memberof RedeemRwusdResponse
|
|
2427
|
+
*/
|
|
2428
|
+
success?: boolean;
|
|
2429
|
+
/**
|
|
2430
|
+
*
|
|
2431
|
+
* @type {string}
|
|
2432
|
+
* @memberof RedeemRwusdResponse
|
|
2433
|
+
*/
|
|
2434
|
+
receiveAmount?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
*
|
|
2437
|
+
* @type {string}
|
|
2438
|
+
* @memberof RedeemRwusdResponse
|
|
2439
|
+
*/
|
|
2440
|
+
fee?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
*
|
|
2443
|
+
* @type {number}
|
|
2444
|
+
* @memberof RedeemRwusdResponse
|
|
2445
|
+
*/
|
|
2446
|
+
arrivalTime?: number;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* Binance Simple Earn REST API
|
|
2451
|
+
*
|
|
2452
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2453
|
+
*
|
|
2454
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2455
|
+
*
|
|
2456
|
+
*
|
|
2457
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2458
|
+
* https://openapi-generator.tech
|
|
2459
|
+
* Do not edit the class manually.
|
|
2460
|
+
*/
|
|
2461
|
+
/**
|
|
2462
|
+
*
|
|
2463
|
+
* @export
|
|
2464
|
+
* @interface SetFlexibleAutoSubscribeResponse
|
|
2465
|
+
*/
|
|
2466
|
+
interface SetFlexibleAutoSubscribeResponse {
|
|
2467
|
+
/**
|
|
2468
|
+
*
|
|
2469
|
+
* @type {boolean}
|
|
2470
|
+
* @memberof SetFlexibleAutoSubscribeResponse
|
|
2471
|
+
*/
|
|
2472
|
+
success?: boolean;
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* Binance Simple Earn REST API
|
|
2477
|
+
*
|
|
2478
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2479
|
+
*
|
|
2480
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2481
|
+
*
|
|
2482
|
+
*
|
|
2483
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2484
|
+
* https://openapi-generator.tech
|
|
2485
|
+
* Do not edit the class manually.
|
|
2486
|
+
*/
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @export
|
|
2490
|
+
* @interface SetLockedAutoSubscribeResponse
|
|
2491
|
+
*/
|
|
2492
|
+
interface SetLockedAutoSubscribeResponse {
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
* @type {boolean}
|
|
2496
|
+
* @memberof SetLockedAutoSubscribeResponse
|
|
2497
|
+
*/
|
|
2498
|
+
success?: boolean;
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Binance Simple Earn REST API
|
|
2503
|
+
*
|
|
2504
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2505
|
+
*
|
|
2506
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2507
|
+
*
|
|
2508
|
+
*
|
|
2509
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2510
|
+
* https://openapi-generator.tech
|
|
2511
|
+
* Do not edit the class manually.
|
|
2512
|
+
*/
|
|
2513
|
+
/**
|
|
2514
|
+
*
|
|
2515
|
+
* @export
|
|
2516
|
+
* @interface SetLockedProductRedeemOptionResponse
|
|
2517
|
+
*/
|
|
2518
|
+
interface SetLockedProductRedeemOptionResponse {
|
|
2519
|
+
/**
|
|
2520
|
+
*
|
|
2521
|
+
* @type {boolean}
|
|
2522
|
+
* @memberof SetLockedProductRedeemOptionResponse
|
|
2523
|
+
*/
|
|
2524
|
+
success?: boolean;
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* Binance Simple Earn REST API
|
|
2529
|
+
*
|
|
2530
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2531
|
+
*
|
|
2532
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2533
|
+
*
|
|
2534
|
+
*
|
|
2535
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2536
|
+
* https://openapi-generator.tech
|
|
2537
|
+
* Do not edit the class manually.
|
|
2538
|
+
*/
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @export
|
|
2542
|
+
* @interface SimpleAccountResponse
|
|
2543
|
+
*/
|
|
2544
|
+
interface SimpleAccountResponse {
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @type {string}
|
|
2548
|
+
* @memberof SimpleAccountResponse
|
|
2549
|
+
*/
|
|
2550
|
+
totalAmountInBTC?: string;
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @type {string}
|
|
2554
|
+
* @memberof SimpleAccountResponse
|
|
2555
|
+
*/
|
|
2556
|
+
totalAmountInUSDT?: string;
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {string}
|
|
2560
|
+
* @memberof SimpleAccountResponse
|
|
2561
|
+
*/
|
|
2562
|
+
totalFlexibleAmountInBTC?: string;
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @type {string}
|
|
2566
|
+
* @memberof SimpleAccountResponse
|
|
2567
|
+
*/
|
|
2568
|
+
totalFlexibleAmountInUSDT?: string;
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @type {string}
|
|
2572
|
+
* @memberof SimpleAccountResponse
|
|
2573
|
+
*/
|
|
2574
|
+
totalLockedInBTC?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
*
|
|
2577
|
+
* @type {string}
|
|
2578
|
+
* @memberof SimpleAccountResponse
|
|
2579
|
+
*/
|
|
2580
|
+
totalLockedInUSDT?: string;
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Binance Simple Earn REST API
|
|
2585
|
+
*
|
|
2586
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2587
|
+
*
|
|
2588
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2589
|
+
*
|
|
2590
|
+
*
|
|
2591
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2592
|
+
* https://openapi-generator.tech
|
|
2593
|
+
* Do not edit the class manually.
|
|
2594
|
+
*/
|
|
2595
|
+
/**
|
|
2596
|
+
*
|
|
2597
|
+
* @export
|
|
2598
|
+
* @interface SubscribeFlexibleProductResponse
|
|
2599
|
+
*/
|
|
2600
|
+
interface SubscribeFlexibleProductResponse {
|
|
2601
|
+
/**
|
|
2602
|
+
*
|
|
2603
|
+
* @type {number}
|
|
2604
|
+
* @memberof SubscribeFlexibleProductResponse
|
|
2605
|
+
*/
|
|
2606
|
+
purchaseId?: number;
|
|
2607
|
+
/**
|
|
2608
|
+
*
|
|
2609
|
+
* @type {boolean}
|
|
2610
|
+
* @memberof SubscribeFlexibleProductResponse
|
|
2611
|
+
*/
|
|
2612
|
+
success?: boolean;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Binance Simple Earn REST API
|
|
2617
|
+
*
|
|
2618
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2619
|
+
*
|
|
2620
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2621
|
+
*
|
|
2622
|
+
*
|
|
2623
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2624
|
+
* https://openapi-generator.tech
|
|
2625
|
+
* Do not edit the class manually.
|
|
2626
|
+
*/
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @export
|
|
2630
|
+
* @interface SubscribeLockedProductResponse
|
|
2631
|
+
*/
|
|
2632
|
+
interface SubscribeLockedProductResponse {
|
|
2633
|
+
/**
|
|
2634
|
+
*
|
|
2635
|
+
* @type {number}
|
|
2636
|
+
* @memberof SubscribeLockedProductResponse
|
|
2637
|
+
*/
|
|
2638
|
+
purchaseId?: number;
|
|
2639
|
+
/**
|
|
2640
|
+
*
|
|
2641
|
+
* @type {string}
|
|
2642
|
+
* @memberof SubscribeLockedProductResponse
|
|
2643
|
+
*/
|
|
2644
|
+
positionId?: string;
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @type {boolean}
|
|
2648
|
+
* @memberof SubscribeLockedProductResponse
|
|
2649
|
+
*/
|
|
2650
|
+
success?: boolean;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* Binance Simple Earn REST API
|
|
2655
|
+
*
|
|
2656
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2657
|
+
*
|
|
2658
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2659
|
+
*
|
|
2660
|
+
*
|
|
2661
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2662
|
+
* https://openapi-generator.tech
|
|
2663
|
+
* Do not edit the class manually.
|
|
2664
|
+
*/
|
|
2665
|
+
/**
|
|
2666
|
+
*
|
|
2667
|
+
* @export
|
|
2668
|
+
* @interface SubscribeRwusdResponse
|
|
2669
|
+
*/
|
|
2670
|
+
interface SubscribeRwusdResponse {
|
|
2671
|
+
/**
|
|
2672
|
+
*
|
|
2673
|
+
* @type {boolean}
|
|
2674
|
+
* @memberof SubscribeRwusdResponse
|
|
2675
|
+
*/
|
|
2676
|
+
success?: boolean;
|
|
2677
|
+
/**
|
|
2678
|
+
*
|
|
2679
|
+
* @type {string}
|
|
2680
|
+
* @memberof SubscribeRwusdResponse
|
|
2681
|
+
*/
|
|
2682
|
+
rwusdAmount?: string;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Binance Simple Earn REST API
|
|
2687
|
+
*
|
|
2688
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2689
|
+
*
|
|
2690
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2691
|
+
*
|
|
2692
|
+
*
|
|
2693
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2694
|
+
* https://openapi-generator.tech
|
|
2695
|
+
* Do not edit the class manually.
|
|
2696
|
+
*/
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* FlexibleLockedApi - interface
|
|
2700
|
+
* @interface FlexibleLockedApi
|
|
2701
|
+
*/
|
|
2702
|
+
interface FlexibleLockedApiInterface {
|
|
2703
|
+
/**
|
|
2704
|
+
* Get Collateral Record
|
|
2705
|
+
*
|
|
2706
|
+
* The time between `startTime` and `endTime` cannot be longer than 30 days.
|
|
2707
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2708
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2709
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2710
|
+
*
|
|
2711
|
+
* Weight: 1
|
|
2712
|
+
*
|
|
2713
|
+
* @summary Get Collateral Record(USER_DATA)
|
|
2714
|
+
* @param {GetCollateralRecordRequest} requestParameters Request parameters.
|
|
2715
|
+
*
|
|
2716
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2717
|
+
* @memberof FlexibleLockedApiInterface
|
|
2718
|
+
*/
|
|
2719
|
+
getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
|
|
2720
|
+
/**
|
|
2721
|
+
* Get Flexible Personal Left Quota
|
|
2722
|
+
*
|
|
2723
|
+
* Weight: 150
|
|
2724
|
+
*
|
|
2725
|
+
* @summary Get Flexible Personal Left Quota(USER_DATA)
|
|
2726
|
+
* @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
2727
|
+
*
|
|
2728
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2729
|
+
* @memberof FlexibleLockedApiInterface
|
|
2730
|
+
*/
|
|
2731
|
+
getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
|
|
2732
|
+
/**
|
|
2733
|
+
* Get Flexible Product Position
|
|
2734
|
+
*
|
|
2735
|
+
* Weight: 150
|
|
2736
|
+
*
|
|
2737
|
+
* @summary Get Flexible Product Position(USER_DATA)
|
|
2738
|
+
* @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
|
|
2739
|
+
*
|
|
2740
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2741
|
+
* @memberof FlexibleLockedApiInterface
|
|
2742
|
+
*/
|
|
2743
|
+
getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
|
|
2744
|
+
/**
|
|
2745
|
+
* Get Flexible Redemption Record
|
|
2746
|
+
*
|
|
2747
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2748
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2749
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2750
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2751
|
+
*
|
|
2752
|
+
* Weight: 150
|
|
2753
|
+
*
|
|
2754
|
+
* @summary Get Flexible Redemption Record(USER_DATA)
|
|
2755
|
+
* @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
|
|
2756
|
+
*
|
|
2757
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2758
|
+
* @memberof FlexibleLockedApiInterface
|
|
2759
|
+
*/
|
|
2760
|
+
getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Get Flexible Rewards History
|
|
2763
|
+
*
|
|
2764
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2765
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2766
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2767
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2768
|
+
*
|
|
2769
|
+
* Weight: 150
|
|
2770
|
+
*
|
|
2771
|
+
* @summary Get Flexible Rewards History(USER_DATA)
|
|
2772
|
+
* @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
|
|
2773
|
+
*
|
|
2774
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2775
|
+
* @memberof FlexibleLockedApiInterface
|
|
2776
|
+
*/
|
|
2777
|
+
getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
|
|
2778
|
+
/**
|
|
2779
|
+
* Get Flexible Subscription Preview
|
|
2780
|
+
*
|
|
2781
|
+
* Weight: 150
|
|
2782
|
+
*
|
|
2783
|
+
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
2784
|
+
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2785
|
+
*
|
|
2786
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2787
|
+
* @memberof FlexibleLockedApiInterface
|
|
2788
|
+
*/
|
|
2789
|
+
getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
|
|
2790
|
+
/**
|
|
2791
|
+
* Get Flexible Subscription Record
|
|
2792
|
+
*
|
|
2793
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2794
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2795
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2796
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2797
|
+
*
|
|
2798
|
+
* Weight: 150
|
|
2799
|
+
*
|
|
2800
|
+
* @summary Get Flexible Subscription Record(USER_DATA)
|
|
2801
|
+
* @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
|
|
2802
|
+
*
|
|
2803
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2804
|
+
* @memberof FlexibleLockedApiInterface
|
|
2805
|
+
*/
|
|
2806
|
+
getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
|
|
2807
|
+
/**
|
|
2808
|
+
* Get Locked Personal Left Quota
|
|
2809
|
+
*
|
|
2810
|
+
* Weight: 150
|
|
2811
|
+
*
|
|
2812
|
+
* @summary Get Locked Personal Left Quota(USER_DATA)
|
|
2813
|
+
* @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
2814
|
+
*
|
|
2815
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2816
|
+
* @memberof FlexibleLockedApiInterface
|
|
2817
|
+
*/
|
|
2818
|
+
getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Get Locked Product Position
|
|
2821
|
+
*
|
|
2822
|
+
* Weight: 150
|
|
2823
|
+
*
|
|
2824
|
+
* @summary Get Locked Product Position
|
|
2825
|
+
* @param {GetLockedProductPositionRequest} requestParameters Request parameters.
|
|
2826
|
+
*
|
|
2827
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2828
|
+
* @memberof FlexibleLockedApiInterface
|
|
2829
|
+
*/
|
|
2830
|
+
getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
|
|
2831
|
+
/**
|
|
2832
|
+
* Get Locked Redemption Record
|
|
2833
|
+
*
|
|
2834
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2835
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2836
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2837
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2838
|
+
*
|
|
2839
|
+
* Weight: 150
|
|
2840
|
+
*
|
|
2841
|
+
* @summary Get Locked Redemption Record(USER_DATA)
|
|
2842
|
+
* @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
|
|
2843
|
+
*
|
|
2844
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2845
|
+
* @memberof FlexibleLockedApiInterface
|
|
2846
|
+
*/
|
|
2847
|
+
getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
|
|
2848
|
+
/**
|
|
2849
|
+
* Get Locked Rewards History
|
|
2850
|
+
*
|
|
2851
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2852
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2853
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2854
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2855
|
+
*
|
|
2856
|
+
* Weight: 150
|
|
2857
|
+
*
|
|
2858
|
+
* @summary Get Locked Rewards History(USER_DATA)
|
|
2859
|
+
* @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
|
|
2860
|
+
*
|
|
2861
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2862
|
+
* @memberof FlexibleLockedApiInterface
|
|
2863
|
+
*/
|
|
2864
|
+
getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
|
|
2865
|
+
/**
|
|
2866
|
+
* Get Locked Subscription Preview
|
|
2867
|
+
*
|
|
2868
|
+
* Weight: 150
|
|
2869
|
+
*
|
|
2870
|
+
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
2871
|
+
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2872
|
+
*
|
|
2873
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2874
|
+
* @memberof FlexibleLockedApiInterface
|
|
2875
|
+
*/
|
|
2876
|
+
getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
|
|
2877
|
+
/**
|
|
2878
|
+
* Get Locked Subscription Record
|
|
2879
|
+
*
|
|
2880
|
+
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
2881
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2882
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2883
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2884
|
+
*
|
|
2885
|
+
* Weight: 150
|
|
2886
|
+
*
|
|
2887
|
+
* @summary Get Locked Subscription Record(USER_DATA)
|
|
2888
|
+
* @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
|
|
2889
|
+
*
|
|
2890
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2891
|
+
* @memberof FlexibleLockedApiInterface
|
|
2892
|
+
*/
|
|
2893
|
+
getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
|
|
2894
|
+
/**
|
|
2895
|
+
* Get Rate History
|
|
2896
|
+
*
|
|
2897
|
+
* The time between startTime and endTime cannot be longer than 1 year.
|
|
2898
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
2899
|
+
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
2900
|
+
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
2901
|
+
*
|
|
2902
|
+
* Weight: 150
|
|
2903
|
+
*
|
|
2904
|
+
* @summary Get Rate History(USER_DATA)
|
|
2905
|
+
* @param {GetRateHistoryRequest} requestParameters Request parameters.
|
|
2906
|
+
*
|
|
2907
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2908
|
+
* @memberof FlexibleLockedApiInterface
|
|
2909
|
+
*/
|
|
2910
|
+
getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
|
|
2086
2911
|
/**
|
|
2087
|
-
* Get
|
|
2912
|
+
* Get available Simple Earn flexible product list
|
|
2088
2913
|
*
|
|
2089
2914
|
* Weight: 150
|
|
2090
2915
|
*
|
|
2091
|
-
* @summary Get Flexible
|
|
2092
|
-
* @param {
|
|
2916
|
+
* @summary Get Simple Earn Flexible Product List(USER_DATA)
|
|
2917
|
+
* @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
|
|
2093
2918
|
*
|
|
2094
2919
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2095
|
-
* @memberof
|
|
2920
|
+
* @memberof FlexibleLockedApiInterface
|
|
2096
2921
|
*/
|
|
2097
|
-
|
|
2922
|
+
getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
|
|
2098
2923
|
/**
|
|
2099
|
-
* Get
|
|
2924
|
+
* Get Simple Earn Locked Product List
|
|
2925
|
+
*
|
|
2926
|
+
* Get available Simple Earn locked product list
|
|
2100
2927
|
*
|
|
2101
2928
|
* Weight: 150
|
|
2102
2929
|
*
|
|
2103
|
-
* @summary Get
|
|
2104
|
-
* @param {
|
|
2930
|
+
* @summary Get Simple Earn Locked Product List(USER_DATA)
|
|
2931
|
+
* @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
|
|
2932
|
+
*
|
|
2933
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2934
|
+
* @memberof FlexibleLockedApiInterface
|
|
2935
|
+
*/
|
|
2936
|
+
getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
|
|
2937
|
+
/**
|
|
2938
|
+
* Redeem Flexible Product
|
|
2939
|
+
*
|
|
2940
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2941
|
+
*
|
|
2942
|
+
* Weight: 1
|
|
2943
|
+
*
|
|
2944
|
+
* @summary Redeem Flexible Product(TRADE)
|
|
2945
|
+
* @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
|
|
2946
|
+
*
|
|
2947
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2948
|
+
* @memberof FlexibleLockedApiInterface
|
|
2949
|
+
*/
|
|
2950
|
+
redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
|
|
2951
|
+
/**
|
|
2952
|
+
* Redeem Locked Product
|
|
2953
|
+
*
|
|
2954
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2955
|
+
*
|
|
2956
|
+
* Weight: 1/3s per account
|
|
2957
|
+
*
|
|
2958
|
+
* @summary Redeem Locked Product(TRADE)
|
|
2959
|
+
* @param {RedeemLockedProductRequest} requestParameters Request parameters.
|
|
2960
|
+
*
|
|
2961
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2962
|
+
* @memberof FlexibleLockedApiInterface
|
|
2963
|
+
*/
|
|
2964
|
+
redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
|
|
2965
|
+
/**
|
|
2966
|
+
* Set Flexible Auto Subscribe
|
|
2967
|
+
*
|
|
2968
|
+
* Weight: 150
|
|
2969
|
+
*
|
|
2970
|
+
* @summary Set Flexible Auto Subscribe(USER_DATA)
|
|
2971
|
+
* @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
|
|
2972
|
+
*
|
|
2973
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2974
|
+
* @memberof FlexibleLockedApiInterface
|
|
2975
|
+
*/
|
|
2976
|
+
setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Set locked auto subscribe
|
|
2979
|
+
*
|
|
2980
|
+
* Weight: 150
|
|
2981
|
+
*
|
|
2982
|
+
* @summary Set Locked Auto Subscribe(USER_DATA)
|
|
2983
|
+
* @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
|
|
2984
|
+
*
|
|
2985
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2986
|
+
* @memberof FlexibleLockedApiInterface
|
|
2987
|
+
*/
|
|
2988
|
+
setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
|
|
2989
|
+
/**
|
|
2990
|
+
* Set redeem option for Locked product
|
|
2991
|
+
*
|
|
2992
|
+
* Weight: 50
|
|
2993
|
+
*
|
|
2994
|
+
* @summary Set Locked Product Redeem Option(USER_DATA)
|
|
2995
|
+
* @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
|
|
2996
|
+
*
|
|
2997
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2998
|
+
* @memberof FlexibleLockedApiInterface
|
|
2999
|
+
*/
|
|
3000
|
+
setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
|
|
3001
|
+
/**
|
|
3002
|
+
* Simple Account query
|
|
3003
|
+
*
|
|
3004
|
+
* Weight: 150
|
|
3005
|
+
*
|
|
3006
|
+
* @summary Simple Account(USER_DATA)
|
|
3007
|
+
* @param {SimpleAccountRequest} requestParameters Request parameters.
|
|
3008
|
+
*
|
|
3009
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3010
|
+
* @memberof FlexibleLockedApiInterface
|
|
3011
|
+
*/
|
|
3012
|
+
simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
|
|
3013
|
+
/**
|
|
3014
|
+
* Subscribe Flexible Product
|
|
3015
|
+
*
|
|
3016
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
3017
|
+
*
|
|
3018
|
+
* Weight: 1
|
|
3019
|
+
*
|
|
3020
|
+
* @summary Subscribe Flexible Product(TRADE)
|
|
3021
|
+
* @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
|
|
3022
|
+
*
|
|
3023
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3024
|
+
* @memberof FlexibleLockedApiInterface
|
|
3025
|
+
*/
|
|
3026
|
+
subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
|
|
3027
|
+
/**
|
|
3028
|
+
* Subscribe Locked Product
|
|
3029
|
+
*
|
|
3030
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
3031
|
+
*
|
|
3032
|
+
* Weight: 1
|
|
3033
|
+
*
|
|
3034
|
+
* @summary Subscribe Locked Product(TRADE)
|
|
3035
|
+
* @param {SubscribeLockedProductRequest} requestParameters Request parameters.
|
|
2105
3036
|
*
|
|
2106
3037
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2107
|
-
* @memberof
|
|
3038
|
+
* @memberof FlexibleLockedApiInterface
|
|
3039
|
+
*/
|
|
3040
|
+
subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
|
|
3041
|
+
}
|
|
3042
|
+
/**
|
|
3043
|
+
* Request parameters for getCollateralRecord operation in FlexibleLockedApi.
|
|
3044
|
+
* @interface GetCollateralRecordRequest
|
|
3045
|
+
*/
|
|
3046
|
+
interface GetCollateralRecordRequest {
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @type {string}
|
|
3050
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3051
|
+
*/
|
|
3052
|
+
readonly productId?: string;
|
|
3053
|
+
/**
|
|
3054
|
+
*
|
|
3055
|
+
* @type {number}
|
|
3056
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3057
|
+
*/
|
|
3058
|
+
readonly startTime?: number;
|
|
3059
|
+
/**
|
|
3060
|
+
*
|
|
3061
|
+
* @type {number}
|
|
3062
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3063
|
+
*/
|
|
3064
|
+
readonly endTime?: number;
|
|
3065
|
+
/**
|
|
3066
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3067
|
+
* @type {number}
|
|
3068
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3069
|
+
*/
|
|
3070
|
+
readonly current?: number;
|
|
3071
|
+
/**
|
|
3072
|
+
* Default:10, Max:100
|
|
3073
|
+
* @type {number}
|
|
3074
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3075
|
+
*/
|
|
3076
|
+
readonly size?: number;
|
|
3077
|
+
/**
|
|
3078
|
+
*
|
|
3079
|
+
* @type {number}
|
|
3080
|
+
* @memberof FlexibleLockedApiGetCollateralRecord
|
|
3081
|
+
*/
|
|
3082
|
+
readonly recvWindow?: number;
|
|
3083
|
+
}
|
|
3084
|
+
/**
|
|
3085
|
+
* Request parameters for getFlexiblePersonalLeftQuota operation in FlexibleLockedApi.
|
|
3086
|
+
* @interface GetFlexiblePersonalLeftQuotaRequest
|
|
3087
|
+
*/
|
|
3088
|
+
interface GetFlexiblePersonalLeftQuotaRequest {
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @type {string}
|
|
3092
|
+
* @memberof FlexibleLockedApiGetFlexiblePersonalLeftQuota
|
|
3093
|
+
*/
|
|
3094
|
+
readonly productId: string;
|
|
3095
|
+
/**
|
|
3096
|
+
*
|
|
3097
|
+
* @type {number}
|
|
3098
|
+
* @memberof FlexibleLockedApiGetFlexiblePersonalLeftQuota
|
|
3099
|
+
*/
|
|
3100
|
+
readonly recvWindow?: number;
|
|
3101
|
+
}
|
|
3102
|
+
/**
|
|
3103
|
+
* Request parameters for getFlexibleProductPosition operation in FlexibleLockedApi.
|
|
3104
|
+
* @interface GetFlexibleProductPositionRequest
|
|
3105
|
+
*/
|
|
3106
|
+
interface GetFlexibleProductPositionRequest {
|
|
3107
|
+
/**
|
|
3108
|
+
* USDC or USDT
|
|
3109
|
+
* @type {string}
|
|
3110
|
+
* @memberof FlexibleLockedApiGetFlexibleProductPosition
|
|
3111
|
+
*/
|
|
3112
|
+
readonly asset?: string;
|
|
3113
|
+
/**
|
|
3114
|
+
*
|
|
3115
|
+
* @type {string}
|
|
3116
|
+
* @memberof FlexibleLockedApiGetFlexibleProductPosition
|
|
3117
|
+
*/
|
|
3118
|
+
readonly productId?: string;
|
|
3119
|
+
/**
|
|
3120
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3121
|
+
* @type {number}
|
|
3122
|
+
* @memberof FlexibleLockedApiGetFlexibleProductPosition
|
|
3123
|
+
*/
|
|
3124
|
+
readonly current?: number;
|
|
3125
|
+
/**
|
|
3126
|
+
* Default:10, Max:100
|
|
3127
|
+
* @type {number}
|
|
3128
|
+
* @memberof FlexibleLockedApiGetFlexibleProductPosition
|
|
3129
|
+
*/
|
|
3130
|
+
readonly size?: number;
|
|
3131
|
+
/**
|
|
3132
|
+
*
|
|
3133
|
+
* @type {number}
|
|
3134
|
+
* @memberof FlexibleLockedApiGetFlexibleProductPosition
|
|
3135
|
+
*/
|
|
3136
|
+
readonly recvWindow?: number;
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Request parameters for getFlexibleRedemptionRecord operation in FlexibleLockedApi.
|
|
3140
|
+
* @interface GetFlexibleRedemptionRecordRequest
|
|
3141
|
+
*/
|
|
3142
|
+
interface GetFlexibleRedemptionRecordRequest {
|
|
3143
|
+
/**
|
|
3144
|
+
*
|
|
3145
|
+
* @type {string}
|
|
3146
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3147
|
+
*/
|
|
3148
|
+
readonly productId?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
*
|
|
3151
|
+
* @type {string}
|
|
3152
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3153
|
+
*/
|
|
3154
|
+
readonly redeemId?: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* USDC or USDT
|
|
3157
|
+
* @type {string}
|
|
3158
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3159
|
+
*/
|
|
3160
|
+
readonly asset?: string;
|
|
3161
|
+
/**
|
|
3162
|
+
*
|
|
3163
|
+
* @type {number}
|
|
3164
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3165
|
+
*/
|
|
3166
|
+
readonly startTime?: number;
|
|
3167
|
+
/**
|
|
3168
|
+
*
|
|
3169
|
+
* @type {number}
|
|
3170
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3171
|
+
*/
|
|
3172
|
+
readonly endTime?: number;
|
|
3173
|
+
/**
|
|
3174
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3175
|
+
* @type {number}
|
|
3176
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3177
|
+
*/
|
|
3178
|
+
readonly current?: number;
|
|
3179
|
+
/**
|
|
3180
|
+
* Default:10, Max:100
|
|
3181
|
+
* @type {number}
|
|
3182
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3183
|
+
*/
|
|
3184
|
+
readonly size?: number;
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @type {number}
|
|
3188
|
+
* @memberof FlexibleLockedApiGetFlexibleRedemptionRecord
|
|
3189
|
+
*/
|
|
3190
|
+
readonly recvWindow?: number;
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
* Request parameters for getFlexibleRewardsHistory operation in FlexibleLockedApi.
|
|
3194
|
+
* @interface GetFlexibleRewardsHistoryRequest
|
|
3195
|
+
*/
|
|
3196
|
+
interface GetFlexibleRewardsHistoryRequest {
|
|
3197
|
+
/**
|
|
3198
|
+
* FAST or STANDARD, defaults to STANDARD
|
|
3199
|
+
* @type {string}
|
|
3200
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
3201
|
+
*/
|
|
3202
|
+
readonly type: string;
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @type {string}
|
|
3206
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
3207
|
+
*/
|
|
3208
|
+
readonly productId?: string;
|
|
3209
|
+
/**
|
|
3210
|
+
* USDC or USDT
|
|
3211
|
+
* @type {string}
|
|
3212
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2108
3213
|
*/
|
|
2109
|
-
|
|
3214
|
+
readonly asset?: string;
|
|
2110
3215
|
/**
|
|
2111
|
-
* Get Locked Personal Left Quota
|
|
2112
|
-
*
|
|
2113
|
-
* Weight: 150
|
|
2114
|
-
*
|
|
2115
|
-
* @summary Get Locked Personal Left Quota(USER_DATA)
|
|
2116
|
-
* @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
2117
3216
|
*
|
|
2118
|
-
* @
|
|
2119
|
-
* @memberof
|
|
3217
|
+
* @type {number}
|
|
3218
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2120
3219
|
*/
|
|
2121
|
-
|
|
3220
|
+
readonly startTime?: number;
|
|
2122
3221
|
/**
|
|
2123
|
-
* Get Locked Product Position
|
|
2124
|
-
*
|
|
2125
|
-
* Weight: 150
|
|
2126
3222
|
*
|
|
2127
|
-
* @
|
|
2128
|
-
* @
|
|
2129
|
-
*
|
|
2130
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2131
|
-
* @memberof AccountApiInterface
|
|
3223
|
+
* @type {number}
|
|
3224
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2132
3225
|
*/
|
|
2133
|
-
|
|
3226
|
+
readonly endTime?: number;
|
|
2134
3227
|
/**
|
|
2135
|
-
*
|
|
2136
|
-
*
|
|
2137
|
-
*
|
|
2138
|
-
*
|
|
2139
|
-
* @summary Get Simple Earn Flexible Product List(USER_DATA)
|
|
2140
|
-
* @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
|
|
2141
|
-
*
|
|
2142
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2143
|
-
* @memberof AccountApiInterface
|
|
3228
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3229
|
+
* @type {number}
|
|
3230
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2144
3231
|
*/
|
|
2145
|
-
|
|
3232
|
+
readonly current?: number;
|
|
2146
3233
|
/**
|
|
2147
|
-
*
|
|
2148
|
-
*
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
* Weight: 150
|
|
2152
|
-
*
|
|
2153
|
-
* @summary Get Simple Earn Locked Product List(USER_DATA)
|
|
2154
|
-
* @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
|
|
2155
|
-
*
|
|
2156
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2157
|
-
* @memberof AccountApiInterface
|
|
3234
|
+
* Default:10, Max:100
|
|
3235
|
+
* @type {number}
|
|
3236
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2158
3237
|
*/
|
|
2159
|
-
|
|
3238
|
+
readonly size?: number;
|
|
2160
3239
|
/**
|
|
2161
|
-
* Simple Account query
|
|
2162
|
-
*
|
|
2163
|
-
* Weight: 150
|
|
2164
3240
|
*
|
|
2165
|
-
* @
|
|
2166
|
-
* @
|
|
2167
|
-
*
|
|
2168
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2169
|
-
* @memberof AccountApiInterface
|
|
3241
|
+
* @type {number}
|
|
3242
|
+
* @memberof FlexibleLockedApiGetFlexibleRewardsHistory
|
|
2170
3243
|
*/
|
|
2171
|
-
|
|
3244
|
+
readonly recvWindow?: number;
|
|
2172
3245
|
}
|
|
2173
3246
|
/**
|
|
2174
|
-
* Request parameters for
|
|
2175
|
-
* @interface
|
|
3247
|
+
* Request parameters for getFlexibleSubscriptionPreview operation in FlexibleLockedApi.
|
|
3248
|
+
* @interface GetFlexibleSubscriptionPreviewRequest
|
|
2176
3249
|
*/
|
|
2177
|
-
interface
|
|
3250
|
+
interface GetFlexibleSubscriptionPreviewRequest {
|
|
2178
3251
|
/**
|
|
2179
3252
|
*
|
|
2180
3253
|
* @type {string}
|
|
2181
|
-
* @memberof
|
|
3254
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionPreview
|
|
2182
3255
|
*/
|
|
2183
3256
|
readonly productId: string;
|
|
3257
|
+
/**
|
|
3258
|
+
* Amount
|
|
3259
|
+
* @type {number}
|
|
3260
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionPreview
|
|
3261
|
+
*/
|
|
3262
|
+
readonly amount: number;
|
|
2184
3263
|
/**
|
|
2185
3264
|
*
|
|
2186
3265
|
* @type {number}
|
|
2187
|
-
* @memberof
|
|
3266
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionPreview
|
|
2188
3267
|
*/
|
|
2189
3268
|
readonly recvWindow?: number;
|
|
2190
3269
|
}
|
|
2191
3270
|
/**
|
|
2192
|
-
* Request parameters for
|
|
2193
|
-
* @interface
|
|
3271
|
+
* Request parameters for getFlexibleSubscriptionRecord operation in FlexibleLockedApi.
|
|
3272
|
+
* @interface GetFlexibleSubscriptionRecordRequest
|
|
2194
3273
|
*/
|
|
2195
|
-
interface
|
|
3274
|
+
interface GetFlexibleSubscriptionRecordRequest {
|
|
2196
3275
|
/**
|
|
2197
3276
|
*
|
|
2198
3277
|
* @type {string}
|
|
2199
|
-
* @memberof
|
|
3278
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
2200
3279
|
*/
|
|
2201
|
-
readonly
|
|
3280
|
+
readonly productId?: string;
|
|
2202
3281
|
/**
|
|
2203
3282
|
*
|
|
2204
3283
|
* @type {string}
|
|
2205
|
-
* @memberof
|
|
3284
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
2206
3285
|
*/
|
|
2207
|
-
readonly
|
|
3286
|
+
readonly purchaseId?: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* USDC or USDT
|
|
3289
|
+
* @type {string}
|
|
3290
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
3291
|
+
*/
|
|
3292
|
+
readonly asset?: string;
|
|
3293
|
+
/**
|
|
3294
|
+
*
|
|
3295
|
+
* @type {number}
|
|
3296
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
3297
|
+
*/
|
|
3298
|
+
readonly startTime?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
*
|
|
3301
|
+
* @type {number}
|
|
3302
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
3303
|
+
*/
|
|
3304
|
+
readonly endTime?: number;
|
|
2208
3305
|
/**
|
|
2209
3306
|
* Currently querying the page. Start from 1. Default:1
|
|
2210
3307
|
* @type {number}
|
|
2211
|
-
* @memberof
|
|
3308
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
2212
3309
|
*/
|
|
2213
3310
|
readonly current?: number;
|
|
2214
3311
|
/**
|
|
2215
3312
|
* Default:10, Max:100
|
|
2216
3313
|
* @type {number}
|
|
2217
|
-
* @memberof
|
|
3314
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
2218
3315
|
*/
|
|
2219
3316
|
readonly size?: number;
|
|
2220
3317
|
/**
|
|
2221
3318
|
*
|
|
2222
3319
|
* @type {number}
|
|
2223
|
-
* @memberof
|
|
3320
|
+
* @memberof FlexibleLockedApiGetFlexibleSubscriptionRecord
|
|
2224
3321
|
*/
|
|
2225
3322
|
readonly recvWindow?: number;
|
|
2226
3323
|
}
|
|
2227
3324
|
/**
|
|
2228
|
-
* Request parameters for getLockedPersonalLeftQuota operation in
|
|
3325
|
+
* Request parameters for getLockedPersonalLeftQuota operation in FlexibleLockedApi.
|
|
2229
3326
|
* @interface GetLockedPersonalLeftQuotaRequest
|
|
2230
3327
|
*/
|
|
2231
3328
|
interface GetLockedPersonalLeftQuotaRequest {
|
|
2232
3329
|
/**
|
|
2233
3330
|
*
|
|
2234
3331
|
* @type {string}
|
|
2235
|
-
* @memberof
|
|
3332
|
+
* @memberof FlexibleLockedApiGetLockedPersonalLeftQuota
|
|
2236
3333
|
*/
|
|
2237
3334
|
readonly projectId: string;
|
|
2238
3335
|
/**
|
|
2239
3336
|
*
|
|
2240
3337
|
* @type {number}
|
|
2241
|
-
* @memberof
|
|
3338
|
+
* @memberof FlexibleLockedApiGetLockedPersonalLeftQuota
|
|
2242
3339
|
*/
|
|
2243
3340
|
readonly recvWindow?: number;
|
|
2244
3341
|
}
|
|
2245
3342
|
/**
|
|
2246
|
-
* Request parameters for getLockedProductPosition operation in
|
|
3343
|
+
* Request parameters for getLockedProductPosition operation in FlexibleLockedApi.
|
|
2247
3344
|
* @interface GetLockedProductPositionRequest
|
|
2248
3345
|
*/
|
|
2249
3346
|
interface GetLockedProductPositionRequest {
|
|
2250
3347
|
/**
|
|
2251
|
-
*
|
|
3348
|
+
* USDC or USDT
|
|
2252
3349
|
* @type {string}
|
|
2253
|
-
* @memberof
|
|
3350
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2254
3351
|
*/
|
|
2255
3352
|
readonly asset?: string;
|
|
2256
3353
|
/**
|
|
2257
3354
|
*
|
|
2258
3355
|
* @type {number}
|
|
2259
|
-
* @memberof
|
|
3356
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2260
3357
|
*/
|
|
2261
3358
|
readonly positionId?: number;
|
|
2262
3359
|
/**
|
|
2263
3360
|
*
|
|
2264
3361
|
* @type {string}
|
|
2265
|
-
* @memberof
|
|
3362
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2266
3363
|
*/
|
|
2267
3364
|
readonly projectId?: string;
|
|
2268
3365
|
/**
|
|
2269
3366
|
* Currently querying the page. Start from 1. Default:1
|
|
2270
3367
|
* @type {number}
|
|
2271
|
-
* @memberof
|
|
3368
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2272
3369
|
*/
|
|
2273
3370
|
readonly current?: number;
|
|
2274
3371
|
/**
|
|
2275
3372
|
* Default:10, Max:100
|
|
2276
3373
|
* @type {number}
|
|
2277
|
-
* @memberof
|
|
3374
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2278
3375
|
*/
|
|
2279
3376
|
readonly size?: number;
|
|
2280
3377
|
/**
|
|
2281
3378
|
*
|
|
2282
3379
|
* @type {number}
|
|
2283
|
-
* @memberof
|
|
3380
|
+
* @memberof FlexibleLockedApiGetLockedProductPosition
|
|
2284
3381
|
*/
|
|
2285
3382
|
readonly recvWindow?: number;
|
|
2286
3383
|
}
|
|
2287
3384
|
/**
|
|
2288
|
-
* Request parameters for
|
|
2289
|
-
* @interface
|
|
3385
|
+
* Request parameters for getLockedRedemptionRecord operation in FlexibleLockedApi.
|
|
3386
|
+
* @interface GetLockedRedemptionRecordRequest
|
|
2290
3387
|
*/
|
|
2291
|
-
interface
|
|
3388
|
+
interface GetLockedRedemptionRecordRequest {
|
|
3389
|
+
/**
|
|
3390
|
+
*
|
|
3391
|
+
* @type {number}
|
|
3392
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
3393
|
+
*/
|
|
3394
|
+
readonly positionId?: number;
|
|
2292
3395
|
/**
|
|
2293
3396
|
*
|
|
2294
3397
|
* @type {string}
|
|
2295
|
-
* @memberof
|
|
3398
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
3399
|
+
*/
|
|
3400
|
+
readonly redeemId?: string;
|
|
3401
|
+
/**
|
|
3402
|
+
* USDC or USDT
|
|
3403
|
+
* @type {string}
|
|
3404
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
2296
3405
|
*/
|
|
2297
3406
|
readonly asset?: string;
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* @type {number}
|
|
3410
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
3411
|
+
*/
|
|
3412
|
+
readonly startTime?: number;
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @type {number}
|
|
3416
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
3417
|
+
*/
|
|
3418
|
+
readonly endTime?: number;
|
|
2298
3419
|
/**
|
|
2299
3420
|
* Currently querying the page. Start from 1. Default:1
|
|
2300
3421
|
* @type {number}
|
|
2301
|
-
* @memberof
|
|
3422
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
2302
3423
|
*/
|
|
2303
3424
|
readonly current?: number;
|
|
2304
3425
|
/**
|
|
2305
3426
|
* Default:10, Max:100
|
|
2306
3427
|
* @type {number}
|
|
2307
|
-
* @memberof
|
|
3428
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
2308
3429
|
*/
|
|
2309
3430
|
readonly size?: number;
|
|
2310
3431
|
/**
|
|
2311
3432
|
*
|
|
2312
3433
|
* @type {number}
|
|
2313
|
-
* @memberof
|
|
3434
|
+
* @memberof FlexibleLockedApiGetLockedRedemptionRecord
|
|
2314
3435
|
*/
|
|
2315
3436
|
readonly recvWindow?: number;
|
|
2316
3437
|
}
|
|
2317
3438
|
/**
|
|
2318
|
-
* Request parameters for
|
|
2319
|
-
* @interface
|
|
3439
|
+
* Request parameters for getLockedRewardsHistory operation in FlexibleLockedApi.
|
|
3440
|
+
* @interface GetLockedRewardsHistoryRequest
|
|
2320
3441
|
*/
|
|
2321
|
-
interface
|
|
3442
|
+
interface GetLockedRewardsHistoryRequest {
|
|
2322
3443
|
/**
|
|
2323
3444
|
*
|
|
3445
|
+
* @type {number}
|
|
3446
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
3447
|
+
*/
|
|
3448
|
+
readonly positionId?: number;
|
|
3449
|
+
/**
|
|
3450
|
+
* USDC or USDT
|
|
2324
3451
|
* @type {string}
|
|
2325
|
-
* @memberof
|
|
3452
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
2326
3453
|
*/
|
|
2327
3454
|
readonly asset?: string;
|
|
3455
|
+
/**
|
|
3456
|
+
*
|
|
3457
|
+
* @type {number}
|
|
3458
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
3459
|
+
*/
|
|
3460
|
+
readonly startTime?: number;
|
|
3461
|
+
/**
|
|
3462
|
+
*
|
|
3463
|
+
* @type {number}
|
|
3464
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
3465
|
+
*/
|
|
3466
|
+
readonly endTime?: number;
|
|
2328
3467
|
/**
|
|
2329
3468
|
* Currently querying the page. Start from 1. Default:1
|
|
2330
3469
|
* @type {number}
|
|
2331
|
-
* @memberof
|
|
3470
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
2332
3471
|
*/
|
|
2333
3472
|
readonly current?: number;
|
|
2334
3473
|
/**
|
|
2335
3474
|
* Default:10, Max:100
|
|
2336
3475
|
* @type {number}
|
|
2337
|
-
* @memberof
|
|
3476
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
2338
3477
|
*/
|
|
2339
3478
|
readonly size?: number;
|
|
2340
3479
|
/**
|
|
2341
3480
|
*
|
|
2342
3481
|
* @type {number}
|
|
2343
|
-
* @memberof
|
|
3482
|
+
* @memberof FlexibleLockedApiGetLockedRewardsHistory
|
|
2344
3483
|
*/
|
|
2345
3484
|
readonly recvWindow?: number;
|
|
2346
3485
|
}
|
|
2347
3486
|
/**
|
|
2348
|
-
* Request parameters for
|
|
2349
|
-
* @interface
|
|
3487
|
+
* Request parameters for getLockedSubscriptionPreview operation in FlexibleLockedApi.
|
|
3488
|
+
* @interface GetLockedSubscriptionPreviewRequest
|
|
2350
3489
|
*/
|
|
2351
|
-
interface
|
|
3490
|
+
interface GetLockedSubscriptionPreviewRequest {
|
|
2352
3491
|
/**
|
|
2353
3492
|
*
|
|
3493
|
+
* @type {string}
|
|
3494
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionPreview
|
|
3495
|
+
*/
|
|
3496
|
+
readonly projectId: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* Amount
|
|
2354
3499
|
* @type {number}
|
|
2355
|
-
* @memberof
|
|
3500
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionPreview
|
|
2356
3501
|
*/
|
|
2357
|
-
readonly
|
|
2358
|
-
}
|
|
2359
|
-
/**
|
|
2360
|
-
* AccountApi - object-oriented interface
|
|
2361
|
-
* @class AccountApi
|
|
2362
|
-
*/
|
|
2363
|
-
declare class AccountApi implements AccountApiInterface {
|
|
2364
|
-
private readonly configuration;
|
|
2365
|
-
private localVarAxiosParamCreator;
|
|
2366
|
-
constructor(configuration: ConfigurationRestAPI);
|
|
3502
|
+
readonly amount: number;
|
|
2367
3503
|
/**
|
|
2368
|
-
*
|
|
2369
|
-
*
|
|
2370
|
-
*
|
|
2371
|
-
*
|
|
2372
|
-
* @summary Get Flexible Personal Left Quota(USER_DATA)
|
|
2373
|
-
* @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
2374
|
-
* @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
|
|
2375
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2376
|
-
* @memberof AccountApi
|
|
2377
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
|
|
3504
|
+
* true or false, default true.
|
|
3505
|
+
* @type {boolean}
|
|
3506
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionPreview
|
|
2378
3507
|
*/
|
|
2379
|
-
|
|
3508
|
+
readonly autoSubscribe?: boolean;
|
|
2380
3509
|
/**
|
|
2381
|
-
* Get Flexible Product Position
|
|
2382
3510
|
*
|
|
2383
|
-
*
|
|
2384
|
-
*
|
|
2385
|
-
* @summary Get Flexible Product Position(USER_DATA)
|
|
2386
|
-
* @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
|
|
2387
|
-
* @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
|
|
2388
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2389
|
-
* @memberof AccountApi
|
|
2390
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Product-Position Binance API Documentation}
|
|
3511
|
+
* @type {number}
|
|
3512
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionPreview
|
|
2391
3513
|
*/
|
|
2392
|
-
|
|
3514
|
+
readonly recvWindow?: number;
|
|
3515
|
+
}
|
|
3516
|
+
/**
|
|
3517
|
+
* Request parameters for getLockedSubscriptionRecord operation in FlexibleLockedApi.
|
|
3518
|
+
* @interface GetLockedSubscriptionRecordRequest
|
|
3519
|
+
*/
|
|
3520
|
+
interface GetLockedSubscriptionRecordRequest {
|
|
2393
3521
|
/**
|
|
2394
|
-
* Get Locked Personal Left Quota
|
|
2395
|
-
*
|
|
2396
|
-
* Weight: 150
|
|
2397
3522
|
*
|
|
2398
|
-
* @
|
|
2399
|
-
* @
|
|
2400
|
-
* @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
|
|
2401
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2402
|
-
* @memberof AccountApi
|
|
2403
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
|
|
3523
|
+
* @type {string}
|
|
3524
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2404
3525
|
*/
|
|
2405
|
-
|
|
3526
|
+
readonly purchaseId?: string;
|
|
2406
3527
|
/**
|
|
2407
|
-
*
|
|
2408
|
-
*
|
|
2409
|
-
*
|
|
2410
|
-
*
|
|
2411
|
-
* @summary Get Locked Product Position
|
|
2412
|
-
* @param {GetLockedProductPositionRequest} requestParameters Request parameters.
|
|
2413
|
-
* @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
|
|
2414
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2415
|
-
* @memberof AccountApi
|
|
2416
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Product-Position Binance API Documentation}
|
|
3528
|
+
* USDC or USDT
|
|
3529
|
+
* @type {string}
|
|
3530
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2417
3531
|
*/
|
|
2418
|
-
|
|
3532
|
+
readonly asset?: string;
|
|
2419
3533
|
/**
|
|
2420
|
-
* Get available Simple Earn flexible product list
|
|
2421
3534
|
*
|
|
2422
|
-
*
|
|
2423
|
-
*
|
|
2424
|
-
* @summary Get Simple Earn Flexible Product List(USER_DATA)
|
|
2425
|
-
* @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
|
|
2426
|
-
* @returns {Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>}
|
|
2427
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2428
|
-
* @memberof AccountApi
|
|
2429
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
|
|
3535
|
+
* @type {number}
|
|
3536
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2430
3537
|
*/
|
|
2431
|
-
|
|
3538
|
+
readonly startTime?: number;
|
|
2432
3539
|
/**
|
|
2433
|
-
* Get Simple Earn Locked Product List
|
|
2434
|
-
*
|
|
2435
|
-
* Get available Simple Earn locked product list
|
|
2436
3540
|
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
2439
|
-
* @summary Get Simple Earn Locked Product List(USER_DATA)
|
|
2440
|
-
* @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
|
|
2441
|
-
* @returns {Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>}
|
|
2442
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2443
|
-
* @memberof AccountApi
|
|
2444
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
|
|
3541
|
+
* @type {number}
|
|
3542
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2445
3543
|
*/
|
|
2446
|
-
|
|
3544
|
+
readonly endTime?: number;
|
|
2447
3545
|
/**
|
|
2448
|
-
*
|
|
2449
|
-
*
|
|
2450
|
-
*
|
|
2451
|
-
*
|
|
2452
|
-
* @summary Simple Account(USER_DATA)
|
|
2453
|
-
* @param {SimpleAccountRequest} requestParameters Request parameters.
|
|
2454
|
-
* @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
|
|
2455
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2456
|
-
* @memberof AccountApi
|
|
2457
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Simple-Account Binance API Documentation}
|
|
3546
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3547
|
+
* @type {number}
|
|
3548
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2458
3549
|
*/
|
|
2459
|
-
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
/**
|
|
2463
|
-
* Binance Simple Earn REST API
|
|
2464
|
-
*
|
|
2465
|
-
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2466
|
-
*
|
|
2467
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2468
|
-
*
|
|
2469
|
-
*
|
|
2470
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2471
|
-
* https://openapi-generator.tech
|
|
2472
|
-
* Do not edit the class manually.
|
|
2473
|
-
*/
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
* EarnApi - interface
|
|
2477
|
-
* @interface EarnApi
|
|
2478
|
-
*/
|
|
2479
|
-
interface EarnApiInterface {
|
|
3550
|
+
readonly current?: number;
|
|
2480
3551
|
/**
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
2483
|
-
*
|
|
2484
|
-
*
|
|
2485
|
-
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
2486
|
-
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2487
|
-
*
|
|
2488
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2489
|
-
* @memberof EarnApiInterface
|
|
3552
|
+
* Default:10, Max:100
|
|
3553
|
+
* @type {number}
|
|
3554
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2490
3555
|
*/
|
|
2491
|
-
|
|
3556
|
+
readonly size?: number;
|
|
2492
3557
|
/**
|
|
2493
|
-
* Get Locked Subscription Preview
|
|
2494
|
-
*
|
|
2495
|
-
* Weight: 150
|
|
2496
|
-
*
|
|
2497
|
-
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
2498
|
-
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2499
3558
|
*
|
|
2500
|
-
* @
|
|
2501
|
-
* @memberof
|
|
3559
|
+
* @type {number}
|
|
3560
|
+
* @memberof FlexibleLockedApiGetLockedSubscriptionRecord
|
|
2502
3561
|
*/
|
|
2503
|
-
|
|
3562
|
+
readonly recvWindow?: number;
|
|
3563
|
+
}
|
|
3564
|
+
/**
|
|
3565
|
+
* Request parameters for getRateHistory operation in FlexibleLockedApi.
|
|
3566
|
+
* @interface GetRateHistoryRequest
|
|
3567
|
+
*/
|
|
3568
|
+
interface GetRateHistoryRequest {
|
|
2504
3569
|
/**
|
|
2505
|
-
* Redeem Flexible Product
|
|
2506
|
-
*
|
|
2507
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2508
|
-
*
|
|
2509
|
-
* Weight: 1
|
|
2510
|
-
*
|
|
2511
|
-
* @summary Redeem Flexible Product(TRADE)
|
|
2512
|
-
* @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
|
|
2513
3570
|
*
|
|
2514
|
-
* @
|
|
2515
|
-
* @memberof
|
|
3571
|
+
* @type {string}
|
|
3572
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2516
3573
|
*/
|
|
2517
|
-
|
|
3574
|
+
readonly productId: string;
|
|
2518
3575
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
* Weight: 1/3s per account
|
|
2524
|
-
*
|
|
2525
|
-
* @summary Redeem Locked Product(TRADE)
|
|
2526
|
-
* @param {RedeemLockedProductRequest} requestParameters Request parameters.
|
|
2527
|
-
*
|
|
2528
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2529
|
-
* @memberof EarnApiInterface
|
|
3576
|
+
* "DAY","YEAR",default"DAY"
|
|
3577
|
+
* @type {string}
|
|
3578
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2530
3579
|
*/
|
|
2531
|
-
|
|
3580
|
+
readonly aprPeriod?: string;
|
|
2532
3581
|
/**
|
|
2533
|
-
* Set Flexible Auto Subscribe
|
|
2534
|
-
*
|
|
2535
|
-
* Weight: 150
|
|
2536
|
-
*
|
|
2537
|
-
* @summary Set Flexible Auto Subscribe(USER_DATA)
|
|
2538
|
-
* @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
|
|
2539
3582
|
*
|
|
2540
|
-
* @
|
|
2541
|
-
* @memberof
|
|
3583
|
+
* @type {number}
|
|
3584
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2542
3585
|
*/
|
|
2543
|
-
|
|
3586
|
+
readonly startTime?: number;
|
|
2544
3587
|
/**
|
|
2545
|
-
* Set locked auto subscribe
|
|
2546
|
-
*
|
|
2547
|
-
* Weight: 150
|
|
2548
3588
|
*
|
|
2549
|
-
* @
|
|
2550
|
-
* @
|
|
2551
|
-
*
|
|
2552
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2553
|
-
* @memberof EarnApiInterface
|
|
3589
|
+
* @type {number}
|
|
3590
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2554
3591
|
*/
|
|
2555
|
-
|
|
3592
|
+
readonly endTime?: number;
|
|
2556
3593
|
/**
|
|
2557
|
-
*
|
|
2558
|
-
*
|
|
2559
|
-
*
|
|
2560
|
-
*
|
|
2561
|
-
* @summary Set Locked Product Redeem Option(USER_DATA)
|
|
2562
|
-
* @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
|
|
2563
|
-
*
|
|
2564
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2565
|
-
* @memberof EarnApiInterface
|
|
3594
|
+
* Currently querying the page. Start from 1. Default:1
|
|
3595
|
+
* @type {number}
|
|
3596
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2566
3597
|
*/
|
|
2567
|
-
|
|
3598
|
+
readonly current?: number;
|
|
2568
3599
|
/**
|
|
2569
|
-
*
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2572
|
-
*
|
|
2573
|
-
* Weight: 1
|
|
2574
|
-
*
|
|
2575
|
-
* @summary Subscribe Flexible Product(TRADE)
|
|
2576
|
-
* @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
|
|
2577
|
-
*
|
|
2578
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2579
|
-
* @memberof EarnApiInterface
|
|
3600
|
+
* Default:10, Max:100
|
|
3601
|
+
* @type {number}
|
|
3602
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2580
3603
|
*/
|
|
2581
|
-
|
|
3604
|
+
readonly size?: number;
|
|
2582
3605
|
/**
|
|
2583
|
-
* Subscribe Locked Product
|
|
2584
|
-
*
|
|
2585
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2586
|
-
*
|
|
2587
|
-
* Weight: 1
|
|
2588
|
-
*
|
|
2589
|
-
* @summary Subscribe Locked Product(TRADE)
|
|
2590
|
-
* @param {SubscribeLockedProductRequest} requestParameters Request parameters.
|
|
2591
3606
|
*
|
|
2592
|
-
* @
|
|
2593
|
-
* @memberof
|
|
3607
|
+
* @type {number}
|
|
3608
|
+
* @memberof FlexibleLockedApiGetRateHistory
|
|
2594
3609
|
*/
|
|
2595
|
-
|
|
3610
|
+
readonly recvWindow?: number;
|
|
2596
3611
|
}
|
|
2597
3612
|
/**
|
|
2598
|
-
* Request parameters for
|
|
2599
|
-
* @interface
|
|
3613
|
+
* Request parameters for getSimpleEarnFlexibleProductList operation in FlexibleLockedApi.
|
|
3614
|
+
* @interface GetSimpleEarnFlexibleProductListRequest
|
|
2600
3615
|
*/
|
|
2601
|
-
interface
|
|
3616
|
+
interface GetSimpleEarnFlexibleProductListRequest {
|
|
2602
3617
|
/**
|
|
2603
|
-
*
|
|
3618
|
+
* USDC or USDT
|
|
2604
3619
|
* @type {string}
|
|
2605
|
-
* @memberof
|
|
3620
|
+
* @memberof FlexibleLockedApiGetSimpleEarnFlexibleProductList
|
|
2606
3621
|
*/
|
|
2607
|
-
readonly
|
|
3622
|
+
readonly asset?: string;
|
|
2608
3623
|
/**
|
|
2609
|
-
*
|
|
3624
|
+
* Currently querying the page. Start from 1. Default:1
|
|
2610
3625
|
* @type {number}
|
|
2611
|
-
* @memberof
|
|
3626
|
+
* @memberof FlexibleLockedApiGetSimpleEarnFlexibleProductList
|
|
2612
3627
|
*/
|
|
2613
|
-
readonly
|
|
3628
|
+
readonly current?: number;
|
|
3629
|
+
/**
|
|
3630
|
+
* Default:10, Max:100
|
|
3631
|
+
* @type {number}
|
|
3632
|
+
* @memberof FlexibleLockedApiGetSimpleEarnFlexibleProductList
|
|
3633
|
+
*/
|
|
3634
|
+
readonly size?: number;
|
|
2614
3635
|
/**
|
|
2615
3636
|
*
|
|
2616
3637
|
* @type {number}
|
|
2617
|
-
* @memberof
|
|
3638
|
+
* @memberof FlexibleLockedApiGetSimpleEarnFlexibleProductList
|
|
2618
3639
|
*/
|
|
2619
3640
|
readonly recvWindow?: number;
|
|
2620
3641
|
}
|
|
2621
3642
|
/**
|
|
2622
|
-
* Request parameters for
|
|
2623
|
-
* @interface
|
|
3643
|
+
* Request parameters for getSimpleEarnLockedProductList operation in FlexibleLockedApi.
|
|
3644
|
+
* @interface GetSimpleEarnLockedProductListRequest
|
|
2624
3645
|
*/
|
|
2625
|
-
interface
|
|
3646
|
+
interface GetSimpleEarnLockedProductListRequest {
|
|
2626
3647
|
/**
|
|
2627
|
-
*
|
|
3648
|
+
* USDC or USDT
|
|
2628
3649
|
* @type {string}
|
|
2629
|
-
* @memberof
|
|
3650
|
+
* @memberof FlexibleLockedApiGetSimpleEarnLockedProductList
|
|
2630
3651
|
*/
|
|
2631
|
-
readonly
|
|
3652
|
+
readonly asset?: string;
|
|
2632
3653
|
/**
|
|
2633
|
-
*
|
|
3654
|
+
* Currently querying the page. Start from 1. Default:1
|
|
2634
3655
|
* @type {number}
|
|
2635
|
-
* @memberof
|
|
3656
|
+
* @memberof FlexibleLockedApiGetSimpleEarnLockedProductList
|
|
2636
3657
|
*/
|
|
2637
|
-
readonly
|
|
3658
|
+
readonly current?: number;
|
|
2638
3659
|
/**
|
|
2639
|
-
*
|
|
2640
|
-
* @type {
|
|
2641
|
-
* @memberof
|
|
3660
|
+
* Default:10, Max:100
|
|
3661
|
+
* @type {number}
|
|
3662
|
+
* @memberof FlexibleLockedApiGetSimpleEarnLockedProductList
|
|
2642
3663
|
*/
|
|
2643
|
-
readonly
|
|
3664
|
+
readonly size?: number;
|
|
2644
3665
|
/**
|
|
2645
3666
|
*
|
|
2646
3667
|
* @type {number}
|
|
2647
|
-
* @memberof
|
|
3668
|
+
* @memberof FlexibleLockedApiGetSimpleEarnLockedProductList
|
|
2648
3669
|
*/
|
|
2649
3670
|
readonly recvWindow?: number;
|
|
2650
3671
|
}
|
|
2651
3672
|
/**
|
|
2652
|
-
* Request parameters for redeemFlexibleProduct operation in
|
|
3673
|
+
* Request parameters for redeemFlexibleProduct operation in FlexibleLockedApi.
|
|
2653
3674
|
* @interface RedeemFlexibleProductRequest
|
|
2654
3675
|
*/
|
|
2655
3676
|
interface RedeemFlexibleProductRequest {
|
|
2656
3677
|
/**
|
|
2657
3678
|
*
|
|
2658
3679
|
* @type {string}
|
|
2659
|
-
* @memberof
|
|
3680
|
+
* @memberof FlexibleLockedApiRedeemFlexibleProduct
|
|
2660
3681
|
*/
|
|
2661
3682
|
readonly productId: string;
|
|
2662
3683
|
/**
|
|
2663
3684
|
* true or false, default to false
|
|
2664
3685
|
* @type {boolean}
|
|
2665
|
-
* @memberof
|
|
3686
|
+
* @memberof FlexibleLockedApiRedeemFlexibleProduct
|
|
2666
3687
|
*/
|
|
2667
3688
|
readonly redeemAll?: boolean;
|
|
2668
3689
|
/**
|
|
2669
3690
|
* if redeemAll is false, amount is mandatory
|
|
2670
3691
|
* @type {number}
|
|
2671
|
-
* @memberof
|
|
3692
|
+
* @memberof FlexibleLockedApiRedeemFlexibleProduct
|
|
2672
3693
|
*/
|
|
2673
3694
|
readonly amount?: number;
|
|
2674
3695
|
/**
|
|
2675
3696
|
* `SPOT`,`FUND`, default `SPOT`
|
|
2676
3697
|
* @type {string}
|
|
2677
|
-
* @memberof
|
|
3698
|
+
* @memberof FlexibleLockedApiRedeemFlexibleProduct
|
|
2678
3699
|
*/
|
|
2679
3700
|
readonly destAccount?: string;
|
|
2680
3701
|
/**
|
|
2681
3702
|
*
|
|
2682
3703
|
* @type {number}
|
|
2683
|
-
* @memberof
|
|
3704
|
+
* @memberof FlexibleLockedApiRedeemFlexibleProduct
|
|
2684
3705
|
*/
|
|
2685
3706
|
readonly recvWindow?: number;
|
|
2686
3707
|
}
|
|
2687
3708
|
/**
|
|
2688
|
-
* Request parameters for redeemLockedProduct operation in
|
|
3709
|
+
* Request parameters for redeemLockedProduct operation in FlexibleLockedApi.
|
|
2689
3710
|
* @interface RedeemLockedProductRequest
|
|
2690
3711
|
*/
|
|
2691
3712
|
interface RedeemLockedProductRequest {
|
|
2692
3713
|
/**
|
|
2693
3714
|
*
|
|
2694
3715
|
* @type {string}
|
|
2695
|
-
* @memberof
|
|
3716
|
+
* @memberof FlexibleLockedApiRedeemLockedProduct
|
|
2696
3717
|
*/
|
|
2697
3718
|
readonly positionId: string;
|
|
2698
3719
|
/**
|
|
2699
3720
|
*
|
|
2700
3721
|
* @type {number}
|
|
2701
|
-
* @memberof
|
|
3722
|
+
* @memberof FlexibleLockedApiRedeemLockedProduct
|
|
2702
3723
|
*/
|
|
2703
3724
|
readonly recvWindow?: number;
|
|
2704
3725
|
}
|
|
2705
3726
|
/**
|
|
2706
|
-
* Request parameters for setFlexibleAutoSubscribe operation in
|
|
3727
|
+
* Request parameters for setFlexibleAutoSubscribe operation in FlexibleLockedApi.
|
|
2707
3728
|
* @interface SetFlexibleAutoSubscribeRequest
|
|
2708
3729
|
*/
|
|
2709
3730
|
interface SetFlexibleAutoSubscribeRequest {
|
|
2710
3731
|
/**
|
|
2711
3732
|
*
|
|
2712
3733
|
* @type {string}
|
|
2713
|
-
* @memberof
|
|
3734
|
+
* @memberof FlexibleLockedApiSetFlexibleAutoSubscribe
|
|
2714
3735
|
*/
|
|
2715
3736
|
readonly productId: string;
|
|
2716
3737
|
/**
|
|
2717
3738
|
* true or false
|
|
2718
3739
|
* @type {boolean}
|
|
2719
|
-
* @memberof
|
|
3740
|
+
* @memberof FlexibleLockedApiSetFlexibleAutoSubscribe
|
|
2720
3741
|
*/
|
|
2721
3742
|
readonly autoSubscribe: boolean;
|
|
2722
3743
|
/**
|
|
2723
3744
|
*
|
|
2724
3745
|
* @type {number}
|
|
2725
|
-
* @memberof
|
|
3746
|
+
* @memberof FlexibleLockedApiSetFlexibleAutoSubscribe
|
|
2726
3747
|
*/
|
|
2727
3748
|
readonly recvWindow?: number;
|
|
2728
3749
|
}
|
|
2729
3750
|
/**
|
|
2730
|
-
* Request parameters for setLockedAutoSubscribe operation in
|
|
3751
|
+
* Request parameters for setLockedAutoSubscribe operation in FlexibleLockedApi.
|
|
2731
3752
|
* @interface SetLockedAutoSubscribeRequest
|
|
2732
3753
|
*/
|
|
2733
3754
|
interface SetLockedAutoSubscribeRequest {
|
|
2734
3755
|
/**
|
|
2735
3756
|
*
|
|
2736
3757
|
* @type {string}
|
|
2737
|
-
* @memberof
|
|
3758
|
+
* @memberof FlexibleLockedApiSetLockedAutoSubscribe
|
|
2738
3759
|
*/
|
|
2739
3760
|
readonly positionId: string;
|
|
2740
3761
|
/**
|
|
2741
3762
|
* true or false
|
|
2742
3763
|
* @type {boolean}
|
|
2743
|
-
* @memberof
|
|
3764
|
+
* @memberof FlexibleLockedApiSetLockedAutoSubscribe
|
|
2744
3765
|
*/
|
|
2745
3766
|
readonly autoSubscribe: boolean;
|
|
2746
3767
|
/**
|
|
2747
3768
|
*
|
|
2748
3769
|
* @type {number}
|
|
2749
|
-
* @memberof
|
|
3770
|
+
* @memberof FlexibleLockedApiSetLockedAutoSubscribe
|
|
2750
3771
|
*/
|
|
2751
3772
|
readonly recvWindow?: number;
|
|
2752
3773
|
}
|
|
2753
3774
|
/**
|
|
2754
|
-
* Request parameters for setLockedProductRedeemOption operation in
|
|
3775
|
+
* Request parameters for setLockedProductRedeemOption operation in FlexibleLockedApi.
|
|
2755
3776
|
* @interface SetLockedProductRedeemOptionRequest
|
|
2756
3777
|
*/
|
|
2757
3778
|
interface SetLockedProductRedeemOptionRequest {
|
|
2758
3779
|
/**
|
|
2759
3780
|
*
|
|
2760
3781
|
* @type {string}
|
|
2761
|
-
* @memberof
|
|
3782
|
+
* @memberof FlexibleLockedApiSetLockedProductRedeemOption
|
|
2762
3783
|
*/
|
|
2763
3784
|
readonly positionId: string;
|
|
2764
3785
|
/**
|
|
2765
3786
|
* `SPOT`,'FLEXIBLE'
|
|
2766
3787
|
* @type {string}
|
|
2767
|
-
* @memberof
|
|
3788
|
+
* @memberof FlexibleLockedApiSetLockedProductRedeemOption
|
|
2768
3789
|
*/
|
|
2769
3790
|
readonly redeemTo: string;
|
|
2770
3791
|
/**
|
|
2771
3792
|
*
|
|
2772
3793
|
* @type {number}
|
|
2773
|
-
* @memberof
|
|
3794
|
+
* @memberof FlexibleLockedApiSetLockedProductRedeemOption
|
|
3795
|
+
*/
|
|
3796
|
+
readonly recvWindow?: number;
|
|
3797
|
+
}
|
|
3798
|
+
/**
|
|
3799
|
+
* Request parameters for simpleAccount operation in FlexibleLockedApi.
|
|
3800
|
+
* @interface SimpleAccountRequest
|
|
3801
|
+
*/
|
|
3802
|
+
interface SimpleAccountRequest {
|
|
3803
|
+
/**
|
|
3804
|
+
*
|
|
3805
|
+
* @type {number}
|
|
3806
|
+
* @memberof FlexibleLockedApiSimpleAccount
|
|
2774
3807
|
*/
|
|
2775
3808
|
readonly recvWindow?: number;
|
|
2776
3809
|
}
|
|
2777
3810
|
/**
|
|
2778
|
-
* Request parameters for subscribeFlexibleProduct operation in
|
|
3811
|
+
* Request parameters for subscribeFlexibleProduct operation in FlexibleLockedApi.
|
|
2779
3812
|
* @interface SubscribeFlexibleProductRequest
|
|
2780
3813
|
*/
|
|
2781
3814
|
interface SubscribeFlexibleProductRequest {
|
|
2782
3815
|
/**
|
|
2783
3816
|
*
|
|
2784
3817
|
* @type {string}
|
|
2785
|
-
* @memberof
|
|
3818
|
+
* @memberof FlexibleLockedApiSubscribeFlexibleProduct
|
|
2786
3819
|
*/
|
|
2787
3820
|
readonly productId: string;
|
|
2788
3821
|
/**
|
|
2789
|
-
*
|
|
3822
|
+
* Amount
|
|
2790
3823
|
* @type {number}
|
|
2791
|
-
* @memberof
|
|
3824
|
+
* @memberof FlexibleLockedApiSubscribeFlexibleProduct
|
|
2792
3825
|
*/
|
|
2793
3826
|
readonly amount: number;
|
|
2794
3827
|
/**
|
|
2795
3828
|
* true or false, default true.
|
|
2796
3829
|
* @type {boolean}
|
|
2797
|
-
* @memberof
|
|
3830
|
+
* @memberof FlexibleLockedApiSubscribeFlexibleProduct
|
|
2798
3831
|
*/
|
|
2799
3832
|
readonly autoSubscribe?: boolean;
|
|
2800
3833
|
/**
|
|
2801
3834
|
* `SPOT`,`FUND`,`ALL`, default `SPOT`
|
|
2802
3835
|
* @type {string}
|
|
2803
|
-
* @memberof
|
|
3836
|
+
* @memberof FlexibleLockedApiSubscribeFlexibleProduct
|
|
2804
3837
|
*/
|
|
2805
3838
|
readonly sourceAccount?: string;
|
|
2806
3839
|
/**
|
|
2807
3840
|
*
|
|
2808
3841
|
* @type {number}
|
|
2809
|
-
* @memberof
|
|
3842
|
+
* @memberof FlexibleLockedApiSubscribeFlexibleProduct
|
|
2810
3843
|
*/
|
|
2811
3844
|
readonly recvWindow?: number;
|
|
2812
3845
|
}
|
|
2813
3846
|
/**
|
|
2814
|
-
* Request parameters for subscribeLockedProduct operation in
|
|
3847
|
+
* Request parameters for subscribeLockedProduct operation in FlexibleLockedApi.
|
|
2815
3848
|
* @interface SubscribeLockedProductRequest
|
|
2816
3849
|
*/
|
|
2817
3850
|
interface SubscribeLockedProductRequest {
|
|
2818
3851
|
/**
|
|
2819
3852
|
*
|
|
2820
3853
|
* @type {string}
|
|
2821
|
-
* @memberof
|
|
3854
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2822
3855
|
*/
|
|
2823
3856
|
readonly projectId: string;
|
|
2824
3857
|
/**
|
|
2825
|
-
*
|
|
3858
|
+
* Amount
|
|
2826
3859
|
* @type {number}
|
|
2827
|
-
* @memberof
|
|
3860
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2828
3861
|
*/
|
|
2829
3862
|
readonly amount: number;
|
|
2830
3863
|
/**
|
|
2831
3864
|
* true or false, default true.
|
|
2832
3865
|
* @type {boolean}
|
|
2833
|
-
* @memberof
|
|
3866
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2834
3867
|
*/
|
|
2835
3868
|
readonly autoSubscribe?: boolean;
|
|
2836
3869
|
/**
|
|
2837
3870
|
* `SPOT`,`FUND`,`ALL`, default `SPOT`
|
|
2838
3871
|
* @type {string}
|
|
2839
|
-
* @memberof
|
|
3872
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2840
3873
|
*/
|
|
2841
3874
|
readonly sourceAccount?: string;
|
|
2842
3875
|
/**
|
|
2843
3876
|
* `SPOT`,`FLEXIBLE`, default `FLEXIBLE`
|
|
2844
3877
|
* @type {string}
|
|
2845
|
-
* @memberof
|
|
3878
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2846
3879
|
*/
|
|
2847
3880
|
readonly redeemTo?: string;
|
|
2848
3881
|
/**
|
|
2849
3882
|
*
|
|
2850
|
-
* @type {number}
|
|
2851
|
-
* @memberof
|
|
2852
|
-
*/
|
|
2853
|
-
readonly recvWindow?: number;
|
|
2854
|
-
}
|
|
2855
|
-
/**
|
|
2856
|
-
* EarnApi - object-oriented interface
|
|
2857
|
-
* @class EarnApi
|
|
2858
|
-
*/
|
|
2859
|
-
declare class EarnApi implements EarnApiInterface {
|
|
2860
|
-
private readonly configuration;
|
|
2861
|
-
private localVarAxiosParamCreator;
|
|
2862
|
-
constructor(configuration: ConfigurationRestAPI);
|
|
2863
|
-
/**
|
|
2864
|
-
* Get Flexible Subscription Preview
|
|
2865
|
-
*
|
|
2866
|
-
* Weight: 150
|
|
2867
|
-
*
|
|
2868
|
-
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
2869
|
-
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2870
|
-
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
|
|
2871
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2872
|
-
* @memberof EarnApi
|
|
2873
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
|
|
2874
|
-
*/
|
|
2875
|
-
getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
|
|
2876
|
-
/**
|
|
2877
|
-
* Get Locked Subscription Preview
|
|
2878
|
-
*
|
|
2879
|
-
* Weight: 150
|
|
2880
|
-
*
|
|
2881
|
-
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
2882
|
-
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
2883
|
-
* @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
|
|
2884
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2885
|
-
* @memberof EarnApi
|
|
2886
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Locked-Subscription-Preview Binance API Documentation}
|
|
2887
|
-
*/
|
|
2888
|
-
getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
|
|
2889
|
-
/**
|
|
2890
|
-
* Redeem Flexible Product
|
|
2891
|
-
*
|
|
2892
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2893
|
-
*
|
|
2894
|
-
* Weight: 1
|
|
2895
|
-
*
|
|
2896
|
-
* @summary Redeem Flexible Product(TRADE)
|
|
2897
|
-
* @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
|
|
2898
|
-
* @returns {Promise<RestApiResponse<RedeemFlexibleProductResponse>>}
|
|
2899
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2900
|
-
* @memberof EarnApi
|
|
2901
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Flexible-Product Binance API Documentation}
|
|
2902
|
-
*/
|
|
2903
|
-
redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
|
|
2904
|
-
/**
|
|
2905
|
-
* Redeem Locked Product
|
|
2906
|
-
*
|
|
2907
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2908
|
-
*
|
|
2909
|
-
* Weight: 1/3s per account
|
|
2910
|
-
*
|
|
2911
|
-
* @summary Redeem Locked Product(TRADE)
|
|
2912
|
-
* @param {RedeemLockedProductRequest} requestParameters Request parameters.
|
|
2913
|
-
* @returns {Promise<RestApiResponse<RedeemLockedProductResponse>>}
|
|
2914
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2915
|
-
* @memberof EarnApi
|
|
2916
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Locked-Product Binance API Documentation}
|
|
2917
|
-
*/
|
|
2918
|
-
redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
|
|
2919
|
-
/**
|
|
2920
|
-
* Set Flexible Auto Subscribe
|
|
2921
|
-
*
|
|
2922
|
-
* Weight: 150
|
|
2923
|
-
*
|
|
2924
|
-
* @summary Set Flexible Auto Subscribe(USER_DATA)
|
|
2925
|
-
* @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
|
|
2926
|
-
* @returns {Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>}
|
|
2927
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2928
|
-
* @memberof EarnApi
|
|
2929
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
|
|
2930
|
-
*/
|
|
2931
|
-
setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
|
|
2932
|
-
/**
|
|
2933
|
-
* Set locked auto subscribe
|
|
2934
|
-
*
|
|
2935
|
-
* Weight: 150
|
|
2936
|
-
*
|
|
2937
|
-
* @summary Set Locked Auto Subscribe(USER_DATA)
|
|
2938
|
-
* @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
|
|
2939
|
-
* @returns {Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>}
|
|
2940
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2941
|
-
* @memberof EarnApi
|
|
2942
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
|
|
2943
|
-
*/
|
|
2944
|
-
setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
|
|
2945
|
-
/**
|
|
2946
|
-
* Set redeem option for Locked product
|
|
2947
|
-
*
|
|
2948
|
-
* Weight: 50
|
|
2949
|
-
*
|
|
2950
|
-
* @summary Set Locked Product Redeem Option(USER_DATA)
|
|
2951
|
-
* @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
|
|
2952
|
-
* @returns {Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>}
|
|
2953
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2954
|
-
* @memberof EarnApi
|
|
2955
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Redeem-Option Binance API Documentation}
|
|
2956
|
-
*/
|
|
2957
|
-
setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
|
|
2958
|
-
/**
|
|
2959
|
-
* Subscribe Flexible Product
|
|
2960
|
-
*
|
|
2961
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2962
|
-
*
|
|
2963
|
-
* Weight: 1
|
|
2964
|
-
*
|
|
2965
|
-
* @summary Subscribe Flexible Product(TRADE)
|
|
2966
|
-
* @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
|
|
2967
|
-
* @returns {Promise<RestApiResponse<SubscribeFlexibleProductResponse>>}
|
|
2968
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2969
|
-
* @memberof EarnApi
|
|
2970
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Flexible-Product Binance API Documentation}
|
|
2971
|
-
*/
|
|
2972
|
-
subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
|
|
2973
|
-
/**
|
|
2974
|
-
* Subscribe Locked Product
|
|
2975
|
-
*
|
|
2976
|
-
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
2977
|
-
*
|
|
2978
|
-
* Weight: 1
|
|
2979
|
-
*
|
|
2980
|
-
* @summary Subscribe Locked Product(TRADE)
|
|
2981
|
-
* @param {SubscribeLockedProductRequest} requestParameters Request parameters.
|
|
2982
|
-
* @returns {Promise<RestApiResponse<SubscribeLockedProductResponse>>}
|
|
2983
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2984
|
-
* @memberof EarnApi
|
|
2985
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Locked-Product Binance API Documentation}
|
|
3883
|
+
* @type {number}
|
|
3884
|
+
* @memberof FlexibleLockedApiSubscribeLockedProduct
|
|
2986
3885
|
*/
|
|
2987
|
-
|
|
3886
|
+
readonly recvWindow?: number;
|
|
2988
3887
|
}
|
|
2989
|
-
|
|
2990
|
-
/**
|
|
2991
|
-
* Binance Simple Earn REST API
|
|
2992
|
-
*
|
|
2993
|
-
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2994
|
-
*
|
|
2995
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2996
|
-
*
|
|
2997
|
-
*
|
|
2998
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2999
|
-
* https://openapi-generator.tech
|
|
3000
|
-
* Do not edit the class manually.
|
|
3001
|
-
*/
|
|
3002
|
-
|
|
3003
3888
|
/**
|
|
3004
|
-
*
|
|
3005
|
-
* @
|
|
3889
|
+
* FlexibleLockedApi - object-oriented interface
|
|
3890
|
+
* @class FlexibleLockedApi
|
|
3006
3891
|
*/
|
|
3007
|
-
|
|
3892
|
+
declare class FlexibleLockedApi implements FlexibleLockedApiInterface {
|
|
3893
|
+
private readonly configuration;
|
|
3894
|
+
private localVarAxiosParamCreator;
|
|
3895
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
3008
3896
|
/**
|
|
3009
3897
|
* Get Collateral Record
|
|
3010
3898
|
*
|
|
@@ -3017,11 +3905,38 @@ interface HistoryApiInterface {
|
|
|
3017
3905
|
*
|
|
3018
3906
|
* @summary Get Collateral Record(USER_DATA)
|
|
3019
3907
|
* @param {GetCollateralRecordRequest} requestParameters Request parameters.
|
|
3020
|
-
*
|
|
3908
|
+
* @returns {Promise<RestApiResponse<GetCollateralRecordResponse>>}
|
|
3021
3909
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3022
|
-
* @memberof
|
|
3910
|
+
* @memberof FlexibleLockedApi
|
|
3911
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Collateral-Record Binance API Documentation}
|
|
3023
3912
|
*/
|
|
3024
3913
|
getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
|
|
3914
|
+
/**
|
|
3915
|
+
* Get Flexible Personal Left Quota
|
|
3916
|
+
*
|
|
3917
|
+
* Weight: 150
|
|
3918
|
+
*
|
|
3919
|
+
* @summary Get Flexible Personal Left Quota(USER_DATA)
|
|
3920
|
+
* @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
3921
|
+
* @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
|
|
3922
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3923
|
+
* @memberof FlexibleLockedApi
|
|
3924
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
|
|
3925
|
+
*/
|
|
3926
|
+
getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
|
|
3927
|
+
/**
|
|
3928
|
+
* Get Flexible Product Position
|
|
3929
|
+
*
|
|
3930
|
+
* Weight: 150
|
|
3931
|
+
*
|
|
3932
|
+
* @summary Get Flexible Product Position(USER_DATA)
|
|
3933
|
+
* @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
|
|
3934
|
+
* @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
|
|
3935
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3936
|
+
* @memberof FlexibleLockedApi
|
|
3937
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Flexible-Product-Position Binance API Documentation}
|
|
3938
|
+
*/
|
|
3939
|
+
getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
|
|
3025
3940
|
/**
|
|
3026
3941
|
* Get Flexible Redemption Record
|
|
3027
3942
|
*
|
|
@@ -3034,9 +3949,10 @@ interface HistoryApiInterface {
|
|
|
3034
3949
|
*
|
|
3035
3950
|
* @summary Get Flexible Redemption Record(USER_DATA)
|
|
3036
3951
|
* @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
|
|
3037
|
-
*
|
|
3952
|
+
* @returns {Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>}
|
|
3038
3953
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3039
|
-
* @memberof
|
|
3954
|
+
* @memberof FlexibleLockedApi
|
|
3955
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Redemption-Record Binance API Documentation}
|
|
3040
3956
|
*/
|
|
3041
3957
|
getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
|
|
3042
3958
|
/**
|
|
@@ -3051,11 +3967,25 @@ interface HistoryApiInterface {
|
|
|
3051
3967
|
*
|
|
3052
3968
|
* @summary Get Flexible Rewards History(USER_DATA)
|
|
3053
3969
|
* @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
|
|
3054
|
-
*
|
|
3970
|
+
* @returns {Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>}
|
|
3055
3971
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3056
|
-
* @memberof
|
|
3972
|
+
* @memberof FlexibleLockedApi
|
|
3973
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Rewards-History Binance API Documentation}
|
|
3057
3974
|
*/
|
|
3058
3975
|
getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
|
|
3976
|
+
/**
|
|
3977
|
+
* Get Flexible Subscription Preview
|
|
3978
|
+
*
|
|
3979
|
+
* Weight: 150
|
|
3980
|
+
*
|
|
3981
|
+
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
3982
|
+
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
3983
|
+
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
|
|
3984
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3985
|
+
* @memberof FlexibleLockedApi
|
|
3986
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
|
|
3987
|
+
*/
|
|
3988
|
+
getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
|
|
3059
3989
|
/**
|
|
3060
3990
|
* Get Flexible Subscription Record
|
|
3061
3991
|
*
|
|
@@ -3068,11 +3998,38 @@ interface HistoryApiInterface {
|
|
|
3068
3998
|
*
|
|
3069
3999
|
* @summary Get Flexible Subscription Record(USER_DATA)
|
|
3070
4000
|
* @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
|
|
3071
|
-
*
|
|
4001
|
+
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>}
|
|
3072
4002
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3073
|
-
* @memberof
|
|
4003
|
+
* @memberof FlexibleLockedApi
|
|
4004
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Subscription-Record Binance API Documentation}
|
|
3074
4005
|
*/
|
|
3075
4006
|
getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
|
|
4007
|
+
/**
|
|
4008
|
+
* Get Locked Personal Left Quota
|
|
4009
|
+
*
|
|
4010
|
+
* Weight: 150
|
|
4011
|
+
*
|
|
4012
|
+
* @summary Get Locked Personal Left Quota(USER_DATA)
|
|
4013
|
+
* @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
4014
|
+
* @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
|
|
4015
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4016
|
+
* @memberof FlexibleLockedApi
|
|
4017
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
|
|
4018
|
+
*/
|
|
4019
|
+
getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
|
|
4020
|
+
/**
|
|
4021
|
+
* Get Locked Product Position
|
|
4022
|
+
*
|
|
4023
|
+
* Weight: 150
|
|
4024
|
+
*
|
|
4025
|
+
* @summary Get Locked Product Position
|
|
4026
|
+
* @param {GetLockedProductPositionRequest} requestParameters Request parameters.
|
|
4027
|
+
* @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
|
|
4028
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4029
|
+
* @memberof FlexibleLockedApi
|
|
4030
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Locked-Product-Position Binance API Documentation}
|
|
4031
|
+
*/
|
|
4032
|
+
getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
|
|
3076
4033
|
/**
|
|
3077
4034
|
* Get Locked Redemption Record
|
|
3078
4035
|
*
|
|
@@ -3085,9 +4042,10 @@ interface HistoryApiInterface {
|
|
|
3085
4042
|
*
|
|
3086
4043
|
* @summary Get Locked Redemption Record(USER_DATA)
|
|
3087
4044
|
* @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
|
|
3088
|
-
*
|
|
4045
|
+
* @returns {Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>}
|
|
3089
4046
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3090
|
-
* @memberof
|
|
4047
|
+
* @memberof FlexibleLockedApi
|
|
4048
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Redemption-Record Binance API Documentation}
|
|
3091
4049
|
*/
|
|
3092
4050
|
getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
|
|
3093
4051
|
/**
|
|
@@ -3102,11 +4060,25 @@ interface HistoryApiInterface {
|
|
|
3102
4060
|
*
|
|
3103
4061
|
* @summary Get Locked Rewards History(USER_DATA)
|
|
3104
4062
|
* @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
|
|
3105
|
-
*
|
|
4063
|
+
* @returns {Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>}
|
|
3106
4064
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3107
|
-
* @memberof
|
|
4065
|
+
* @memberof FlexibleLockedApi
|
|
4066
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Rewards-History Binance API Documentation}
|
|
3108
4067
|
*/
|
|
3109
4068
|
getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
|
|
4069
|
+
/**
|
|
4070
|
+
* Get Locked Subscription Preview
|
|
4071
|
+
*
|
|
4072
|
+
* Weight: 150
|
|
4073
|
+
*
|
|
4074
|
+
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
4075
|
+
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
4076
|
+
* @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
|
|
4077
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4078
|
+
* @memberof FlexibleLockedApi
|
|
4079
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Get-Locked-Subscription-Preview Binance API Documentation}
|
|
4080
|
+
*/
|
|
4081
|
+
getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
|
|
3110
4082
|
/**
|
|
3111
4083
|
* Get Locked Subscription Record
|
|
3112
4084
|
*
|
|
@@ -3119,9 +4091,10 @@ interface HistoryApiInterface {
|
|
|
3119
4091
|
*
|
|
3120
4092
|
* @summary Get Locked Subscription Record(USER_DATA)
|
|
3121
4093
|
* @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
|
|
3122
|
-
*
|
|
4094
|
+
* @returns {Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>}
|
|
3123
4095
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3124
|
-
* @memberof
|
|
4096
|
+
* @memberof FlexibleLockedApi
|
|
4097
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Subscription-Record Binance API Documentation}
|
|
3125
4098
|
*/
|
|
3126
4099
|
getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
|
|
3127
4100
|
/**
|
|
@@ -3136,422 +4109,689 @@ interface HistoryApiInterface {
|
|
|
3136
4109
|
*
|
|
3137
4110
|
* @summary Get Rate History(USER_DATA)
|
|
3138
4111
|
* @param {GetRateHistoryRequest} requestParameters Request parameters.
|
|
3139
|
-
*
|
|
4112
|
+
* @returns {Promise<RestApiResponse<GetRateHistoryResponse>>}
|
|
3140
4113
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3141
|
-
* @memberof
|
|
4114
|
+
* @memberof FlexibleLockedApi
|
|
4115
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Rate-History Binance API Documentation}
|
|
3142
4116
|
*/
|
|
3143
4117
|
getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
|
|
3144
|
-
}
|
|
3145
|
-
/**
|
|
3146
|
-
* Request parameters for getCollateralRecord operation in HistoryApi.
|
|
3147
|
-
* @interface GetCollateralRecordRequest
|
|
3148
|
-
*/
|
|
3149
|
-
interface GetCollateralRecordRequest {
|
|
3150
4118
|
/**
|
|
4119
|
+
* Get available Simple Earn flexible product list
|
|
3151
4120
|
*
|
|
3152
|
-
*
|
|
3153
|
-
*
|
|
4121
|
+
* Weight: 150
|
|
4122
|
+
*
|
|
4123
|
+
* @summary Get Simple Earn Flexible Product List(USER_DATA)
|
|
4124
|
+
* @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
|
|
4125
|
+
* @returns {Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>}
|
|
4126
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4127
|
+
* @memberof FlexibleLockedApi
|
|
4128
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
|
|
3154
4129
|
*/
|
|
3155
|
-
|
|
4130
|
+
getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
|
|
3156
4131
|
/**
|
|
4132
|
+
* Get Simple Earn Locked Product List
|
|
3157
4133
|
*
|
|
3158
|
-
*
|
|
3159
|
-
*
|
|
4134
|
+
* Get available Simple Earn locked product list
|
|
4135
|
+
*
|
|
4136
|
+
* Weight: 150
|
|
4137
|
+
*
|
|
4138
|
+
* @summary Get Simple Earn Locked Product List(USER_DATA)
|
|
4139
|
+
* @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
|
|
4140
|
+
* @returns {Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>}
|
|
4141
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4142
|
+
* @memberof FlexibleLockedApi
|
|
4143
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
|
|
3160
4144
|
*/
|
|
3161
|
-
|
|
4145
|
+
getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
|
|
3162
4146
|
/**
|
|
4147
|
+
* Redeem Flexible Product
|
|
3163
4148
|
*
|
|
3164
|
-
*
|
|
3165
|
-
*
|
|
4149
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
4150
|
+
*
|
|
4151
|
+
* Weight: 1
|
|
4152
|
+
*
|
|
4153
|
+
* @summary Redeem Flexible Product(TRADE)
|
|
4154
|
+
* @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
|
|
4155
|
+
* @returns {Promise<RestApiResponse<RedeemFlexibleProductResponse>>}
|
|
4156
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4157
|
+
* @memberof FlexibleLockedApi
|
|
4158
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Redeem-Flexible-Product Binance API Documentation}
|
|
3166
4159
|
*/
|
|
3167
|
-
|
|
4160
|
+
redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
|
|
3168
4161
|
/**
|
|
3169
|
-
*
|
|
3170
|
-
*
|
|
3171
|
-
*
|
|
4162
|
+
* Redeem Locked Product
|
|
4163
|
+
*
|
|
4164
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
4165
|
+
*
|
|
4166
|
+
* Weight: 1/3s per account
|
|
4167
|
+
*
|
|
4168
|
+
* @summary Redeem Locked Product(TRADE)
|
|
4169
|
+
* @param {RedeemLockedProductRequest} requestParameters Request parameters.
|
|
4170
|
+
* @returns {Promise<RestApiResponse<RedeemLockedProductResponse>>}
|
|
4171
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4172
|
+
* @memberof FlexibleLockedApi
|
|
4173
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Redeem-Locked-Product Binance API Documentation}
|
|
3172
4174
|
*/
|
|
3173
|
-
|
|
4175
|
+
redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
|
|
3174
4176
|
/**
|
|
3175
|
-
*
|
|
3176
|
-
*
|
|
3177
|
-
*
|
|
4177
|
+
* Set Flexible Auto Subscribe
|
|
4178
|
+
*
|
|
4179
|
+
* Weight: 150
|
|
4180
|
+
*
|
|
4181
|
+
* @summary Set Flexible Auto Subscribe(USER_DATA)
|
|
4182
|
+
* @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
|
|
4183
|
+
* @returns {Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>}
|
|
4184
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4185
|
+
* @memberof FlexibleLockedApi
|
|
4186
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
|
|
3178
4187
|
*/
|
|
3179
|
-
|
|
4188
|
+
setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
|
|
3180
4189
|
/**
|
|
4190
|
+
* Set locked auto subscribe
|
|
3181
4191
|
*
|
|
3182
|
-
*
|
|
3183
|
-
*
|
|
4192
|
+
* Weight: 150
|
|
4193
|
+
*
|
|
4194
|
+
* @summary Set Locked Auto Subscribe(USER_DATA)
|
|
4195
|
+
* @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
|
|
4196
|
+
* @returns {Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>}
|
|
4197
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4198
|
+
* @memberof FlexibleLockedApi
|
|
4199
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
|
|
3184
4200
|
*/
|
|
3185
|
-
|
|
4201
|
+
setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
|
|
4202
|
+
/**
|
|
4203
|
+
* Set redeem option for Locked product
|
|
4204
|
+
*
|
|
4205
|
+
* Weight: 50
|
|
4206
|
+
*
|
|
4207
|
+
* @summary Set Locked Product Redeem Option(USER_DATA)
|
|
4208
|
+
* @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
|
|
4209
|
+
* @returns {Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>}
|
|
4210
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4211
|
+
* @memberof FlexibleLockedApi
|
|
4212
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Locked-Redeem-Option Binance API Documentation}
|
|
4213
|
+
*/
|
|
4214
|
+
setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
|
|
4215
|
+
/**
|
|
4216
|
+
* Simple Account query
|
|
4217
|
+
*
|
|
4218
|
+
* Weight: 150
|
|
4219
|
+
*
|
|
4220
|
+
* @summary Simple Account(USER_DATA)
|
|
4221
|
+
* @param {SimpleAccountRequest} requestParameters Request parameters.
|
|
4222
|
+
* @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
|
|
4223
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4224
|
+
* @memberof FlexibleLockedApi
|
|
4225
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Simple-Account Binance API Documentation}
|
|
4226
|
+
*/
|
|
4227
|
+
simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
|
|
4228
|
+
/**
|
|
4229
|
+
* Subscribe Flexible Product
|
|
4230
|
+
*
|
|
4231
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
4232
|
+
*
|
|
4233
|
+
* Weight: 1
|
|
4234
|
+
*
|
|
4235
|
+
* @summary Subscribe Flexible Product(TRADE)
|
|
4236
|
+
* @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
|
|
4237
|
+
* @returns {Promise<RestApiResponse<SubscribeFlexibleProductResponse>>}
|
|
4238
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4239
|
+
* @memberof FlexibleLockedApi
|
|
4240
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Subscribe-Flexible-Product Binance API Documentation}
|
|
4241
|
+
*/
|
|
4242
|
+
subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
|
|
4243
|
+
/**
|
|
4244
|
+
* Subscribe Locked Product
|
|
4245
|
+
*
|
|
4246
|
+
* You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
|
|
4247
|
+
*
|
|
4248
|
+
* Weight: 1
|
|
4249
|
+
*
|
|
4250
|
+
* @summary Subscribe Locked Product(TRADE)
|
|
4251
|
+
* @param {SubscribeLockedProductRequest} requestParameters Request parameters.
|
|
4252
|
+
* @returns {Promise<RestApiResponse<SubscribeLockedProductResponse>>}
|
|
4253
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4254
|
+
* @memberof FlexibleLockedApi
|
|
4255
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Subscribe-Locked-Product Binance API Documentation}
|
|
4256
|
+
*/
|
|
4257
|
+
subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
|
|
3186
4258
|
}
|
|
4259
|
+
|
|
3187
4260
|
/**
|
|
3188
|
-
*
|
|
3189
|
-
*
|
|
4261
|
+
* Binance Simple Earn REST API
|
|
4262
|
+
*
|
|
4263
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
4264
|
+
*
|
|
4265
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4266
|
+
*
|
|
4267
|
+
*
|
|
4268
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4269
|
+
* https://openapi-generator.tech
|
|
4270
|
+
* Do not edit the class manually.
|
|
3190
4271
|
*/
|
|
3191
|
-
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* RwusdApi - interface
|
|
4275
|
+
* @interface RwusdApi
|
|
4276
|
+
*/
|
|
4277
|
+
interface RwusdApiInterface {
|
|
3192
4278
|
/**
|
|
4279
|
+
* Get RWUSD account information.
|
|
3193
4280
|
*
|
|
3194
|
-
*
|
|
3195
|
-
*
|
|
4281
|
+
* Weight: 150
|
|
4282
|
+
*
|
|
4283
|
+
* @summary Get RWUSD Account (USER_DATA)
|
|
4284
|
+
* @param {GetRwusdAccountRequest} requestParameters Request parameters.
|
|
4285
|
+
*
|
|
4286
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4287
|
+
* @memberof RwusdApiInterface
|
|
4288
|
+
*/
|
|
4289
|
+
getRwusdAccount(requestParameters?: GetRwusdAccountRequest): Promise<RestApiResponse<GetRwusdAccountResponse>>;
|
|
4290
|
+
/**
|
|
4291
|
+
* Get RWUSD quota details including subscription quota, fast redemption quota, and standard redemption quota.
|
|
4292
|
+
*
|
|
4293
|
+
* Weight: 150
|
|
4294
|
+
*
|
|
4295
|
+
* @summary Get RWUSD Quota Details (USER_DATA)
|
|
4296
|
+
* @param {GetRwusdQuotaDetailsRequest} requestParameters Request parameters.
|
|
4297
|
+
*
|
|
4298
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4299
|
+
* @memberof RwusdApiInterface
|
|
3196
4300
|
*/
|
|
3197
|
-
|
|
4301
|
+
getRwusdQuotaDetails(requestParameters?: GetRwusdQuotaDetailsRequest): Promise<RestApiResponse<GetRwusdQuotaDetailsResponse>>;
|
|
3198
4302
|
/**
|
|
4303
|
+
* Get RWUSD rate history sorted by descending order.
|
|
3199
4304
|
*
|
|
3200
|
-
*
|
|
3201
|
-
*
|
|
4305
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4306
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4307
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4308
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4309
|
+
*
|
|
4310
|
+
* Weight: 150
|
|
4311
|
+
*
|
|
4312
|
+
* @summary Get RWUSD Rate History (USER_DATA)
|
|
4313
|
+
* @param {GetRwusdRateHistoryRequest} requestParameters Request parameters.
|
|
4314
|
+
*
|
|
4315
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4316
|
+
* @memberof RwusdApiInterface
|
|
3202
4317
|
*/
|
|
3203
|
-
|
|
4318
|
+
getRwusdRateHistory(requestParameters?: GetRwusdRateHistoryRequest): Promise<RestApiResponse<GetRwusdRateHistoryResponse>>;
|
|
3204
4319
|
/**
|
|
4320
|
+
* Get RWUSD redemption history.
|
|
3205
4321
|
*
|
|
3206
|
-
*
|
|
3207
|
-
*
|
|
4322
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4323
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4324
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4325
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4326
|
+
*
|
|
4327
|
+
* Weight: 150
|
|
4328
|
+
*
|
|
4329
|
+
* @summary Get RWUSD Redemption History (USER_DATA)
|
|
4330
|
+
* @param {GetRwusdRedemptionHistoryRequest} requestParameters Request parameters.
|
|
4331
|
+
*
|
|
4332
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4333
|
+
* @memberof RwusdApiInterface
|
|
3208
4334
|
*/
|
|
3209
|
-
|
|
4335
|
+
getRwusdRedemptionHistory(requestParameters?: GetRwusdRedemptionHistoryRequest): Promise<RestApiResponse<GetRwusdRedemptionHistoryResponse>>;
|
|
3210
4336
|
/**
|
|
4337
|
+
* Get RWUSD rewards history.
|
|
3211
4338
|
*
|
|
3212
|
-
*
|
|
3213
|
-
*
|
|
4339
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4340
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4341
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4342
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4343
|
+
*
|
|
4344
|
+
* Weight: 150
|
|
4345
|
+
*
|
|
4346
|
+
* @summary Get RWUSD Rewards History (USER_DATA)
|
|
4347
|
+
* @param {GetRwusdRewardsHistoryRequest} requestParameters Request parameters.
|
|
4348
|
+
*
|
|
4349
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4350
|
+
* @memberof RwusdApiInterface
|
|
3214
4351
|
*/
|
|
3215
|
-
|
|
4352
|
+
getRwusdRewardsHistory(requestParameters?: GetRwusdRewardsHistoryRequest): Promise<RestApiResponse<GetRwusdRewardsHistoryResponse>>;
|
|
3216
4353
|
/**
|
|
4354
|
+
* Get RWUSD subscription history
|
|
3217
4355
|
*
|
|
3218
|
-
*
|
|
3219
|
-
*
|
|
4356
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4357
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4358
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4359
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time advanced by one month, and data between `startTime` and `endTime` will be returned.
|
|
4360
|
+
*
|
|
4361
|
+
* Weight: 150
|
|
4362
|
+
*
|
|
4363
|
+
* @summary Get RWUSD subscription history(USER_DATA)
|
|
4364
|
+
* @param {GetRwusdSubscriptionHistoryRequest} requestParameters Request parameters.
|
|
4365
|
+
*
|
|
4366
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4367
|
+
* @memberof RwusdApiInterface
|
|
3220
4368
|
*/
|
|
3221
|
-
|
|
4369
|
+
getRwusdSubscriptionHistory(requestParameters?: GetRwusdSubscriptionHistoryRequest): Promise<RestApiResponse<GetRwusdSubscriptionHistoryResponse>>;
|
|
3222
4370
|
/**
|
|
3223
|
-
*
|
|
3224
|
-
*
|
|
3225
|
-
*
|
|
4371
|
+
* Redeem RWUSD to USDC
|
|
4372
|
+
*
|
|
4373
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4374
|
+
*
|
|
4375
|
+
* Weight: 150
|
|
4376
|
+
*
|
|
4377
|
+
* @summary Redeem RWUSD(TRADE)
|
|
4378
|
+
* @param {RedeemRwusdRequest} requestParameters Request parameters.
|
|
4379
|
+
*
|
|
4380
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4381
|
+
* @memberof RwusdApiInterface
|
|
3226
4382
|
*/
|
|
3227
|
-
|
|
4383
|
+
redeemRwusd(requestParameters: RedeemRwusdRequest): Promise<RestApiResponse<RedeemRwusdResponse>>;
|
|
3228
4384
|
/**
|
|
3229
|
-
*
|
|
3230
|
-
*
|
|
3231
|
-
*
|
|
4385
|
+
* Subscribe RWUSD
|
|
4386
|
+
*
|
|
4387
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4388
|
+
*
|
|
4389
|
+
* Weight: 150
|
|
4390
|
+
*
|
|
4391
|
+
* @summary Subscribe RWUSD(TRADE)
|
|
4392
|
+
* @param {SubscribeRwusdRequest} requestParameters Request parameters.
|
|
4393
|
+
*
|
|
4394
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4395
|
+
* @memberof RwusdApiInterface
|
|
3232
4396
|
*/
|
|
3233
|
-
|
|
4397
|
+
subscribeRwusd(requestParameters: SubscribeRwusdRequest): Promise<RestApiResponse<SubscribeRwusdResponse>>;
|
|
4398
|
+
}
|
|
4399
|
+
/**
|
|
4400
|
+
* Request parameters for getRwusdAccount operation in RwusdApi.
|
|
4401
|
+
* @interface GetRwusdAccountRequest
|
|
4402
|
+
*/
|
|
4403
|
+
interface GetRwusdAccountRequest {
|
|
3234
4404
|
/**
|
|
3235
4405
|
*
|
|
3236
4406
|
* @type {number}
|
|
3237
|
-
* @memberof
|
|
4407
|
+
* @memberof RwusdApiGetRwusdAccount
|
|
3238
4408
|
*/
|
|
3239
4409
|
readonly recvWindow?: number;
|
|
3240
4410
|
}
|
|
3241
4411
|
/**
|
|
3242
|
-
* Request parameters for
|
|
3243
|
-
* @interface
|
|
4412
|
+
* Request parameters for getRwusdQuotaDetails operation in RwusdApi.
|
|
4413
|
+
* @interface GetRwusdQuotaDetailsRequest
|
|
3244
4414
|
*/
|
|
3245
|
-
interface
|
|
3246
|
-
/**
|
|
3247
|
-
* `BONUS` - Bonus tiered APR, `REALTIME` Real-time APR, `REWARDS` Historical rewards,`ALL`(set to default)
|
|
3248
|
-
* @type {string}
|
|
3249
|
-
* @memberof HistoryApiGetFlexibleRewardsHistory
|
|
3250
|
-
*/
|
|
3251
|
-
readonly type: string;
|
|
3252
|
-
/**
|
|
3253
|
-
*
|
|
3254
|
-
* @type {string}
|
|
3255
|
-
* @memberof HistoryApiGetFlexibleRewardsHistory
|
|
3256
|
-
*/
|
|
3257
|
-
readonly productId?: string;
|
|
4415
|
+
interface GetRwusdQuotaDetailsRequest {
|
|
3258
4416
|
/**
|
|
3259
4417
|
*
|
|
3260
|
-
* @type {
|
|
3261
|
-
* @memberof
|
|
4418
|
+
* @type {number}
|
|
4419
|
+
* @memberof RwusdApiGetRwusdQuotaDetails
|
|
3262
4420
|
*/
|
|
3263
|
-
readonly
|
|
4421
|
+
readonly recvWindow?: number;
|
|
4422
|
+
}
|
|
4423
|
+
/**
|
|
4424
|
+
* Request parameters for getRwusdRateHistory operation in RwusdApi.
|
|
4425
|
+
* @interface GetRwusdRateHistoryRequest
|
|
4426
|
+
*/
|
|
4427
|
+
interface GetRwusdRateHistoryRequest {
|
|
3264
4428
|
/**
|
|
3265
4429
|
*
|
|
3266
4430
|
* @type {number}
|
|
3267
|
-
* @memberof
|
|
4431
|
+
* @memberof RwusdApiGetRwusdRateHistory
|
|
3268
4432
|
*/
|
|
3269
4433
|
readonly startTime?: number;
|
|
3270
4434
|
/**
|
|
3271
4435
|
*
|
|
3272
4436
|
* @type {number}
|
|
3273
|
-
* @memberof
|
|
4437
|
+
* @memberof RwusdApiGetRwusdRateHistory
|
|
3274
4438
|
*/
|
|
3275
4439
|
readonly endTime?: number;
|
|
3276
4440
|
/**
|
|
3277
4441
|
* Currently querying the page. Start from 1. Default:1
|
|
3278
4442
|
* @type {number}
|
|
3279
|
-
* @memberof
|
|
4443
|
+
* @memberof RwusdApiGetRwusdRateHistory
|
|
3280
4444
|
*/
|
|
3281
4445
|
readonly current?: number;
|
|
3282
4446
|
/**
|
|
3283
4447
|
* Default:10, Max:100
|
|
3284
4448
|
* @type {number}
|
|
3285
|
-
* @memberof
|
|
4449
|
+
* @memberof RwusdApiGetRwusdRateHistory
|
|
3286
4450
|
*/
|
|
3287
4451
|
readonly size?: number;
|
|
3288
4452
|
/**
|
|
3289
4453
|
*
|
|
3290
4454
|
* @type {number}
|
|
3291
|
-
* @memberof
|
|
4455
|
+
* @memberof RwusdApiGetRwusdRateHistory
|
|
3292
4456
|
*/
|
|
3293
4457
|
readonly recvWindow?: number;
|
|
3294
4458
|
}
|
|
3295
4459
|
/**
|
|
3296
|
-
* Request parameters for
|
|
3297
|
-
* @interface
|
|
4460
|
+
* Request parameters for getRwusdRedemptionHistory operation in RwusdApi.
|
|
4461
|
+
* @interface GetRwusdRedemptionHistoryRequest
|
|
3298
4462
|
*/
|
|
3299
|
-
interface
|
|
3300
|
-
/**
|
|
3301
|
-
*
|
|
3302
|
-
* @type {string}
|
|
3303
|
-
* @memberof HistoryApiGetFlexibleSubscriptionRecord
|
|
3304
|
-
*/
|
|
3305
|
-
readonly productId?: string;
|
|
3306
|
-
/**
|
|
3307
|
-
*
|
|
3308
|
-
* @type {string}
|
|
3309
|
-
* @memberof HistoryApiGetFlexibleSubscriptionRecord
|
|
3310
|
-
*/
|
|
3311
|
-
readonly purchaseId?: string;
|
|
3312
|
-
/**
|
|
3313
|
-
*
|
|
3314
|
-
* @type {string}
|
|
3315
|
-
* @memberof HistoryApiGetFlexibleSubscriptionRecord
|
|
3316
|
-
*/
|
|
3317
|
-
readonly asset?: string;
|
|
4463
|
+
interface GetRwusdRedemptionHistoryRequest {
|
|
3318
4464
|
/**
|
|
3319
4465
|
*
|
|
3320
4466
|
* @type {number}
|
|
3321
|
-
* @memberof
|
|
4467
|
+
* @memberof RwusdApiGetRwusdRedemptionHistory
|
|
3322
4468
|
*/
|
|
3323
4469
|
readonly startTime?: number;
|
|
3324
4470
|
/**
|
|
3325
4471
|
*
|
|
3326
4472
|
* @type {number}
|
|
3327
|
-
* @memberof
|
|
4473
|
+
* @memberof RwusdApiGetRwusdRedemptionHistory
|
|
3328
4474
|
*/
|
|
3329
4475
|
readonly endTime?: number;
|
|
3330
4476
|
/**
|
|
3331
4477
|
* Currently querying the page. Start from 1. Default:1
|
|
3332
4478
|
* @type {number}
|
|
3333
|
-
* @memberof
|
|
4479
|
+
* @memberof RwusdApiGetRwusdRedemptionHistory
|
|
3334
4480
|
*/
|
|
3335
4481
|
readonly current?: number;
|
|
3336
4482
|
/**
|
|
3337
4483
|
* Default:10, Max:100
|
|
3338
4484
|
* @type {number}
|
|
3339
|
-
* @memberof
|
|
4485
|
+
* @memberof RwusdApiGetRwusdRedemptionHistory
|
|
3340
4486
|
*/
|
|
3341
4487
|
readonly size?: number;
|
|
3342
4488
|
/**
|
|
3343
4489
|
*
|
|
3344
4490
|
* @type {number}
|
|
3345
|
-
* @memberof
|
|
4491
|
+
* @memberof RwusdApiGetRwusdRedemptionHistory
|
|
3346
4492
|
*/
|
|
3347
4493
|
readonly recvWindow?: number;
|
|
3348
4494
|
}
|
|
3349
4495
|
/**
|
|
3350
|
-
* Request parameters for
|
|
3351
|
-
* @interface
|
|
4496
|
+
* Request parameters for getRwusdRewardsHistory operation in RwusdApi.
|
|
4497
|
+
* @interface GetRwusdRewardsHistoryRequest
|
|
3352
4498
|
*/
|
|
3353
|
-
interface
|
|
3354
|
-
/**
|
|
3355
|
-
*
|
|
3356
|
-
* @type {number}
|
|
3357
|
-
* @memberof HistoryApiGetLockedRedemptionRecord
|
|
3358
|
-
*/
|
|
3359
|
-
readonly positionId?: number;
|
|
3360
|
-
/**
|
|
3361
|
-
*
|
|
3362
|
-
* @type {string}
|
|
3363
|
-
* @memberof HistoryApiGetLockedRedemptionRecord
|
|
3364
|
-
*/
|
|
3365
|
-
readonly redeemId?: string;
|
|
3366
|
-
/**
|
|
3367
|
-
*
|
|
3368
|
-
* @type {string}
|
|
3369
|
-
* @memberof HistoryApiGetLockedRedemptionRecord
|
|
3370
|
-
*/
|
|
3371
|
-
readonly asset?: string;
|
|
4499
|
+
interface GetRwusdRewardsHistoryRequest {
|
|
3372
4500
|
/**
|
|
3373
4501
|
*
|
|
3374
4502
|
* @type {number}
|
|
3375
|
-
* @memberof
|
|
4503
|
+
* @memberof RwusdApiGetRwusdRewardsHistory
|
|
3376
4504
|
*/
|
|
3377
4505
|
readonly startTime?: number;
|
|
3378
4506
|
/**
|
|
3379
4507
|
*
|
|
3380
4508
|
* @type {number}
|
|
3381
|
-
* @memberof
|
|
4509
|
+
* @memberof RwusdApiGetRwusdRewardsHistory
|
|
3382
4510
|
*/
|
|
3383
4511
|
readonly endTime?: number;
|
|
3384
4512
|
/**
|
|
3385
4513
|
* Currently querying the page. Start from 1. Default:1
|
|
3386
4514
|
* @type {number}
|
|
3387
|
-
* @memberof
|
|
4515
|
+
* @memberof RwusdApiGetRwusdRewardsHistory
|
|
3388
4516
|
*/
|
|
3389
4517
|
readonly current?: number;
|
|
3390
4518
|
/**
|
|
3391
4519
|
* Default:10, Max:100
|
|
3392
4520
|
* @type {number}
|
|
3393
|
-
* @memberof
|
|
4521
|
+
* @memberof RwusdApiGetRwusdRewardsHistory
|
|
3394
4522
|
*/
|
|
3395
4523
|
readonly size?: number;
|
|
3396
4524
|
/**
|
|
3397
4525
|
*
|
|
3398
4526
|
* @type {number}
|
|
3399
|
-
* @memberof
|
|
4527
|
+
* @memberof RwusdApiGetRwusdRewardsHistory
|
|
3400
4528
|
*/
|
|
3401
4529
|
readonly recvWindow?: number;
|
|
3402
4530
|
}
|
|
3403
4531
|
/**
|
|
3404
|
-
* Request parameters for
|
|
3405
|
-
* @interface
|
|
4532
|
+
* Request parameters for getRwusdSubscriptionHistory operation in RwusdApi.
|
|
4533
|
+
* @interface GetRwusdSubscriptionHistoryRequest
|
|
3406
4534
|
*/
|
|
3407
|
-
interface
|
|
3408
|
-
/**
|
|
3409
|
-
*
|
|
3410
|
-
* @type {number}
|
|
3411
|
-
* @memberof HistoryApiGetLockedRewardsHistory
|
|
3412
|
-
*/
|
|
3413
|
-
readonly positionId?: number;
|
|
4535
|
+
interface GetRwusdSubscriptionHistoryRequest {
|
|
3414
4536
|
/**
|
|
3415
|
-
*
|
|
4537
|
+
* USDC or USDT
|
|
3416
4538
|
* @type {string}
|
|
3417
|
-
* @memberof
|
|
4539
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3418
4540
|
*/
|
|
3419
4541
|
readonly asset?: string;
|
|
3420
4542
|
/**
|
|
3421
4543
|
*
|
|
3422
4544
|
* @type {number}
|
|
3423
|
-
* @memberof
|
|
4545
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3424
4546
|
*/
|
|
3425
4547
|
readonly startTime?: number;
|
|
3426
4548
|
/**
|
|
3427
4549
|
*
|
|
3428
4550
|
* @type {number}
|
|
3429
|
-
* @memberof
|
|
4551
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3430
4552
|
*/
|
|
3431
4553
|
readonly endTime?: number;
|
|
3432
4554
|
/**
|
|
3433
4555
|
* Currently querying the page. Start from 1. Default:1
|
|
3434
4556
|
* @type {number}
|
|
3435
|
-
* @memberof
|
|
4557
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3436
4558
|
*/
|
|
3437
4559
|
readonly current?: number;
|
|
3438
4560
|
/**
|
|
3439
4561
|
* Default:10, Max:100
|
|
3440
4562
|
* @type {number}
|
|
3441
|
-
* @memberof
|
|
4563
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3442
4564
|
*/
|
|
3443
4565
|
readonly size?: number;
|
|
3444
4566
|
/**
|
|
3445
4567
|
*
|
|
3446
4568
|
* @type {number}
|
|
3447
|
-
* @memberof
|
|
4569
|
+
* @memberof RwusdApiGetRwusdSubscriptionHistory
|
|
3448
4570
|
*/
|
|
3449
4571
|
readonly recvWindow?: number;
|
|
3450
4572
|
}
|
|
3451
4573
|
/**
|
|
3452
|
-
* Request parameters for
|
|
3453
|
-
* @interface
|
|
4574
|
+
* Request parameters for redeemRwusd operation in RwusdApi.
|
|
4575
|
+
* @interface RedeemRwusdRequest
|
|
3454
4576
|
*/
|
|
3455
|
-
interface
|
|
4577
|
+
interface RedeemRwusdRequest {
|
|
3456
4578
|
/**
|
|
3457
|
-
*
|
|
3458
|
-
* @type {
|
|
3459
|
-
* @memberof
|
|
4579
|
+
* Amount
|
|
4580
|
+
* @type {number}
|
|
4581
|
+
* @memberof RwusdApiRedeemRwusd
|
|
3460
4582
|
*/
|
|
3461
|
-
readonly
|
|
4583
|
+
readonly amount: number;
|
|
3462
4584
|
/**
|
|
3463
|
-
*
|
|
4585
|
+
* FAST or STANDARD, defaults to STANDARD
|
|
3464
4586
|
* @type {string}
|
|
3465
|
-
* @memberof
|
|
3466
|
-
*/
|
|
3467
|
-
readonly asset?: string;
|
|
3468
|
-
/**
|
|
3469
|
-
*
|
|
3470
|
-
* @type {number}
|
|
3471
|
-
* @memberof HistoryApiGetLockedSubscriptionRecord
|
|
4587
|
+
* @memberof RwusdApiRedeemRwusd
|
|
3472
4588
|
*/
|
|
3473
|
-
readonly
|
|
4589
|
+
readonly type: string;
|
|
3474
4590
|
/**
|
|
3475
4591
|
*
|
|
3476
4592
|
* @type {number}
|
|
3477
|
-
* @memberof
|
|
4593
|
+
* @memberof RwusdApiRedeemRwusd
|
|
3478
4594
|
*/
|
|
3479
|
-
readonly
|
|
4595
|
+
readonly recvWindow?: number;
|
|
4596
|
+
}
|
|
4597
|
+
/**
|
|
4598
|
+
* Request parameters for subscribeRwusd operation in RwusdApi.
|
|
4599
|
+
* @interface SubscribeRwusdRequest
|
|
4600
|
+
*/
|
|
4601
|
+
interface SubscribeRwusdRequest {
|
|
3480
4602
|
/**
|
|
3481
|
-
*
|
|
3482
|
-
* @type {
|
|
3483
|
-
* @memberof
|
|
4603
|
+
* USDT or USDC (whichever is eligible)
|
|
4604
|
+
* @type {string}
|
|
4605
|
+
* @memberof RwusdApiSubscribeRwusd
|
|
3484
4606
|
*/
|
|
3485
|
-
readonly
|
|
4607
|
+
readonly asset: string;
|
|
3486
4608
|
/**
|
|
3487
|
-
*
|
|
4609
|
+
* Amount
|
|
3488
4610
|
* @type {number}
|
|
3489
|
-
* @memberof
|
|
4611
|
+
* @memberof RwusdApiSubscribeRwusd
|
|
3490
4612
|
*/
|
|
3491
|
-
readonly
|
|
4613
|
+
readonly amount: number;
|
|
3492
4614
|
/**
|
|
3493
4615
|
*
|
|
3494
4616
|
* @type {number}
|
|
3495
|
-
* @memberof
|
|
4617
|
+
* @memberof RwusdApiSubscribeRwusd
|
|
3496
4618
|
*/
|
|
3497
4619
|
readonly recvWindow?: number;
|
|
3498
4620
|
}
|
|
3499
4621
|
/**
|
|
3500
|
-
*
|
|
3501
|
-
* @
|
|
4622
|
+
* RwusdApi - object-oriented interface
|
|
4623
|
+
* @class RwusdApi
|
|
3502
4624
|
*/
|
|
3503
|
-
|
|
4625
|
+
declare class RwusdApi implements RwusdApiInterface {
|
|
4626
|
+
private readonly configuration;
|
|
4627
|
+
private localVarAxiosParamCreator;
|
|
4628
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
3504
4629
|
/**
|
|
4630
|
+
* Get RWUSD account information.
|
|
3505
4631
|
*
|
|
3506
|
-
*
|
|
3507
|
-
*
|
|
4632
|
+
* Weight: 150
|
|
4633
|
+
*
|
|
4634
|
+
* @summary Get RWUSD Account (USER_DATA)
|
|
4635
|
+
* @param {GetRwusdAccountRequest} requestParameters Request parameters.
|
|
4636
|
+
* @returns {Promise<RestApiResponse<GetRwusdAccountResponse>>}
|
|
4637
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4638
|
+
* @memberof RwusdApi
|
|
4639
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/account/ Binance API Documentation}
|
|
3508
4640
|
*/
|
|
3509
|
-
|
|
4641
|
+
getRwusdAccount(requestParameters?: GetRwusdAccountRequest): Promise<RestApiResponse<GetRwusdAccountResponse>>;
|
|
3510
4642
|
/**
|
|
3511
|
-
*
|
|
3512
|
-
*
|
|
3513
|
-
*
|
|
4643
|
+
* Get RWUSD quota details including subscription quota, fast redemption quota, and standard redemption quota.
|
|
4644
|
+
*
|
|
4645
|
+
* Weight: 150
|
|
4646
|
+
*
|
|
4647
|
+
* @summary Get RWUSD Quota Details (USER_DATA)
|
|
4648
|
+
* @param {GetRwusdQuotaDetailsRequest} requestParameters Request parameters.
|
|
4649
|
+
* @returns {Promise<RestApiResponse<GetRwusdQuotaDetailsResponse>>}
|
|
4650
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4651
|
+
* @memberof RwusdApi
|
|
4652
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/account/Get-RWUSD-Quota-Details Binance API Documentation}
|
|
3514
4653
|
*/
|
|
3515
|
-
|
|
4654
|
+
getRwusdQuotaDetails(requestParameters?: GetRwusdQuotaDetailsRequest): Promise<RestApiResponse<GetRwusdQuotaDetailsResponse>>;
|
|
3516
4655
|
/**
|
|
4656
|
+
* Get RWUSD rate history sorted by descending order.
|
|
3517
4657
|
*
|
|
3518
|
-
*
|
|
3519
|
-
*
|
|
4658
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4659
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4660
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4661
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4662
|
+
*
|
|
4663
|
+
* Weight: 150
|
|
4664
|
+
*
|
|
4665
|
+
* @summary Get RWUSD Rate History (USER_DATA)
|
|
4666
|
+
* @param {GetRwusdRateHistoryRequest} requestParameters Request parameters.
|
|
4667
|
+
* @returns {Promise<RestApiResponse<GetRwusdRateHistoryResponse>>}
|
|
4668
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4669
|
+
* @memberof RwusdApi
|
|
4670
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Rate-History Binance API Documentation}
|
|
3520
4671
|
*/
|
|
3521
|
-
|
|
4672
|
+
getRwusdRateHistory(requestParameters?: GetRwusdRateHistoryRequest): Promise<RestApiResponse<GetRwusdRateHistoryResponse>>;
|
|
3522
4673
|
/**
|
|
4674
|
+
* Get RWUSD redemption history.
|
|
3523
4675
|
*
|
|
3524
|
-
*
|
|
3525
|
-
*
|
|
4676
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4677
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4678
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4679
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4680
|
+
*
|
|
4681
|
+
* Weight: 150
|
|
4682
|
+
*
|
|
4683
|
+
* @summary Get RWUSD Redemption History (USER_DATA)
|
|
4684
|
+
* @param {GetRwusdRedemptionHistoryRequest} requestParameters Request parameters.
|
|
4685
|
+
* @returns {Promise<RestApiResponse<GetRwusdRedemptionHistoryResponse>>}
|
|
4686
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4687
|
+
* @memberof RwusdApi
|
|
4688
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Redemption-History Binance API Documentation}
|
|
3526
4689
|
*/
|
|
3527
|
-
|
|
4690
|
+
getRwusdRedemptionHistory(requestParameters?: GetRwusdRedemptionHistoryRequest): Promise<RestApiResponse<GetRwusdRedemptionHistoryResponse>>;
|
|
3528
4691
|
/**
|
|
3529
|
-
*
|
|
3530
|
-
*
|
|
3531
|
-
*
|
|
4692
|
+
* Get RWUSD rewards history.
|
|
4693
|
+
*
|
|
4694
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4695
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4696
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4697
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4698
|
+
*
|
|
4699
|
+
* Weight: 150
|
|
4700
|
+
*
|
|
4701
|
+
* @summary Get RWUSD Rewards History (USER_DATA)
|
|
4702
|
+
* @param {GetRwusdRewardsHistoryRequest} requestParameters Request parameters.
|
|
4703
|
+
* @returns {Promise<RestApiResponse<GetRwusdRewardsHistoryResponse>>}
|
|
4704
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4705
|
+
* @memberof RwusdApi
|
|
4706
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Rewards-History Binance API Documentation}
|
|
3532
4707
|
*/
|
|
3533
|
-
|
|
4708
|
+
getRwusdRewardsHistory(requestParameters?: GetRwusdRewardsHistoryRequest): Promise<RestApiResponse<GetRwusdRewardsHistoryResponse>>;
|
|
3534
4709
|
/**
|
|
3535
|
-
*
|
|
3536
|
-
*
|
|
3537
|
-
*
|
|
4710
|
+
* Get RWUSD subscription history
|
|
4711
|
+
*
|
|
4712
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4713
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4714
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
4715
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time advanced by one month, and data between `startTime` and `endTime` will be returned.
|
|
4716
|
+
*
|
|
4717
|
+
* Weight: 150
|
|
4718
|
+
*
|
|
4719
|
+
* @summary Get RWUSD subscription history(USER_DATA)
|
|
4720
|
+
* @param {GetRwusdSubscriptionHistoryRequest} requestParameters Request parameters.
|
|
4721
|
+
* @returns {Promise<RestApiResponse<GetRwusdSubscriptionHistoryResponse>>}
|
|
4722
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4723
|
+
* @memberof RwusdApi
|
|
4724
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-subscription-history Binance API Documentation}
|
|
3538
4725
|
*/
|
|
3539
|
-
|
|
4726
|
+
getRwusdSubscriptionHistory(requestParameters?: GetRwusdSubscriptionHistoryRequest): Promise<RestApiResponse<GetRwusdSubscriptionHistoryResponse>>;
|
|
3540
4727
|
/**
|
|
4728
|
+
* Redeem RWUSD to USDC
|
|
3541
4729
|
*
|
|
3542
|
-
*
|
|
3543
|
-
*
|
|
4730
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4731
|
+
*
|
|
4732
|
+
* Weight: 150
|
|
4733
|
+
*
|
|
4734
|
+
* @summary Redeem RWUSD(TRADE)
|
|
4735
|
+
* @param {RedeemRwusdRequest} requestParameters Request parameters.
|
|
4736
|
+
* @returns {Promise<RestApiResponse<RedeemRwusdResponse>>}
|
|
4737
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4738
|
+
* @memberof RwusdApi
|
|
4739
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/earn/Redeem-RWUSD Binance API Documentation}
|
|
3544
4740
|
*/
|
|
3545
|
-
|
|
4741
|
+
redeemRwusd(requestParameters: RedeemRwusdRequest): Promise<RestApiResponse<RedeemRwusdResponse>>;
|
|
4742
|
+
/**
|
|
4743
|
+
* Subscribe RWUSD
|
|
4744
|
+
*
|
|
4745
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4746
|
+
*
|
|
4747
|
+
* Weight: 150
|
|
4748
|
+
*
|
|
4749
|
+
* @summary Subscribe RWUSD(TRADE)
|
|
4750
|
+
* @param {SubscribeRwusdRequest} requestParameters Request parameters.
|
|
4751
|
+
* @returns {Promise<RestApiResponse<SubscribeRwusdResponse>>}
|
|
4752
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4753
|
+
* @memberof RwusdApi
|
|
4754
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/earn/Subscribe-RWUSD Binance API Documentation}
|
|
4755
|
+
*/
|
|
4756
|
+
subscribeRwusd(requestParameters: SubscribeRwusdRequest): Promise<RestApiResponse<SubscribeRwusdResponse>>;
|
|
3546
4757
|
}
|
|
4758
|
+
|
|
3547
4759
|
/**
|
|
3548
|
-
*
|
|
3549
|
-
*
|
|
4760
|
+
* Binance Simple Earn REST API
|
|
4761
|
+
*
|
|
4762
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
4763
|
+
*
|
|
4764
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4765
|
+
*
|
|
4766
|
+
*
|
|
4767
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4768
|
+
* https://openapi-generator.tech
|
|
4769
|
+
* Do not edit the class manually.
|
|
3550
4770
|
*/
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
private
|
|
4771
|
+
|
|
4772
|
+
declare class RestAPI {
|
|
4773
|
+
private configuration;
|
|
4774
|
+
private flexibleLockedApi;
|
|
4775
|
+
private rwusdApi;
|
|
3554
4776
|
constructor(configuration: ConfigurationRestAPI);
|
|
4777
|
+
/**
|
|
4778
|
+
* Generic function to send a request.
|
|
4779
|
+
* @param endpoint - The API endpoint to call.
|
|
4780
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
4781
|
+
* @param params - Query parameters for the request.
|
|
4782
|
+
*
|
|
4783
|
+
* @returns A promise resolving to the response data object.
|
|
4784
|
+
*/
|
|
4785
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
4786
|
+
/**
|
|
4787
|
+
* Generic function to send a signed request.
|
|
4788
|
+
* @param endpoint - The API endpoint to call.
|
|
4789
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
4790
|
+
* @param params - Query parameters for the request.
|
|
4791
|
+
*
|
|
4792
|
+
* @returns A promise resolving to the response data object.
|
|
4793
|
+
*/
|
|
4794
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
3555
4795
|
/**
|
|
3556
4796
|
* Get Collateral Record
|
|
3557
4797
|
*
|
|
@@ -3560,16 +4800,39 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3560
4800
|
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
3561
4801
|
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
3562
4802
|
*
|
|
3563
|
-
* Weight: 1
|
|
4803
|
+
* Weight: 1
|
|
4804
|
+
*
|
|
4805
|
+
* @summary Get Collateral Record(USER_DATA)
|
|
4806
|
+
* @param {GetCollateralRecordRequest} requestParameters Request parameters.
|
|
4807
|
+
* @returns {Promise<RestApiResponse<GetCollateralRecordResponse>>}
|
|
4808
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4809
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Collateral-Record Binance API Documentation}
|
|
4810
|
+
*/
|
|
4811
|
+
getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
|
|
4812
|
+
/**
|
|
4813
|
+
* Get Flexible Personal Left Quota
|
|
4814
|
+
*
|
|
4815
|
+
* Weight: 150
|
|
4816
|
+
*
|
|
4817
|
+
* @summary Get Flexible Personal Left Quota(USER_DATA)
|
|
4818
|
+
* @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
4819
|
+
* @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
|
|
4820
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4821
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
|
|
4822
|
+
*/
|
|
4823
|
+
getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
|
|
4824
|
+
/**
|
|
4825
|
+
* Get Flexible Product Position
|
|
4826
|
+
*
|
|
4827
|
+
* Weight: 150
|
|
3564
4828
|
*
|
|
3565
|
-
* @summary Get
|
|
3566
|
-
* @param {
|
|
3567
|
-
* @returns {Promise<RestApiResponse<
|
|
4829
|
+
* @summary Get Flexible Product Position(USER_DATA)
|
|
4830
|
+
* @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
|
|
4831
|
+
* @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
|
|
3568
4832
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3569
|
-
* @
|
|
3570
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Collateral-Record Binance API Documentation}
|
|
4833
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Flexible-Product-Position Binance API Documentation}
|
|
3571
4834
|
*/
|
|
3572
|
-
|
|
4835
|
+
getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
|
|
3573
4836
|
/**
|
|
3574
4837
|
* Get Flexible Redemption Record
|
|
3575
4838
|
*
|
|
@@ -3584,8 +4847,7 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3584
4847
|
* @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
|
|
3585
4848
|
* @returns {Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>}
|
|
3586
4849
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3587
|
-
* @
|
|
3588
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Redemption-Record Binance API Documentation}
|
|
4850
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Redemption-Record Binance API Documentation}
|
|
3589
4851
|
*/
|
|
3590
4852
|
getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
|
|
3591
4853
|
/**
|
|
@@ -3602,10 +4864,21 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3602
4864
|
* @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
|
|
3603
4865
|
* @returns {Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>}
|
|
3604
4866
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3605
|
-
* @
|
|
3606
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Rewards-History Binance API Documentation}
|
|
4867
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Rewards-History Binance API Documentation}
|
|
3607
4868
|
*/
|
|
3608
4869
|
getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
|
|
4870
|
+
/**
|
|
4871
|
+
* Get Flexible Subscription Preview
|
|
4872
|
+
*
|
|
4873
|
+
* Weight: 150
|
|
4874
|
+
*
|
|
4875
|
+
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
4876
|
+
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
4877
|
+
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
|
|
4878
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4879
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
|
|
4880
|
+
*/
|
|
4881
|
+
getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
|
|
3609
4882
|
/**
|
|
3610
4883
|
* Get Flexible Subscription Record
|
|
3611
4884
|
*
|
|
@@ -3620,10 +4893,33 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3620
4893
|
* @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
|
|
3621
4894
|
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>}
|
|
3622
4895
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3623
|
-
* @
|
|
3624
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Subscription-Record Binance API Documentation}
|
|
4896
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Flexible-Subscription-Record Binance API Documentation}
|
|
3625
4897
|
*/
|
|
3626
4898
|
getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
|
|
4899
|
+
/**
|
|
4900
|
+
* Get Locked Personal Left Quota
|
|
4901
|
+
*
|
|
4902
|
+
* Weight: 150
|
|
4903
|
+
*
|
|
4904
|
+
* @summary Get Locked Personal Left Quota(USER_DATA)
|
|
4905
|
+
* @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
4906
|
+
* @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
|
|
4907
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4908
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
|
|
4909
|
+
*/
|
|
4910
|
+
getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
|
|
4911
|
+
/**
|
|
4912
|
+
* Get Locked Product Position
|
|
4913
|
+
*
|
|
4914
|
+
* Weight: 150
|
|
4915
|
+
*
|
|
4916
|
+
* @summary Get Locked Product Position
|
|
4917
|
+
* @param {GetLockedProductPositionRequest} requestParameters Request parameters.
|
|
4918
|
+
* @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
|
|
4919
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4920
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Locked-Product-Position Binance API Documentation}
|
|
4921
|
+
*/
|
|
4922
|
+
getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
|
|
3627
4923
|
/**
|
|
3628
4924
|
* Get Locked Redemption Record
|
|
3629
4925
|
*
|
|
@@ -3638,8 +4934,7 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3638
4934
|
* @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
|
|
3639
4935
|
* @returns {Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>}
|
|
3640
4936
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3641
|
-
* @
|
|
3642
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Redemption-Record Binance API Documentation}
|
|
4937
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Redemption-Record Binance API Documentation}
|
|
3643
4938
|
*/
|
|
3644
4939
|
getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
|
|
3645
4940
|
/**
|
|
@@ -3656,10 +4951,21 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3656
4951
|
* @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
|
|
3657
4952
|
* @returns {Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>}
|
|
3658
4953
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3659
|
-
* @
|
|
3660
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Rewards-History Binance API Documentation}
|
|
4954
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Rewards-History Binance API Documentation}
|
|
3661
4955
|
*/
|
|
3662
4956
|
getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
|
|
4957
|
+
/**
|
|
4958
|
+
* Get Locked Subscription Preview
|
|
4959
|
+
*
|
|
4960
|
+
* Weight: 150
|
|
4961
|
+
*
|
|
4962
|
+
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
4963
|
+
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
4964
|
+
* @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
|
|
4965
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4966
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Get-Locked-Subscription-Preview Binance API Documentation}
|
|
4967
|
+
*/
|
|
4968
|
+
getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
|
|
3663
4969
|
/**
|
|
3664
4970
|
* Get Locked Subscription Record
|
|
3665
4971
|
*
|
|
@@ -3674,8 +4980,7 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3674
4980
|
* @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
|
|
3675
4981
|
* @returns {Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>}
|
|
3676
4982
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3677
|
-
* @
|
|
3678
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Subscription-Record Binance API Documentation}
|
|
4983
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Locked-Subscription-Record Binance API Documentation}
|
|
3679
4984
|
*/
|
|
3680
4985
|
getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
|
|
3681
4986
|
/**
|
|
@@ -3692,97 +4997,9 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3692
4997
|
* @param {GetRateHistoryRequest} requestParameters Request parameters.
|
|
3693
4998
|
* @returns {Promise<RestApiResponse<GetRateHistoryResponse>>}
|
|
3694
4999
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3695
|
-
* @
|
|
3696
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Rate-History Binance API Documentation}
|
|
5000
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/history/Get-Rate-History Binance API Documentation}
|
|
3697
5001
|
*/
|
|
3698
5002
|
getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
|
|
3699
|
-
}
|
|
3700
|
-
|
|
3701
|
-
/**
|
|
3702
|
-
* Binance Simple Earn REST API
|
|
3703
|
-
*
|
|
3704
|
-
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
3705
|
-
*
|
|
3706
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3707
|
-
*
|
|
3708
|
-
*
|
|
3709
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3710
|
-
* https://openapi-generator.tech
|
|
3711
|
-
* Do not edit the class manually.
|
|
3712
|
-
*/
|
|
3713
|
-
|
|
3714
|
-
declare class RestAPI {
|
|
3715
|
-
private configuration;
|
|
3716
|
-
private accountApi;
|
|
3717
|
-
private earnApi;
|
|
3718
|
-
private historyApi;
|
|
3719
|
-
constructor(configuration: ConfigurationRestAPI);
|
|
3720
|
-
/**
|
|
3721
|
-
* Generic function to send a request.
|
|
3722
|
-
* @param endpoint - The API endpoint to call.
|
|
3723
|
-
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
3724
|
-
* @param params - Query parameters for the request.
|
|
3725
|
-
*
|
|
3726
|
-
* @returns A promise resolving to the response data object.
|
|
3727
|
-
*/
|
|
3728
|
-
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
3729
|
-
/**
|
|
3730
|
-
* Generic function to send a signed request.
|
|
3731
|
-
* @param endpoint - The API endpoint to call.
|
|
3732
|
-
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
3733
|
-
* @param params - Query parameters for the request.
|
|
3734
|
-
*
|
|
3735
|
-
* @returns A promise resolving to the response data object.
|
|
3736
|
-
*/
|
|
3737
|
-
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
3738
|
-
/**
|
|
3739
|
-
* Get Flexible Personal Left Quota
|
|
3740
|
-
*
|
|
3741
|
-
* Weight: 150
|
|
3742
|
-
*
|
|
3743
|
-
* @summary Get Flexible Personal Left Quota(USER_DATA)
|
|
3744
|
-
* @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
3745
|
-
* @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
|
|
3746
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3747
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
|
|
3748
|
-
*/
|
|
3749
|
-
getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
|
|
3750
|
-
/**
|
|
3751
|
-
* Get Flexible Product Position
|
|
3752
|
-
*
|
|
3753
|
-
* Weight: 150
|
|
3754
|
-
*
|
|
3755
|
-
* @summary Get Flexible Product Position(USER_DATA)
|
|
3756
|
-
* @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
|
|
3757
|
-
* @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
|
|
3758
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3759
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Product-Position Binance API Documentation}
|
|
3760
|
-
*/
|
|
3761
|
-
getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
|
|
3762
|
-
/**
|
|
3763
|
-
* Get Locked Personal Left Quota
|
|
3764
|
-
*
|
|
3765
|
-
* Weight: 150
|
|
3766
|
-
*
|
|
3767
|
-
* @summary Get Locked Personal Left Quota(USER_DATA)
|
|
3768
|
-
* @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
|
|
3769
|
-
* @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
|
|
3770
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3771
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
|
|
3772
|
-
*/
|
|
3773
|
-
getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
|
|
3774
|
-
/**
|
|
3775
|
-
* Get Locked Product Position
|
|
3776
|
-
*
|
|
3777
|
-
* Weight: 150
|
|
3778
|
-
*
|
|
3779
|
-
* @summary Get Locked Product Position
|
|
3780
|
-
* @param {GetLockedProductPositionRequest} requestParameters Request parameters.
|
|
3781
|
-
* @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
|
|
3782
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3783
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Product-Position Binance API Documentation}
|
|
3784
|
-
*/
|
|
3785
|
-
getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
|
|
3786
5003
|
/**
|
|
3787
5004
|
* Get available Simple Earn flexible product list
|
|
3788
5005
|
*
|
|
@@ -3792,7 +5009,7 @@ declare class RestAPI {
|
|
|
3792
5009
|
* @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
|
|
3793
5010
|
* @returns {Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>}
|
|
3794
5011
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3795
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
|
|
5012
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
|
|
3796
5013
|
*/
|
|
3797
5014
|
getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
|
|
3798
5015
|
/**
|
|
@@ -3806,45 +5023,9 @@ declare class RestAPI {
|
|
|
3806
5023
|
* @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
|
|
3807
5024
|
* @returns {Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>}
|
|
3808
5025
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3809
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
|
|
5026
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
|
|
3810
5027
|
*/
|
|
3811
5028
|
getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
|
|
3812
|
-
/**
|
|
3813
|
-
* Simple Account query
|
|
3814
|
-
*
|
|
3815
|
-
* Weight: 150
|
|
3816
|
-
*
|
|
3817
|
-
* @summary Simple Account(USER_DATA)
|
|
3818
|
-
* @param {SimpleAccountRequest} requestParameters Request parameters.
|
|
3819
|
-
* @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
|
|
3820
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3821
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/account/Simple-Account Binance API Documentation}
|
|
3822
|
-
*/
|
|
3823
|
-
simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
|
|
3824
|
-
/**
|
|
3825
|
-
* Get Flexible Subscription Preview
|
|
3826
|
-
*
|
|
3827
|
-
* Weight: 150
|
|
3828
|
-
*
|
|
3829
|
-
* @summary Get Flexible Subscription Preview(USER_DATA)
|
|
3830
|
-
* @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
3831
|
-
* @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
|
|
3832
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3833
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
|
|
3834
|
-
*/
|
|
3835
|
-
getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
|
|
3836
|
-
/**
|
|
3837
|
-
* Get Locked Subscription Preview
|
|
3838
|
-
*
|
|
3839
|
-
* Weight: 150
|
|
3840
|
-
*
|
|
3841
|
-
* @summary Get Locked Subscription Preview(USER_DATA)
|
|
3842
|
-
* @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
|
|
3843
|
-
* @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
|
|
3844
|
-
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3845
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Locked-Subscription-Preview Binance API Documentation}
|
|
3846
|
-
*/
|
|
3847
|
-
getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
|
|
3848
5029
|
/**
|
|
3849
5030
|
* Redeem Flexible Product
|
|
3850
5031
|
*
|
|
@@ -3856,7 +5037,7 @@ declare class RestAPI {
|
|
|
3856
5037
|
* @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
|
|
3857
5038
|
* @returns {Promise<RestApiResponse<RedeemFlexibleProductResponse>>}
|
|
3858
5039
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3859
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Flexible-Product Binance API Documentation}
|
|
5040
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Redeem-Flexible-Product Binance API Documentation}
|
|
3860
5041
|
*/
|
|
3861
5042
|
redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
|
|
3862
5043
|
/**
|
|
@@ -3870,7 +5051,7 @@ declare class RestAPI {
|
|
|
3870
5051
|
* @param {RedeemLockedProductRequest} requestParameters Request parameters.
|
|
3871
5052
|
* @returns {Promise<RestApiResponse<RedeemLockedProductResponse>>}
|
|
3872
5053
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3873
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Locked-Product Binance API Documentation}
|
|
5054
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Redeem-Locked-Product Binance API Documentation}
|
|
3874
5055
|
*/
|
|
3875
5056
|
redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
|
|
3876
5057
|
/**
|
|
@@ -3882,7 +5063,7 @@ declare class RestAPI {
|
|
|
3882
5063
|
* @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
|
|
3883
5064
|
* @returns {Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>}
|
|
3884
5065
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3885
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
|
|
5066
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
|
|
3886
5067
|
*/
|
|
3887
5068
|
setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
|
|
3888
5069
|
/**
|
|
@@ -3894,7 +5075,7 @@ declare class RestAPI {
|
|
|
3894
5075
|
* @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
|
|
3895
5076
|
* @returns {Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>}
|
|
3896
5077
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3897
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
|
|
5078
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
|
|
3898
5079
|
*/
|
|
3899
5080
|
setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
|
|
3900
5081
|
/**
|
|
@@ -3906,9 +5087,21 @@ declare class RestAPI {
|
|
|
3906
5087
|
* @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
|
|
3907
5088
|
* @returns {Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>}
|
|
3908
5089
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3909
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Redeem-Option Binance API Documentation}
|
|
5090
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Set-Locked-Redeem-Option Binance API Documentation}
|
|
3910
5091
|
*/
|
|
3911
5092
|
setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
|
|
5093
|
+
/**
|
|
5094
|
+
* Simple Account query
|
|
5095
|
+
*
|
|
5096
|
+
* Weight: 150
|
|
5097
|
+
*
|
|
5098
|
+
* @summary Simple Account(USER_DATA)
|
|
5099
|
+
* @param {SimpleAccountRequest} requestParameters Request parameters.
|
|
5100
|
+
* @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
|
|
5101
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
5102
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/account/Simple-Account Binance API Documentation}
|
|
5103
|
+
*/
|
|
5104
|
+
simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
|
|
3912
5105
|
/**
|
|
3913
5106
|
* Subscribe Flexible Product
|
|
3914
5107
|
*
|
|
@@ -3920,7 +5113,7 @@ declare class RestAPI {
|
|
|
3920
5113
|
* @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
|
|
3921
5114
|
* @returns {Promise<RestApiResponse<SubscribeFlexibleProductResponse>>}
|
|
3922
5115
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3923
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Flexible-Product Binance API Documentation}
|
|
5116
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Subscribe-Flexible-Product Binance API Documentation}
|
|
3924
5117
|
*/
|
|
3925
5118
|
subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
|
|
3926
5119
|
/**
|
|
@@ -3934,145 +5127,129 @@ declare class RestAPI {
|
|
|
3934
5127
|
* @param {SubscribeLockedProductRequest} requestParameters Request parameters.
|
|
3935
5128
|
* @returns {Promise<RestApiResponse<SubscribeLockedProductResponse>>}
|
|
3936
5129
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3937
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Locked-Product Binance API Documentation}
|
|
5130
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/flexible-locked/earn/Subscribe-Locked-Product Binance API Documentation}
|
|
3938
5131
|
*/
|
|
3939
5132
|
subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
|
|
3940
5133
|
/**
|
|
3941
|
-
* Get
|
|
3942
|
-
*
|
|
3943
|
-
* The time between `startTime` and `endTime` cannot be longer than 30 days.
|
|
3944
|
-
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
3945
|
-
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
3946
|
-
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
5134
|
+
* Get RWUSD account information.
|
|
3947
5135
|
*
|
|
3948
|
-
* Weight:
|
|
5136
|
+
* Weight: 150
|
|
3949
5137
|
*
|
|
3950
|
-
* @summary Get
|
|
3951
|
-
* @param {
|
|
3952
|
-
* @returns {Promise<RestApiResponse<
|
|
5138
|
+
* @summary Get RWUSD Account (USER_DATA)
|
|
5139
|
+
* @param {GetRwusdAccountRequest} requestParameters Request parameters.
|
|
5140
|
+
* @returns {Promise<RestApiResponse<GetRwusdAccountResponse>>}
|
|
3953
5141
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3954
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/
|
|
5142
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/account/ Binance API Documentation}
|
|
3955
5143
|
*/
|
|
3956
|
-
|
|
5144
|
+
getRwusdAccount(requestParameters?: GetRwusdAccountRequest): Promise<RestApiResponse<GetRwusdAccountResponse>>;
|
|
3957
5145
|
/**
|
|
3958
|
-
* Get
|
|
3959
|
-
*
|
|
3960
|
-
* The time between `startTime` and `endTime` cannot be longer than 3 months.
|
|
3961
|
-
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
3962
|
-
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
3963
|
-
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
5146
|
+
* Get RWUSD quota details including subscription quota, fast redemption quota, and standard redemption quota.
|
|
3964
5147
|
*
|
|
3965
5148
|
* Weight: 150
|
|
3966
5149
|
*
|
|
3967
|
-
* @summary Get
|
|
3968
|
-
* @param {
|
|
3969
|
-
* @returns {Promise<RestApiResponse<
|
|
5150
|
+
* @summary Get RWUSD Quota Details (USER_DATA)
|
|
5151
|
+
* @param {GetRwusdQuotaDetailsRequest} requestParameters Request parameters.
|
|
5152
|
+
* @returns {Promise<RestApiResponse<GetRwusdQuotaDetailsResponse>>}
|
|
3970
5153
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3971
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/
|
|
5154
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/account/Get-RWUSD-Quota-Details Binance API Documentation}
|
|
3972
5155
|
*/
|
|
3973
|
-
|
|
5156
|
+
getRwusdQuotaDetails(requestParameters?: GetRwusdQuotaDetailsRequest): Promise<RestApiResponse<GetRwusdQuotaDetailsResponse>>;
|
|
3974
5157
|
/**
|
|
3975
|
-
* Get
|
|
5158
|
+
* Get RWUSD rate history sorted by descending order.
|
|
3976
5159
|
*
|
|
3977
|
-
*
|
|
3978
|
-
*
|
|
3979
|
-
*
|
|
3980
|
-
*
|
|
5160
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
5161
|
+
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
5162
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
5163
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
3981
5164
|
*
|
|
3982
5165
|
* Weight: 150
|
|
3983
5166
|
*
|
|
3984
|
-
* @summary Get
|
|
3985
|
-
* @param {
|
|
3986
|
-
* @returns {Promise<RestApiResponse<
|
|
5167
|
+
* @summary Get RWUSD Rate History (USER_DATA)
|
|
5168
|
+
* @param {GetRwusdRateHistoryRequest} requestParameters Request parameters.
|
|
5169
|
+
* @returns {Promise<RestApiResponse<GetRwusdRateHistoryResponse>>}
|
|
3987
5170
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3988
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-
|
|
5171
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Rate-History Binance API Documentation}
|
|
3989
5172
|
*/
|
|
3990
|
-
|
|
5173
|
+
getRwusdRateHistory(requestParameters?: GetRwusdRateHistoryRequest): Promise<RestApiResponse<GetRwusdRateHistoryResponse>>;
|
|
3991
5174
|
/**
|
|
3992
|
-
* Get
|
|
5175
|
+
* Get RWUSD redemption history.
|
|
3993
5176
|
*
|
|
3994
|
-
* The time between `startTime` and `endTime` cannot be longer than
|
|
5177
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
3995
5178
|
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
3996
|
-
* If `startTime` is sent but `endTime` is not sent,
|
|
3997
|
-
* If `endTime` is sent but `startTime` is not sent, the
|
|
5179
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
5180
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
3998
5181
|
*
|
|
3999
5182
|
* Weight: 150
|
|
4000
5183
|
*
|
|
4001
|
-
* @summary Get
|
|
4002
|
-
* @param {
|
|
4003
|
-
* @returns {Promise<RestApiResponse<
|
|
5184
|
+
* @summary Get RWUSD Redemption History (USER_DATA)
|
|
5185
|
+
* @param {GetRwusdRedemptionHistoryRequest} requestParameters Request parameters.
|
|
5186
|
+
* @returns {Promise<RestApiResponse<GetRwusdRedemptionHistoryResponse>>}
|
|
4004
5187
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4005
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-
|
|
5188
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Redemption-History Binance API Documentation}
|
|
4006
5189
|
*/
|
|
4007
|
-
|
|
5190
|
+
getRwusdRedemptionHistory(requestParameters?: GetRwusdRedemptionHistoryRequest): Promise<RestApiResponse<GetRwusdRedemptionHistoryResponse>>;
|
|
4008
5191
|
/**
|
|
4009
|
-
* Get
|
|
5192
|
+
* Get RWUSD rewards history.
|
|
4010
5193
|
*
|
|
4011
|
-
* The time between `startTime` and `endTime` cannot be longer than
|
|
5194
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4012
5195
|
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4013
|
-
* If `startTime` is sent but `endTime` is not sent,
|
|
4014
|
-
* If `endTime` is sent but `startTime` is not sent, the
|
|
5196
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
5197
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time minus one month, and data between `startTime` and `endTime` will be returned.
|
|
4015
5198
|
*
|
|
4016
5199
|
* Weight: 150
|
|
4017
5200
|
*
|
|
4018
|
-
* @summary Get
|
|
4019
|
-
* @param {
|
|
4020
|
-
* @returns {Promise<RestApiResponse<
|
|
5201
|
+
* @summary Get RWUSD Rewards History (USER_DATA)
|
|
5202
|
+
* @param {GetRwusdRewardsHistoryRequest} requestParameters Request parameters.
|
|
5203
|
+
* @returns {Promise<RestApiResponse<GetRwusdRewardsHistoryResponse>>}
|
|
4021
5204
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4022
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-
|
|
5205
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-Rewards-History Binance API Documentation}
|
|
4023
5206
|
*/
|
|
4024
|
-
|
|
5207
|
+
getRwusdRewardsHistory(requestParameters?: GetRwusdRewardsHistoryRequest): Promise<RestApiResponse<GetRwusdRewardsHistoryResponse>>;
|
|
4025
5208
|
/**
|
|
4026
|
-
* Get
|
|
5209
|
+
* Get RWUSD subscription history
|
|
4027
5210
|
*
|
|
4028
|
-
* The time between `startTime` and `endTime` cannot be longer than
|
|
5211
|
+
* The time between `startTime` and `endTime` cannot be longer than 6 months.
|
|
4029
5212
|
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4030
|
-
* If `startTime` is sent but `endTime` is not sent,
|
|
4031
|
-
* If `endTime` is sent but `startTime` is not sent, the
|
|
5213
|
+
* If `startTime` is sent but `endTime` is not sent, `endTime` will default to current time, and results from `startTime` onward will be returned.
|
|
5214
|
+
* If `endTime` is sent but `startTime` is not sent, `startTime` defaults to the current time advanced by one month, and data between `startTime` and `endTime` will be returned.
|
|
4032
5215
|
*
|
|
4033
5216
|
* Weight: 150
|
|
4034
5217
|
*
|
|
4035
|
-
* @summary Get
|
|
4036
|
-
* @param {
|
|
4037
|
-
* @returns {Promise<RestApiResponse<
|
|
5218
|
+
* @summary Get RWUSD subscription history(USER_DATA)
|
|
5219
|
+
* @param {GetRwusdSubscriptionHistoryRequest} requestParameters Request parameters.
|
|
5220
|
+
* @returns {Promise<RestApiResponse<GetRwusdSubscriptionHistoryResponse>>}
|
|
4038
5221
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4039
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/history/Get-
|
|
5222
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/history/Get-RWUSD-subscription-history Binance API Documentation}
|
|
4040
5223
|
*/
|
|
4041
|
-
|
|
5224
|
+
getRwusdSubscriptionHistory(requestParameters?: GetRwusdSubscriptionHistoryRequest): Promise<RestApiResponse<GetRwusdSubscriptionHistoryResponse>>;
|
|
4042
5225
|
/**
|
|
4043
|
-
*
|
|
5226
|
+
* Redeem RWUSD to USDC
|
|
4044
5227
|
*
|
|
4045
|
-
*
|
|
4046
|
-
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4047
|
-
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
4048
|
-
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
5228
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4049
5229
|
*
|
|
4050
5230
|
* Weight: 150
|
|
4051
5231
|
*
|
|
4052
|
-
* @summary
|
|
4053
|
-
* @param {
|
|
4054
|
-
* @returns {Promise<RestApiResponse<
|
|
5232
|
+
* @summary Redeem RWUSD(TRADE)
|
|
5233
|
+
* @param {RedeemRwusdRequest} requestParameters Request parameters.
|
|
5234
|
+
* @returns {Promise<RestApiResponse<RedeemRwusdResponse>>}
|
|
4055
5235
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4056
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/
|
|
5236
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/earn/Redeem-RWUSD Binance API Documentation}
|
|
4057
5237
|
*/
|
|
4058
|
-
|
|
5238
|
+
redeemRwusd(requestParameters: RedeemRwusdRequest): Promise<RestApiResponse<RedeemRwusdResponse>>;
|
|
4059
5239
|
/**
|
|
4060
|
-
*
|
|
5240
|
+
* Subscribe RWUSD
|
|
4061
5241
|
*
|
|
4062
|
-
*
|
|
4063
|
-
* If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
|
|
4064
|
-
* If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
|
|
4065
|
-
* If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
|
|
5242
|
+
* You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
|
|
4066
5243
|
*
|
|
4067
5244
|
* Weight: 150
|
|
4068
5245
|
*
|
|
4069
|
-
* @summary
|
|
4070
|
-
* @param {
|
|
4071
|
-
* @returns {Promise<RestApiResponse<
|
|
5246
|
+
* @summary Subscribe RWUSD(TRADE)
|
|
5247
|
+
* @param {SubscribeRwusdRequest} requestParameters Request parameters.
|
|
5248
|
+
* @returns {Promise<RestApiResponse<SubscribeRwusdResponse>>}
|
|
4072
5249
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
4073
|
-
* @see {@link https://developers.binance.com/docs/simple_earn/
|
|
5250
|
+
* @see {@link https://developers.binance.com/docs/simple_earn/rwusd/earn/Subscribe-RWUSD Binance API Documentation}
|
|
4074
5251
|
*/
|
|
4075
|
-
|
|
5252
|
+
subscribeRwusd(requestParameters: SubscribeRwusdRequest): Promise<RestApiResponse<SubscribeRwusdResponse>>;
|
|
4076
5253
|
}
|
|
4077
5254
|
|
|
4078
5255
|
/**
|
|
@@ -4088,12 +5265,9 @@ declare class RestAPI {
|
|
|
4088
5265
|
* Do not edit the class manually.
|
|
4089
5266
|
*/
|
|
4090
5267
|
|
|
4091
|
-
type
|
|
4092
|
-
declare const
|
|
4093
|
-
type
|
|
4094
|
-
type index_EarnApi = EarnApi;
|
|
4095
|
-
declare const index_EarnApi: typeof EarnApi;
|
|
4096
|
-
type index_EarnApiInterface = EarnApiInterface;
|
|
5268
|
+
type index_FlexibleLockedApi = FlexibleLockedApi;
|
|
5269
|
+
declare const index_FlexibleLockedApi: typeof FlexibleLockedApi;
|
|
5270
|
+
type index_FlexibleLockedApiInterface = FlexibleLockedApiInterface;
|
|
4097
5271
|
type index_GetCollateralRecordRequest = GetCollateralRecordRequest;
|
|
4098
5272
|
type index_GetCollateralRecordResponse = GetCollateralRecordResponse;
|
|
4099
5273
|
type index_GetCollateralRecordResponseRowsInner = GetCollateralRecordResponseRowsInner;
|
|
@@ -4134,6 +5308,25 @@ type index_GetLockedSubscriptionRecordResponseRowsInner = GetLockedSubscriptionR
|
|
|
4134
5308
|
type index_GetRateHistoryRequest = GetRateHistoryRequest;
|
|
4135
5309
|
type index_GetRateHistoryResponse = GetRateHistoryResponse;
|
|
4136
5310
|
type index_GetRateHistoryResponseRowsInner = GetRateHistoryResponseRowsInner;
|
|
5311
|
+
type index_GetRwusdAccountRequest = GetRwusdAccountRequest;
|
|
5312
|
+
type index_GetRwusdAccountResponse = GetRwusdAccountResponse;
|
|
5313
|
+
type index_GetRwusdQuotaDetailsRequest = GetRwusdQuotaDetailsRequest;
|
|
5314
|
+
type index_GetRwusdQuotaDetailsResponse = GetRwusdQuotaDetailsResponse;
|
|
5315
|
+
type index_GetRwusdQuotaDetailsResponseFastRedemptionQuota = GetRwusdQuotaDetailsResponseFastRedemptionQuota;
|
|
5316
|
+
type index_GetRwusdQuotaDetailsResponseStandardRedemptionQuota = GetRwusdQuotaDetailsResponseStandardRedemptionQuota;
|
|
5317
|
+
type index_GetRwusdQuotaDetailsResponseSubscriptionQuota = GetRwusdQuotaDetailsResponseSubscriptionQuota;
|
|
5318
|
+
type index_GetRwusdRateHistoryRequest = GetRwusdRateHistoryRequest;
|
|
5319
|
+
type index_GetRwusdRateHistoryResponse = GetRwusdRateHistoryResponse;
|
|
5320
|
+
type index_GetRwusdRateHistoryResponseRowsInner = GetRwusdRateHistoryResponseRowsInner;
|
|
5321
|
+
type index_GetRwusdRedemptionHistoryRequest = GetRwusdRedemptionHistoryRequest;
|
|
5322
|
+
type index_GetRwusdRedemptionHistoryResponse = GetRwusdRedemptionHistoryResponse;
|
|
5323
|
+
type index_GetRwusdRedemptionHistoryResponseRowsInner = GetRwusdRedemptionHistoryResponseRowsInner;
|
|
5324
|
+
type index_GetRwusdRewardsHistoryRequest = GetRwusdRewardsHistoryRequest;
|
|
5325
|
+
type index_GetRwusdRewardsHistoryResponse = GetRwusdRewardsHistoryResponse;
|
|
5326
|
+
type index_GetRwusdRewardsHistoryResponseRowsInner = GetRwusdRewardsHistoryResponseRowsInner;
|
|
5327
|
+
type index_GetRwusdSubscriptionHistoryRequest = GetRwusdSubscriptionHistoryRequest;
|
|
5328
|
+
type index_GetRwusdSubscriptionHistoryResponse = GetRwusdSubscriptionHistoryResponse;
|
|
5329
|
+
type index_GetRwusdSubscriptionHistoryResponseRowsInner = GetRwusdSubscriptionHistoryResponseRowsInner;
|
|
4137
5330
|
type index_GetSimpleEarnFlexibleProductListRequest = GetSimpleEarnFlexibleProductListRequest;
|
|
4138
5331
|
type index_GetSimpleEarnFlexibleProductListResponse = GetSimpleEarnFlexibleProductListResponse;
|
|
4139
5332
|
type index_GetSimpleEarnFlexibleProductListResponseRowsInner = GetSimpleEarnFlexibleProductListResponseRowsInner;
|
|
@@ -4142,15 +5335,17 @@ type index_GetSimpleEarnLockedProductListResponse = GetSimpleEarnLockedProductLi
|
|
|
4142
5335
|
type index_GetSimpleEarnLockedProductListResponseRowsInner = GetSimpleEarnLockedProductListResponseRowsInner;
|
|
4143
5336
|
type index_GetSimpleEarnLockedProductListResponseRowsInnerDetail = GetSimpleEarnLockedProductListResponseRowsInnerDetail;
|
|
4144
5337
|
type index_GetSimpleEarnLockedProductListResponseRowsInnerQuota = GetSimpleEarnLockedProductListResponseRowsInnerQuota;
|
|
4145
|
-
type index_HistoryApi = HistoryApi;
|
|
4146
|
-
declare const index_HistoryApi: typeof HistoryApi;
|
|
4147
|
-
type index_HistoryApiInterface = HistoryApiInterface;
|
|
4148
5338
|
type index_RedeemFlexibleProductRequest = RedeemFlexibleProductRequest;
|
|
4149
5339
|
type index_RedeemFlexibleProductResponse = RedeemFlexibleProductResponse;
|
|
4150
5340
|
type index_RedeemLockedProductRequest = RedeemLockedProductRequest;
|
|
4151
5341
|
type index_RedeemLockedProductResponse = RedeemLockedProductResponse;
|
|
5342
|
+
type index_RedeemRwusdRequest = RedeemRwusdRequest;
|
|
5343
|
+
type index_RedeemRwusdResponse = RedeemRwusdResponse;
|
|
4152
5344
|
type index_RestAPI = RestAPI;
|
|
4153
5345
|
declare const index_RestAPI: typeof RestAPI;
|
|
5346
|
+
type index_RwusdApi = RwusdApi;
|
|
5347
|
+
declare const index_RwusdApi: typeof RwusdApi;
|
|
5348
|
+
type index_RwusdApiInterface = RwusdApiInterface;
|
|
4154
5349
|
type index_SetFlexibleAutoSubscribeRequest = SetFlexibleAutoSubscribeRequest;
|
|
4155
5350
|
type index_SetFlexibleAutoSubscribeResponse = SetFlexibleAutoSubscribeResponse;
|
|
4156
5351
|
type index_SetLockedAutoSubscribeRequest = SetLockedAutoSubscribeRequest;
|
|
@@ -4163,8 +5358,10 @@ type index_SubscribeFlexibleProductRequest = SubscribeFlexibleProductRequest;
|
|
|
4163
5358
|
type index_SubscribeFlexibleProductResponse = SubscribeFlexibleProductResponse;
|
|
4164
5359
|
type index_SubscribeLockedProductRequest = SubscribeLockedProductRequest;
|
|
4165
5360
|
type index_SubscribeLockedProductResponse = SubscribeLockedProductResponse;
|
|
5361
|
+
type index_SubscribeRwusdRequest = SubscribeRwusdRequest;
|
|
5362
|
+
type index_SubscribeRwusdResponse = SubscribeRwusdResponse;
|
|
4166
5363
|
declare namespace index {
|
|
4167
|
-
export {
|
|
5364
|
+
export { index_FlexibleLockedApi as FlexibleLockedApi, type index_FlexibleLockedApiInterface as FlexibleLockedApiInterface, type index_GetCollateralRecordRequest as GetCollateralRecordRequest, type index_GetCollateralRecordResponse as GetCollateralRecordResponse, type index_GetCollateralRecordResponseRowsInner as GetCollateralRecordResponseRowsInner, type index_GetFlexiblePersonalLeftQuotaRequest as GetFlexiblePersonalLeftQuotaRequest, type index_GetFlexiblePersonalLeftQuotaResponse as GetFlexiblePersonalLeftQuotaResponse, type index_GetFlexibleProductPositionRequest as GetFlexibleProductPositionRequest, type index_GetFlexibleProductPositionResponse as GetFlexibleProductPositionResponse, type index_GetFlexibleProductPositionResponseRowsInner as GetFlexibleProductPositionResponseRowsInner, type index_GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate as GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate, type index_GetFlexibleRedemptionRecordRequest as GetFlexibleRedemptionRecordRequest, type index_GetFlexibleRedemptionRecordResponse as GetFlexibleRedemptionRecordResponse, type index_GetFlexibleRedemptionRecordResponseRowsInner as GetFlexibleRedemptionRecordResponseRowsInner, type index_GetFlexibleRewardsHistoryRequest as GetFlexibleRewardsHistoryRequest, type index_GetFlexibleRewardsHistoryResponse as GetFlexibleRewardsHistoryResponse, type index_GetFlexibleRewardsHistoryResponseRowsInner as GetFlexibleRewardsHistoryResponseRowsInner, type index_GetFlexibleSubscriptionPreviewRequest as GetFlexibleSubscriptionPreviewRequest, type index_GetFlexibleSubscriptionPreviewResponse as GetFlexibleSubscriptionPreviewResponse, type index_GetFlexibleSubscriptionRecordRequest as GetFlexibleSubscriptionRecordRequest, type index_GetFlexibleSubscriptionRecordResponse as GetFlexibleSubscriptionRecordResponse, type index_GetFlexibleSubscriptionRecordResponseRowsInner as GetFlexibleSubscriptionRecordResponseRowsInner, type index_GetLockedPersonalLeftQuotaRequest as GetLockedPersonalLeftQuotaRequest, type index_GetLockedPersonalLeftQuotaResponse as GetLockedPersonalLeftQuotaResponse, type index_GetLockedProductPositionRequest as GetLockedProductPositionRequest, type index_GetLockedProductPositionResponse as GetLockedProductPositionResponse, type index_GetLockedProductPositionResponseRowsInner as GetLockedProductPositionResponseRowsInner, type index_GetLockedRedemptionRecordRequest as GetLockedRedemptionRecordRequest, type index_GetLockedRedemptionRecordResponse as GetLockedRedemptionRecordResponse, type index_GetLockedRedemptionRecordResponseRowsInner as GetLockedRedemptionRecordResponseRowsInner, type index_GetLockedRewardsHistoryRequest as GetLockedRewardsHistoryRequest, type index_GetLockedRewardsHistoryResponse as GetLockedRewardsHistoryResponse, type index_GetLockedRewardsHistoryResponseRowsInner as GetLockedRewardsHistoryResponseRowsInner, type index_GetLockedSubscriptionPreviewRequest as GetLockedSubscriptionPreviewRequest, type index_GetLockedSubscriptionPreviewResponse as GetLockedSubscriptionPreviewResponse, type index_GetLockedSubscriptionPreviewResponseInner as GetLockedSubscriptionPreviewResponseInner, type index_GetLockedSubscriptionRecordRequest as GetLockedSubscriptionRecordRequest, type index_GetLockedSubscriptionRecordResponse as GetLockedSubscriptionRecordResponse, type index_GetLockedSubscriptionRecordResponseRowsInner as GetLockedSubscriptionRecordResponseRowsInner, type index_GetRateHistoryRequest as GetRateHistoryRequest, type index_GetRateHistoryResponse as GetRateHistoryResponse, type index_GetRateHistoryResponseRowsInner as GetRateHistoryResponseRowsInner, type index_GetRwusdAccountRequest as GetRwusdAccountRequest, type index_GetRwusdAccountResponse as GetRwusdAccountResponse, type index_GetRwusdQuotaDetailsRequest as GetRwusdQuotaDetailsRequest, type index_GetRwusdQuotaDetailsResponse as GetRwusdQuotaDetailsResponse, type index_GetRwusdQuotaDetailsResponseFastRedemptionQuota as GetRwusdQuotaDetailsResponseFastRedemptionQuota, type index_GetRwusdQuotaDetailsResponseStandardRedemptionQuota as GetRwusdQuotaDetailsResponseStandardRedemptionQuota, type index_GetRwusdQuotaDetailsResponseSubscriptionQuota as GetRwusdQuotaDetailsResponseSubscriptionQuota, type index_GetRwusdRateHistoryRequest as GetRwusdRateHistoryRequest, type index_GetRwusdRateHistoryResponse as GetRwusdRateHistoryResponse, type index_GetRwusdRateHistoryResponseRowsInner as GetRwusdRateHistoryResponseRowsInner, type index_GetRwusdRedemptionHistoryRequest as GetRwusdRedemptionHistoryRequest, type index_GetRwusdRedemptionHistoryResponse as GetRwusdRedemptionHistoryResponse, type index_GetRwusdRedemptionHistoryResponseRowsInner as GetRwusdRedemptionHistoryResponseRowsInner, type index_GetRwusdRewardsHistoryRequest as GetRwusdRewardsHistoryRequest, type index_GetRwusdRewardsHistoryResponse as GetRwusdRewardsHistoryResponse, type index_GetRwusdRewardsHistoryResponseRowsInner as GetRwusdRewardsHistoryResponseRowsInner, type index_GetRwusdSubscriptionHistoryRequest as GetRwusdSubscriptionHistoryRequest, type index_GetRwusdSubscriptionHistoryResponse as GetRwusdSubscriptionHistoryResponse, type index_GetRwusdSubscriptionHistoryResponseRowsInner as GetRwusdSubscriptionHistoryResponseRowsInner, type index_GetSimpleEarnFlexibleProductListRequest as GetSimpleEarnFlexibleProductListRequest, type index_GetSimpleEarnFlexibleProductListResponse as GetSimpleEarnFlexibleProductListResponse, type index_GetSimpleEarnFlexibleProductListResponseRowsInner as GetSimpleEarnFlexibleProductListResponseRowsInner, type index_GetSimpleEarnLockedProductListRequest as GetSimpleEarnLockedProductListRequest, type index_GetSimpleEarnLockedProductListResponse as GetSimpleEarnLockedProductListResponse, type index_GetSimpleEarnLockedProductListResponseRowsInner as GetSimpleEarnLockedProductListResponseRowsInner, type index_GetSimpleEarnLockedProductListResponseRowsInnerDetail as GetSimpleEarnLockedProductListResponseRowsInnerDetail, type index_GetSimpleEarnLockedProductListResponseRowsInnerQuota as GetSimpleEarnLockedProductListResponseRowsInnerQuota, type index_RedeemFlexibleProductRequest as RedeemFlexibleProductRequest, type index_RedeemFlexibleProductResponse as RedeemFlexibleProductResponse, type index_RedeemLockedProductRequest as RedeemLockedProductRequest, type index_RedeemLockedProductResponse as RedeemLockedProductResponse, type index_RedeemRwusdRequest as RedeemRwusdRequest, type index_RedeemRwusdResponse as RedeemRwusdResponse, index_RestAPI as RestAPI, index_RwusdApi as RwusdApi, type index_RwusdApiInterface as RwusdApiInterface, type index_SetFlexibleAutoSubscribeRequest as SetFlexibleAutoSubscribeRequest, type index_SetFlexibleAutoSubscribeResponse as SetFlexibleAutoSubscribeResponse, type index_SetLockedAutoSubscribeRequest as SetLockedAutoSubscribeRequest, type index_SetLockedAutoSubscribeResponse as SetLockedAutoSubscribeResponse, type index_SetLockedProductRedeemOptionRequest as SetLockedProductRedeemOptionRequest, type index_SetLockedProductRedeemOptionResponse as SetLockedProductRedeemOptionResponse, type index_SimpleAccountRequest as SimpleAccountRequest, type index_SimpleAccountResponse as SimpleAccountResponse, type index_SubscribeFlexibleProductRequest as SubscribeFlexibleProductRequest, type index_SubscribeFlexibleProductResponse as SubscribeFlexibleProductResponse, type index_SubscribeLockedProductRequest as SubscribeLockedProductRequest, type index_SubscribeLockedProductResponse as SubscribeLockedProductResponse, type index_SubscribeRwusdRequest as SubscribeRwusdRequest, type index_SubscribeRwusdResponse as SubscribeRwusdResponse };
|
|
4168
5365
|
}
|
|
4169
5366
|
|
|
4170
5367
|
interface ConfigurationSimpleEarn {
|