@binance/mining 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +72 -72
- package/dist/index.d.ts +72 -72
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1658,10 +1658,10 @@ interface AccountListRequest {
|
|
|
1658
1658
|
readonly userName: string;
|
|
1659
1659
|
/**
|
|
1660
1660
|
*
|
|
1661
|
-
* @type {number}
|
|
1661
|
+
* @type {number | bigint}
|
|
1662
1662
|
* @memberof MiningApiAccountList
|
|
1663
1663
|
*/
|
|
1664
|
-
readonly recvWindow?: number;
|
|
1664
|
+
readonly recvWindow?: number | bigint;
|
|
1665
1665
|
}
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Request parameters for cancelHashrateResaleConfiguration operation in MiningApi.
|
|
@@ -1670,10 +1670,10 @@ interface AccountListRequest {
|
|
|
1670
1670
|
interface CancelHashrateResaleConfigurationRequest {
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Mining ID 168
|
|
1673
|
-
* @type {number}
|
|
1673
|
+
* @type {number | bigint}
|
|
1674
1674
|
* @memberof MiningApiCancelHashrateResaleConfiguration
|
|
1675
1675
|
*/
|
|
1676
|
-
readonly configId: number;
|
|
1676
|
+
readonly configId: number | bigint;
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Mining account test
|
|
1679
1679
|
* @type {string}
|
|
@@ -1682,10 +1682,10 @@ interface CancelHashrateResaleConfigurationRequest {
|
|
|
1682
1682
|
readonly userName: string;
|
|
1683
1683
|
/**
|
|
1684
1684
|
*
|
|
1685
|
-
* @type {number}
|
|
1685
|
+
* @type {number | bigint}
|
|
1686
1686
|
* @memberof MiningApiCancelHashrateResaleConfiguration
|
|
1687
1687
|
*/
|
|
1688
|
-
readonly recvWindow?: number;
|
|
1688
|
+
readonly recvWindow?: number | bigint;
|
|
1689
1689
|
}
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Request parameters for earningsList operation in MiningApi.
|
|
@@ -1712,34 +1712,34 @@ interface EarningsListRequest {
|
|
|
1712
1712
|
readonly coin?: string;
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Millisecond timestamp
|
|
1715
|
-
* @type {number}
|
|
1715
|
+
* @type {number | bigint}
|
|
1716
1716
|
* @memberof MiningApiEarningsList
|
|
1717
1717
|
*/
|
|
1718
|
-
readonly startDate?: number;
|
|
1718
|
+
readonly startDate?: number | bigint;
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Millisecond timestamp
|
|
1721
|
-
* @type {number}
|
|
1721
|
+
* @type {number | bigint}
|
|
1722
1722
|
* @memberof MiningApiEarningsList
|
|
1723
1723
|
*/
|
|
1724
|
-
readonly endDate?: number;
|
|
1724
|
+
readonly endDate?: number | bigint;
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Page number, empty default first page, starting from 1
|
|
1727
|
-
* @type {number}
|
|
1727
|
+
* @type {number | bigint}
|
|
1728
1728
|
* @memberof MiningApiEarningsList
|
|
1729
1729
|
*/
|
|
1730
|
-
readonly pageIndex?: number;
|
|
1730
|
+
readonly pageIndex?: number | bigint;
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Min 10,Max 200
|
|
1733
|
-
* @type {number}
|
|
1733
|
+
* @type {number | bigint}
|
|
1734
1734
|
* @memberof MiningApiEarningsList
|
|
1735
1735
|
*/
|
|
1736
|
-
readonly pageSize?: number;
|
|
1736
|
+
readonly pageSize?: number | bigint;
|
|
1737
1737
|
/**
|
|
1738
1738
|
*
|
|
1739
|
-
* @type {number}
|
|
1739
|
+
* @type {number | bigint}
|
|
1740
1740
|
* @memberof MiningApiEarningsList
|
|
1741
1741
|
*/
|
|
1742
|
-
readonly recvWindow?: number;
|
|
1742
|
+
readonly recvWindow?: number | bigint;
|
|
1743
1743
|
}
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Request parameters for extraBonusList operation in MiningApi.
|
|
@@ -1766,34 +1766,34 @@ interface ExtraBonusListRequest {
|
|
|
1766
1766
|
readonly coin?: string;
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Millisecond timestamp
|
|
1769
|
-
* @type {number}
|
|
1769
|
+
* @type {number | bigint}
|
|
1770
1770
|
* @memberof MiningApiExtraBonusList
|
|
1771
1771
|
*/
|
|
1772
|
-
readonly startDate?: number;
|
|
1772
|
+
readonly startDate?: number | bigint;
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Millisecond timestamp
|
|
1775
|
-
* @type {number}
|
|
1775
|
+
* @type {number | bigint}
|
|
1776
1776
|
* @memberof MiningApiExtraBonusList
|
|
1777
1777
|
*/
|
|
1778
|
-
readonly endDate?: number;
|
|
1778
|
+
readonly endDate?: number | bigint;
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Page number, empty default first page, starting from 1
|
|
1781
|
-
* @type {number}
|
|
1781
|
+
* @type {number | bigint}
|
|
1782
1782
|
* @memberof MiningApiExtraBonusList
|
|
1783
1783
|
*/
|
|
1784
|
-
readonly pageIndex?: number;
|
|
1784
|
+
readonly pageIndex?: number | bigint;
|
|
1785
1785
|
/**
|
|
1786
1786
|
* Min 10,Max 200
|
|
1787
|
-
* @type {number}
|
|
1787
|
+
* @type {number | bigint}
|
|
1788
1788
|
* @memberof MiningApiExtraBonusList
|
|
1789
1789
|
*/
|
|
1790
|
-
readonly pageSize?: number;
|
|
1790
|
+
readonly pageSize?: number | bigint;
|
|
1791
1791
|
/**
|
|
1792
1792
|
*
|
|
1793
|
-
* @type {number}
|
|
1793
|
+
* @type {number | bigint}
|
|
1794
1794
|
* @memberof MiningApiExtraBonusList
|
|
1795
1795
|
*/
|
|
1796
|
-
readonly recvWindow?: number;
|
|
1796
|
+
readonly recvWindow?: number | bigint;
|
|
1797
1797
|
}
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Request parameters for hashrateResaleDetail operation in MiningApi.
|
|
@@ -1802,10 +1802,10 @@ interface ExtraBonusListRequest {
|
|
|
1802
1802
|
interface HashrateResaleDetailRequest {
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Mining ID 168
|
|
1805
|
-
* @type {number}
|
|
1805
|
+
* @type {number | bigint}
|
|
1806
1806
|
* @memberof MiningApiHashrateResaleDetail
|
|
1807
1807
|
*/
|
|
1808
|
-
readonly configId: number;
|
|
1808
|
+
readonly configId: number | bigint;
|
|
1809
1809
|
/**
|
|
1810
1810
|
* Mining account test
|
|
1811
1811
|
* @type {string}
|
|
@@ -1814,22 +1814,22 @@ interface HashrateResaleDetailRequest {
|
|
|
1814
1814
|
readonly userName: string;
|
|
1815
1815
|
/**
|
|
1816
1816
|
* Page number, empty default first page, starting from 1
|
|
1817
|
-
* @type {number}
|
|
1817
|
+
* @type {number | bigint}
|
|
1818
1818
|
* @memberof MiningApiHashrateResaleDetail
|
|
1819
1819
|
*/
|
|
1820
|
-
readonly pageIndex?: number;
|
|
1820
|
+
readonly pageIndex?: number | bigint;
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Min 10,Max 200
|
|
1823
|
-
* @type {number}
|
|
1823
|
+
* @type {number | bigint}
|
|
1824
1824
|
* @memberof MiningApiHashrateResaleDetail
|
|
1825
1825
|
*/
|
|
1826
|
-
readonly pageSize?: number;
|
|
1826
|
+
readonly pageSize?: number | bigint;
|
|
1827
1827
|
/**
|
|
1828
1828
|
*
|
|
1829
|
-
* @type {number}
|
|
1829
|
+
* @type {number | bigint}
|
|
1830
1830
|
* @memberof MiningApiHashrateResaleDetail
|
|
1831
1831
|
*/
|
|
1832
|
-
readonly recvWindow?: number;
|
|
1832
|
+
readonly recvWindow?: number | bigint;
|
|
1833
1833
|
}
|
|
1834
1834
|
/**
|
|
1835
1835
|
* Request parameters for hashrateResaleList operation in MiningApi.
|
|
@@ -1838,22 +1838,22 @@ interface HashrateResaleDetailRequest {
|
|
|
1838
1838
|
interface HashrateResaleListRequest {
|
|
1839
1839
|
/**
|
|
1840
1840
|
* Page number, empty default first page, starting from 1
|
|
1841
|
-
* @type {number}
|
|
1841
|
+
* @type {number | bigint}
|
|
1842
1842
|
* @memberof MiningApiHashrateResaleList
|
|
1843
1843
|
*/
|
|
1844
|
-
readonly pageIndex?: number;
|
|
1844
|
+
readonly pageIndex?: number | bigint;
|
|
1845
1845
|
/**
|
|
1846
1846
|
* Min 10,Max 200
|
|
1847
|
-
* @type {number}
|
|
1847
|
+
* @type {number | bigint}
|
|
1848
1848
|
* @memberof MiningApiHashrateResaleList
|
|
1849
1849
|
*/
|
|
1850
|
-
readonly pageSize?: number;
|
|
1850
|
+
readonly pageSize?: number | bigint;
|
|
1851
1851
|
/**
|
|
1852
1852
|
*
|
|
1853
|
-
* @type {number}
|
|
1853
|
+
* @type {number | bigint}
|
|
1854
1854
|
* @memberof MiningApiHashrateResaleList
|
|
1855
1855
|
*/
|
|
1856
|
-
readonly recvWindow?: number;
|
|
1856
|
+
readonly recvWindow?: number | bigint;
|
|
1857
1857
|
}
|
|
1858
1858
|
/**
|
|
1859
1859
|
* Request parameters for hashrateResaleRequest operation in MiningApi.
|
|
@@ -1874,16 +1874,16 @@ interface HashrateResaleRequestRequest {
|
|
|
1874
1874
|
readonly algo: string;
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Resale End Time (Millisecond timestamp) 1617659086000
|
|
1877
|
-
* @type {number}
|
|
1877
|
+
* @type {number | bigint}
|
|
1878
1878
|
* @memberof MiningApiHashrateResaleRequest
|
|
1879
1879
|
*/
|
|
1880
|
-
readonly endDate: number;
|
|
1880
|
+
readonly endDate: number | bigint;
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Resale Start Time(Millisecond timestamp) 1607659086000
|
|
1883
|
-
* @type {number}
|
|
1883
|
+
* @type {number | bigint}
|
|
1884
1884
|
* @memberof MiningApiHashrateResaleRequest
|
|
1885
1885
|
*/
|
|
1886
|
-
readonly startDate: number;
|
|
1886
|
+
readonly startDate: number | bigint;
|
|
1887
1887
|
/**
|
|
1888
1888
|
* Mining Account S19pro
|
|
1889
1889
|
* @type {string}
|
|
@@ -1892,16 +1892,16 @@ interface HashrateResaleRequestRequest {
|
|
|
1892
1892
|
readonly toPoolUser: string;
|
|
1893
1893
|
/**
|
|
1894
1894
|
* Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
|
|
1895
|
-
* @type {number}
|
|
1895
|
+
* @type {number | bigint}
|
|
1896
1896
|
* @memberof MiningApiHashrateResaleRequest
|
|
1897
1897
|
*/
|
|
1898
|
-
readonly hashRate: number;
|
|
1898
|
+
readonly hashRate: number | bigint;
|
|
1899
1899
|
/**
|
|
1900
1900
|
*
|
|
1901
|
-
* @type {number}
|
|
1901
|
+
* @type {number | bigint}
|
|
1902
1902
|
* @memberof MiningApiHashrateResaleRequest
|
|
1903
1903
|
*/
|
|
1904
|
-
readonly recvWindow?: number;
|
|
1904
|
+
readonly recvWindow?: number | bigint;
|
|
1905
1905
|
}
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Request parameters for miningAccountEarning operation in MiningApi.
|
|
@@ -1916,34 +1916,34 @@ interface MiningAccountEarningRequest {
|
|
|
1916
1916
|
readonly algo: string;
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Millisecond timestamp
|
|
1919
|
-
* @type {number}
|
|
1919
|
+
* @type {number | bigint}
|
|
1920
1920
|
* @memberof MiningApiMiningAccountEarning
|
|
1921
1921
|
*/
|
|
1922
|
-
readonly startDate?: number;
|
|
1922
|
+
readonly startDate?: number | bigint;
|
|
1923
1923
|
/**
|
|
1924
1924
|
* Millisecond timestamp
|
|
1925
|
-
* @type {number}
|
|
1925
|
+
* @type {number | bigint}
|
|
1926
1926
|
* @memberof MiningApiMiningAccountEarning
|
|
1927
1927
|
*/
|
|
1928
|
-
readonly endDate?: number;
|
|
1928
|
+
readonly endDate?: number | bigint;
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Page number, empty default first page, starting from 1
|
|
1931
|
-
* @type {number}
|
|
1931
|
+
* @type {number | bigint}
|
|
1932
1932
|
* @memberof MiningApiMiningAccountEarning
|
|
1933
1933
|
*/
|
|
1934
|
-
readonly pageIndex?: number;
|
|
1934
|
+
readonly pageIndex?: number | bigint;
|
|
1935
1935
|
/**
|
|
1936
1936
|
* Min 10,Max 200
|
|
1937
|
-
* @type {number}
|
|
1937
|
+
* @type {number | bigint}
|
|
1938
1938
|
* @memberof MiningApiMiningAccountEarning
|
|
1939
1939
|
*/
|
|
1940
|
-
readonly pageSize?: number;
|
|
1940
|
+
readonly pageSize?: number | bigint;
|
|
1941
1941
|
/**
|
|
1942
1942
|
*
|
|
1943
|
-
* @type {number}
|
|
1943
|
+
* @type {number | bigint}
|
|
1944
1944
|
* @memberof MiningApiMiningAccountEarning
|
|
1945
1945
|
*/
|
|
1946
|
-
readonly recvWindow?: number;
|
|
1946
|
+
readonly recvWindow?: number | bigint;
|
|
1947
1947
|
}
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Request parameters for requestForDetailMinerList operation in MiningApi.
|
|
@@ -1970,10 +1970,10 @@ interface RequestForDetailMinerListRequest {
|
|
|
1970
1970
|
readonly workerName: string;
|
|
1971
1971
|
/**
|
|
1972
1972
|
*
|
|
1973
|
-
* @type {number}
|
|
1973
|
+
* @type {number | bigint}
|
|
1974
1974
|
* @memberof MiningApiRequestForDetailMinerList
|
|
1975
1975
|
*/
|
|
1976
|
-
readonly recvWindow?: number;
|
|
1976
|
+
readonly recvWindow?: number | bigint;
|
|
1977
1977
|
}
|
|
1978
1978
|
/**
|
|
1979
1979
|
* Request parameters for requestForMinerList operation in MiningApi.
|
|
@@ -1994,34 +1994,34 @@ interface RequestForMinerListRequest {
|
|
|
1994
1994
|
readonly userName: string;
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Page number, empty default first page, starting from 1
|
|
1997
|
-
* @type {number}
|
|
1997
|
+
* @type {number | bigint}
|
|
1998
1998
|
* @memberof MiningApiRequestForMinerList
|
|
1999
1999
|
*/
|
|
2000
|
-
readonly pageIndex?: number;
|
|
2000
|
+
readonly pageIndex?: number | bigint;
|
|
2001
2001
|
/**
|
|
2002
2002
|
* sort sequence(default=0)0 positive sequence,1 negative sequence
|
|
2003
|
-
* @type {number}
|
|
2003
|
+
* @type {number | bigint}
|
|
2004
2004
|
* @memberof MiningApiRequestForMinerList
|
|
2005
2005
|
*/
|
|
2006
|
-
readonly sort?: number;
|
|
2006
|
+
readonly sort?: number | bigint;
|
|
2007
2007
|
/**
|
|
2008
2008
|
* Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
|
|
2009
|
-
* @type {number}
|
|
2009
|
+
* @type {number | bigint}
|
|
2010
2010
|
* @memberof MiningApiRequestForMinerList
|
|
2011
2011
|
*/
|
|
2012
|
-
readonly sortColumn?: number;
|
|
2012
|
+
readonly sortColumn?: number | bigint;
|
|
2013
2013
|
/**
|
|
2014
2014
|
* miners status(default=0),0 all,1 valid,2 invalid,3 failure
|
|
2015
|
-
* @type {number}
|
|
2015
|
+
* @type {number | bigint}
|
|
2016
2016
|
* @memberof MiningApiRequestForMinerList
|
|
2017
2017
|
*/
|
|
2018
|
-
readonly workerStatus?: number;
|
|
2018
|
+
readonly workerStatus?: number | bigint;
|
|
2019
2019
|
/**
|
|
2020
2020
|
*
|
|
2021
|
-
* @type {number}
|
|
2021
|
+
* @type {number | bigint}
|
|
2022
2022
|
* @memberof MiningApiRequestForMinerList
|
|
2023
2023
|
*/
|
|
2024
|
-
readonly recvWindow?: number;
|
|
2024
|
+
readonly recvWindow?: number | bigint;
|
|
2025
2025
|
}
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Request parameters for statisticList operation in MiningApi.
|
|
@@ -2042,10 +2042,10 @@ interface StatisticListRequest {
|
|
|
2042
2042
|
readonly userName: string;
|
|
2043
2043
|
/**
|
|
2044
2044
|
*
|
|
2045
|
-
* @type {number}
|
|
2045
|
+
* @type {number | bigint}
|
|
2046
2046
|
* @memberof MiningApiStatisticList
|
|
2047
2047
|
*/
|
|
2048
|
-
readonly recvWindow?: number;
|
|
2048
|
+
readonly recvWindow?: number | bigint;
|
|
2049
2049
|
}
|
|
2050
2050
|
/**
|
|
2051
2051
|
* MiningApi - object-oriented interface
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var import_common3 = require("@binance/common");
|
|
|
41
41
|
|
|
42
42
|
// package.json
|
|
43
43
|
var name = "@binance/mining";
|
|
44
|
-
var version = "4.0.
|
|
44
|
+
var version = "4.0.1";
|
|
45
45
|
|
|
46
46
|
// src/rest-api/index.ts
|
|
47
47
|
var rest_api_exports = {};
|
|
@@ -62,7 +62,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
62
62
|
* @summary Account List(USER_DATA)
|
|
63
63
|
* @param {string} algo Algorithm(sha256) sha256
|
|
64
64
|
* @param {string} userName Mining account test
|
|
65
|
-
* @param {number} [recvWindow]
|
|
65
|
+
* @param {number | bigint} [recvWindow]
|
|
66
66
|
*
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
@@ -133,9 +133,9 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
133
133
|
* Weight: 5
|
|
134
134
|
*
|
|
135
135
|
* @summary Cancel hashrate resale configuration(USER_DATA)
|
|
136
|
-
* @param {number} configId Mining ID 168
|
|
136
|
+
* @param {number | bigint} configId Mining ID 168
|
|
137
137
|
* @param {string} userName Mining account test
|
|
138
|
-
* @param {number} [recvWindow]
|
|
138
|
+
* @param {number | bigint} [recvWindow]
|
|
139
139
|
*
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
@@ -170,11 +170,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
170
170
|
* @param {string} algo Algorithm(sha256) sha256
|
|
171
171
|
* @param {string} userName Mining account test
|
|
172
172
|
* @param {string} [coin] Coin Name
|
|
173
|
-
* @param {number} [startDate] Millisecond timestamp
|
|
174
|
-
* @param {number} [endDate] Millisecond timestamp
|
|
175
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
176
|
-
* @param {number} [pageSize] Min 10,Max 200
|
|
177
|
-
* @param {number} [recvWindow]
|
|
173
|
+
* @param {number | bigint} [startDate] Millisecond timestamp
|
|
174
|
+
* @param {number | bigint} [endDate] Millisecond timestamp
|
|
175
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
176
|
+
* @param {number | bigint} [pageSize] Min 10,Max 200
|
|
177
|
+
* @param {number | bigint} [recvWindow]
|
|
178
178
|
*
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
@@ -224,11 +224,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
224
224
|
* @param {string} algo Algorithm(sha256) sha256
|
|
225
225
|
* @param {string} userName Mining account test
|
|
226
226
|
* @param {string} [coin] Coin Name
|
|
227
|
-
* @param {number} [startDate] Millisecond timestamp
|
|
228
|
-
* @param {number} [endDate] Millisecond timestamp
|
|
229
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
230
|
-
* @param {number} [pageSize] Min 10,Max 200
|
|
231
|
-
* @param {number} [recvWindow]
|
|
227
|
+
* @param {number | bigint} [startDate] Millisecond timestamp
|
|
228
|
+
* @param {number | bigint} [endDate] Millisecond timestamp
|
|
229
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
230
|
+
* @param {number | bigint} [pageSize] Min 10,Max 200
|
|
231
|
+
* @param {number | bigint} [recvWindow]
|
|
232
232
|
*
|
|
233
233
|
* @throws {RequiredError}
|
|
234
234
|
*/
|
|
@@ -275,11 +275,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
275
275
|
* Weight: 5
|
|
276
276
|
*
|
|
277
277
|
* @summary Hashrate Resale Detail(USER_DATA)
|
|
278
|
-
* @param {number} configId Mining ID 168
|
|
278
|
+
* @param {number | bigint} configId Mining ID 168
|
|
279
279
|
* @param {string} userName Mining account test
|
|
280
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
281
|
-
* @param {number} [pageSize] Min 10,Max 200
|
|
282
|
-
* @param {number} [recvWindow]
|
|
280
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
281
|
+
* @param {number | bigint} [pageSize] Min 10,Max 200
|
|
282
|
+
* @param {number | bigint} [recvWindow]
|
|
283
283
|
*
|
|
284
284
|
* @throws {RequiredError}
|
|
285
285
|
*/
|
|
@@ -317,9 +317,9 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
317
317
|
* Weight: 5
|
|
318
318
|
*
|
|
319
319
|
* @summary Hashrate Resale List
|
|
320
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
321
|
-
* @param {number} [pageSize] Min 10,Max 200
|
|
322
|
-
* @param {number} [recvWindow]
|
|
320
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
321
|
+
* @param {number | bigint} [pageSize] Min 10,Max 200
|
|
322
|
+
* @param {number | bigint} [recvWindow]
|
|
323
323
|
*
|
|
324
324
|
* @throws {RequiredError}
|
|
325
325
|
*/
|
|
@@ -351,11 +351,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
351
351
|
* @summary Hashrate Resale Request(USER_DATA)
|
|
352
352
|
* @param {string} userName Mining account test
|
|
353
353
|
* @param {string} algo Algorithm(sha256) sha256
|
|
354
|
-
* @param {number} endDate Resale End Time (Millisecond timestamp) 1617659086000
|
|
355
|
-
* @param {number} startDate Resale Start Time(Millisecond timestamp) 1607659086000
|
|
354
|
+
* @param {number | bigint} endDate Resale End Time (Millisecond timestamp) 1617659086000
|
|
355
|
+
* @param {number | bigint} startDate Resale Start Time(Millisecond timestamp) 1607659086000
|
|
356
356
|
* @param {string} toPoolUser Mining Account S19pro
|
|
357
|
-
* @param {number} hashRate Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
|
|
358
|
-
* @param {number} [recvWindow]
|
|
357
|
+
* @param {number | bigint} hashRate Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
|
|
358
|
+
* @param {number | bigint} [recvWindow]
|
|
359
359
|
*
|
|
360
360
|
* @throws {RequiredError}
|
|
361
361
|
*/
|
|
@@ -404,11 +404,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
404
404
|
*
|
|
405
405
|
* @summary Mining Account Earning(USER_DATA)
|
|
406
406
|
* @param {string} algo Algorithm(sha256) sha256
|
|
407
|
-
* @param {number} [startDate] Millisecond timestamp
|
|
408
|
-
* @param {number} [endDate] Millisecond timestamp
|
|
409
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
410
|
-
* @param {number} [pageSize] Min 10,Max 200
|
|
411
|
-
* @param {number} [recvWindow]
|
|
407
|
+
* @param {number | bigint} [startDate] Millisecond timestamp
|
|
408
|
+
* @param {number | bigint} [endDate] Millisecond timestamp
|
|
409
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
410
|
+
* @param {number | bigint} [pageSize] Min 10,Max 200
|
|
411
|
+
* @param {number | bigint} [recvWindow]
|
|
412
412
|
*
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
*/
|
|
@@ -451,7 +451,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
451
451
|
* @param {string} algo Algorithm(sha256) sha256
|
|
452
452
|
* @param {string} userName Mining account test
|
|
453
453
|
* @param {string} workerName Miner’s name(required) bhdc1.16A10404B
|
|
454
|
-
* @param {number} [recvWindow]
|
|
454
|
+
* @param {number | bigint} [recvWindow]
|
|
455
455
|
*
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
@@ -489,11 +489,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
489
489
|
* @summary Request for Miner List(USER_DATA)
|
|
490
490
|
* @param {string} algo Algorithm(sha256) sha256
|
|
491
491
|
* @param {string} userName Mining account test
|
|
492
|
-
* @param {number} [pageIndex] Page number, empty default first page, starting from 1
|
|
493
|
-
* @param {number} [sort] sort sequence(default=0)0 positive sequence,1 negative sequence
|
|
494
|
-
* @param {number} [sortColumn] Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
|
|
495
|
-
* @param {number} [workerStatus] miners status(default=0),0 all,1 valid,2 invalid,3 failure
|
|
496
|
-
* @param {number} [recvWindow]
|
|
492
|
+
* @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
|
|
493
|
+
* @param {number | bigint} [sort] sort sequence(default=0)0 positive sequence,1 negative sequence
|
|
494
|
+
* @param {number | bigint} [sortColumn] Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
|
|
495
|
+
* @param {number | bigint} [workerStatus] miners status(default=0),0 all,1 valid,2 invalid,3 failure
|
|
496
|
+
* @param {number | bigint} [recvWindow]
|
|
497
497
|
*
|
|
498
498
|
* @throws {RequiredError}
|
|
499
499
|
*/
|
|
@@ -539,7 +539,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
|
|
|
539
539
|
* @summary Statistic List(USER_DATA)
|
|
540
540
|
* @param {string} algo Algorithm(sha256) sha256
|
|
541
541
|
* @param {string} userName Mining account test
|
|
542
|
-
* @param {number} [recvWindow]
|
|
542
|
+
* @param {number | bigint} [recvWindow]
|
|
543
543
|
*
|
|
544
544
|
* @throws {RequiredError}
|
|
545
545
|
*/
|