@binance/mining 3.0.8 → 4.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 +129 -116
- package/dist/index.d.ts +129 -116
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -21,10 +21,10 @@ export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_
|
|
|
21
21
|
interface AccountListResponseDataInnerListInner {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
24
|
+
* @type {number | bigint}
|
|
25
25
|
* @memberof AccountListResponseDataInnerListInner
|
|
26
26
|
*/
|
|
27
|
-
time?: number;
|
|
27
|
+
time?: number | bigint;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -99,10 +99,10 @@ interface AccountListResponseDataInner {
|
|
|
99
99
|
interface AccountListResponse {
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
|
-
* @type {number}
|
|
102
|
+
* @type {number | bigint}
|
|
103
103
|
* @memberof AccountListResponse
|
|
104
104
|
*/
|
|
105
|
-
code?: number;
|
|
105
|
+
code?: number | bigint;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @type {string}
|
|
@@ -143,16 +143,16 @@ interface AcquiringAlgorithmResponseDataInner {
|
|
|
143
143
|
algoName?: string;
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
146
|
-
* @type {number}
|
|
146
|
+
* @type {number | bigint}
|
|
147
147
|
* @memberof AcquiringAlgorithmResponseDataInner
|
|
148
148
|
*/
|
|
149
|
-
algoId?: number;
|
|
149
|
+
algoId?: number | bigint;
|
|
150
150
|
/**
|
|
151
151
|
*
|
|
152
|
-
* @type {number}
|
|
152
|
+
* @type {number | bigint}
|
|
153
153
|
* @memberof AcquiringAlgorithmResponseDataInner
|
|
154
154
|
*/
|
|
155
|
-
poolIndex?: number;
|
|
155
|
+
poolIndex?: number | bigint;
|
|
156
156
|
/**
|
|
157
157
|
*
|
|
158
158
|
* @type {string}
|
|
@@ -182,10 +182,10 @@ interface AcquiringAlgorithmResponseDataInner {
|
|
|
182
182
|
interface AcquiringAlgorithmResponse {
|
|
183
183
|
/**
|
|
184
184
|
*
|
|
185
|
-
* @type {number}
|
|
185
|
+
* @type {number | bigint}
|
|
186
186
|
* @memberof AcquiringAlgorithmResponse
|
|
187
187
|
*/
|
|
188
|
-
code?: number;
|
|
188
|
+
code?: number | bigint;
|
|
189
189
|
/**
|
|
190
190
|
*
|
|
191
191
|
* @type {string}
|
|
@@ -226,22 +226,22 @@ interface AcquiringCoinnameResponseDataInner {
|
|
|
226
226
|
coinName?: string;
|
|
227
227
|
/**
|
|
228
228
|
*
|
|
229
|
-
* @type {number}
|
|
229
|
+
* @type {number | bigint}
|
|
230
230
|
* @memberof AcquiringCoinnameResponseDataInner
|
|
231
231
|
*/
|
|
232
|
-
coinId?: number;
|
|
232
|
+
coinId?: number | bigint;
|
|
233
233
|
/**
|
|
234
234
|
*
|
|
235
|
-
* @type {number}
|
|
235
|
+
* @type {number | bigint}
|
|
236
236
|
* @memberof AcquiringCoinnameResponseDataInner
|
|
237
237
|
*/
|
|
238
|
-
poolIndex?: number;
|
|
238
|
+
poolIndex?: number | bigint;
|
|
239
239
|
/**
|
|
240
240
|
*
|
|
241
|
-
* @type {number}
|
|
241
|
+
* @type {number | bigint}
|
|
242
242
|
* @memberof AcquiringCoinnameResponseDataInner
|
|
243
243
|
*/
|
|
244
|
-
algoId?: number;
|
|
244
|
+
algoId?: number | bigint;
|
|
245
245
|
/**
|
|
246
246
|
*
|
|
247
247
|
* @type {string}
|
|
@@ -271,10 +271,10 @@ interface AcquiringCoinnameResponseDataInner {
|
|
|
271
271
|
interface AcquiringCoinnameResponse {
|
|
272
272
|
/**
|
|
273
273
|
*
|
|
274
|
-
* @type {number}
|
|
274
|
+
* @type {number | bigint}
|
|
275
275
|
* @memberof AcquiringCoinnameResponse
|
|
276
276
|
*/
|
|
277
|
-
code?: number;
|
|
277
|
+
code?: number | bigint;
|
|
278
278
|
/**
|
|
279
279
|
*
|
|
280
280
|
* @type {string}
|
|
@@ -309,10 +309,10 @@ interface AcquiringCoinnameResponse {
|
|
|
309
309
|
interface CancelHashrateResaleConfigurationResponse {
|
|
310
310
|
/**
|
|
311
311
|
*
|
|
312
|
-
* @type {number}
|
|
312
|
+
* @type {number | bigint}
|
|
313
313
|
* @memberof CancelHashrateResaleConfigurationResponse
|
|
314
314
|
*/
|
|
315
|
-
code?: number;
|
|
315
|
+
code?: number | bigint;
|
|
316
316
|
/**
|
|
317
317
|
*
|
|
318
318
|
* @type {string}
|
|
@@ -347,22 +347,22 @@ interface CancelHashrateResaleConfigurationResponse {
|
|
|
347
347
|
interface EarningsListResponseDataAccountProfitsInner {
|
|
348
348
|
/**
|
|
349
349
|
*
|
|
350
|
-
* @type {number}
|
|
350
|
+
* @type {number | bigint}
|
|
351
351
|
* @memberof EarningsListResponseDataAccountProfitsInner
|
|
352
352
|
*/
|
|
353
|
-
time?: number;
|
|
353
|
+
time?: number | bigint;
|
|
354
354
|
/**
|
|
355
355
|
*
|
|
356
|
-
* @type {number}
|
|
356
|
+
* @type {number | bigint}
|
|
357
357
|
* @memberof EarningsListResponseDataAccountProfitsInner
|
|
358
358
|
*/
|
|
359
|
-
type?: number;
|
|
359
|
+
type?: number | bigint;
|
|
360
360
|
/**
|
|
361
361
|
*
|
|
362
|
-
* @type {number}
|
|
362
|
+
* @type {number | bigint}
|
|
363
363
|
* @memberof EarningsListResponseDataAccountProfitsInner
|
|
364
364
|
*/
|
|
365
|
-
hashTransfer?: number;
|
|
365
|
+
hashTransfer?: number | bigint;
|
|
366
366
|
/**
|
|
367
367
|
*
|
|
368
368
|
* @type {number}
|
|
@@ -371,10 +371,10 @@ interface EarningsListResponseDataAccountProfitsInner {
|
|
|
371
371
|
transferAmount?: number;
|
|
372
372
|
/**
|
|
373
373
|
*
|
|
374
|
-
* @type {number}
|
|
374
|
+
* @type {number | bigint}
|
|
375
375
|
* @memberof EarningsListResponseDataAccountProfitsInner
|
|
376
376
|
*/
|
|
377
|
-
dayHashRate?: number;
|
|
377
|
+
dayHashRate?: number | bigint;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
380
|
* @type {number}
|
|
@@ -389,10 +389,10 @@ interface EarningsListResponseDataAccountProfitsInner {
|
|
|
389
389
|
coinName?: string;
|
|
390
390
|
/**
|
|
391
391
|
*
|
|
392
|
-
* @type {number}
|
|
392
|
+
* @type {number | bigint}
|
|
393
393
|
* @memberof EarningsListResponseDataAccountProfitsInner
|
|
394
394
|
*/
|
|
395
|
-
status?: number;
|
|
395
|
+
status?: number | bigint;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
/**
|
|
@@ -422,16 +422,16 @@ interface EarningsListResponseData {
|
|
|
422
422
|
accountProfits?: Array<EarningsListResponseDataAccountProfitsInner>;
|
|
423
423
|
/**
|
|
424
424
|
*
|
|
425
|
-
* @type {number}
|
|
425
|
+
* @type {number | bigint}
|
|
426
426
|
* @memberof EarningsListResponseData
|
|
427
427
|
*/
|
|
428
|
-
totalNum?: number;
|
|
428
|
+
totalNum?: number | bigint;
|
|
429
429
|
/**
|
|
430
430
|
*
|
|
431
|
-
* @type {number}
|
|
431
|
+
* @type {number | bigint}
|
|
432
432
|
* @memberof EarningsListResponseData
|
|
433
433
|
*/
|
|
434
|
-
pageSize?: number;
|
|
434
|
+
pageSize?: number | bigint;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
/**
|
|
@@ -455,10 +455,10 @@ interface EarningsListResponseData {
|
|
|
455
455
|
interface EarningsListResponse {
|
|
456
456
|
/**
|
|
457
457
|
*
|
|
458
|
-
* @type {number}
|
|
458
|
+
* @type {number | bigint}
|
|
459
459
|
* @memberof EarningsListResponse
|
|
460
460
|
*/
|
|
461
|
-
code?: number;
|
|
461
|
+
code?: number | bigint;
|
|
462
462
|
/**
|
|
463
463
|
*
|
|
464
464
|
* @type {string}
|
|
@@ -493,10 +493,10 @@ interface EarningsListResponse {
|
|
|
493
493
|
interface ExtraBonusListResponseDataOtherProfitsInner {
|
|
494
494
|
/**
|
|
495
495
|
*
|
|
496
|
-
* @type {number}
|
|
496
|
+
* @type {number | bigint}
|
|
497
497
|
* @memberof ExtraBonusListResponseDataOtherProfitsInner
|
|
498
498
|
*/
|
|
499
|
-
time?: number;
|
|
499
|
+
time?: number | bigint;
|
|
500
500
|
/**
|
|
501
501
|
*
|
|
502
502
|
* @type {string}
|
|
@@ -505,10 +505,10 @@ interface ExtraBonusListResponseDataOtherProfitsInner {
|
|
|
505
505
|
coinName?: string;
|
|
506
506
|
/**
|
|
507
507
|
*
|
|
508
|
-
* @type {number}
|
|
508
|
+
* @type {number | bigint}
|
|
509
509
|
* @memberof ExtraBonusListResponseDataOtherProfitsInner
|
|
510
510
|
*/
|
|
511
|
-
type?: number;
|
|
511
|
+
type?: number | bigint;
|
|
512
512
|
/**
|
|
513
513
|
*
|
|
514
514
|
* @type {number}
|
|
@@ -517,10 +517,10 @@ interface ExtraBonusListResponseDataOtherProfitsInner {
|
|
|
517
517
|
profitAmount?: number;
|
|
518
518
|
/**
|
|
519
519
|
*
|
|
520
|
-
* @type {number}
|
|
520
|
+
* @type {number | bigint}
|
|
521
521
|
* @memberof ExtraBonusListResponseDataOtherProfitsInner
|
|
522
522
|
*/
|
|
523
|
-
status?: number;
|
|
523
|
+
status?: number | bigint;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
/**
|
|
@@ -550,16 +550,16 @@ interface ExtraBonusListResponseData {
|
|
|
550
550
|
otherProfits?: Array<ExtraBonusListResponseDataOtherProfitsInner>;
|
|
551
551
|
/**
|
|
552
552
|
*
|
|
553
|
-
* @type {number}
|
|
553
|
+
* @type {number | bigint}
|
|
554
554
|
* @memberof ExtraBonusListResponseData
|
|
555
555
|
*/
|
|
556
|
-
totalNum?: number;
|
|
556
|
+
totalNum?: number | bigint;
|
|
557
557
|
/**
|
|
558
558
|
*
|
|
559
|
-
* @type {number}
|
|
559
|
+
* @type {number | bigint}
|
|
560
560
|
* @memberof ExtraBonusListResponseData
|
|
561
561
|
*/
|
|
562
|
-
pageSize?: number;
|
|
562
|
+
pageSize?: number | bigint;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
/**
|
|
@@ -583,10 +583,10 @@ interface ExtraBonusListResponseData {
|
|
|
583
583
|
interface ExtraBonusListResponse {
|
|
584
584
|
/**
|
|
585
585
|
*
|
|
586
|
-
* @type {number}
|
|
586
|
+
* @type {number | bigint}
|
|
587
587
|
* @memberof ExtraBonusListResponse
|
|
588
588
|
*/
|
|
589
|
-
code?: number;
|
|
589
|
+
code?: number | bigint;
|
|
590
590
|
/**
|
|
591
591
|
*
|
|
592
592
|
* @type {string}
|
|
@@ -639,16 +639,16 @@ interface HashrateResaleDetailResponseDataProfitTransferDetailsInner {
|
|
|
639
639
|
algoName?: string;
|
|
640
640
|
/**
|
|
641
641
|
*
|
|
642
|
-
* @type {number}
|
|
642
|
+
* @type {number | bigint}
|
|
643
643
|
* @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
|
|
644
644
|
*/
|
|
645
|
-
hashRate?: number;
|
|
645
|
+
hashRate?: number | bigint;
|
|
646
646
|
/**
|
|
647
647
|
*
|
|
648
|
-
* @type {number}
|
|
648
|
+
* @type {number | bigint}
|
|
649
649
|
* @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
|
|
650
650
|
*/
|
|
651
|
-
day?: number;
|
|
651
|
+
day?: number | bigint;
|
|
652
652
|
/**
|
|
653
653
|
*
|
|
654
654
|
* @type {number}
|
|
@@ -690,16 +690,16 @@ interface HashrateResaleDetailResponseData {
|
|
|
690
690
|
profitTransferDetails?: Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>;
|
|
691
691
|
/**
|
|
692
692
|
*
|
|
693
|
-
* @type {number}
|
|
693
|
+
* @type {number | bigint}
|
|
694
694
|
* @memberof HashrateResaleDetailResponseData
|
|
695
695
|
*/
|
|
696
|
-
totalNum?: number;
|
|
696
|
+
totalNum?: number | bigint;
|
|
697
697
|
/**
|
|
698
698
|
*
|
|
699
|
-
* @type {number}
|
|
699
|
+
* @type {number | bigint}
|
|
700
700
|
* @memberof HashrateResaleDetailResponseData
|
|
701
701
|
*/
|
|
702
|
-
pageSize?: number;
|
|
702
|
+
pageSize?: number | bigint;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
/**
|
|
@@ -723,10 +723,10 @@ interface HashrateResaleDetailResponseData {
|
|
|
723
723
|
interface HashrateResaleDetailResponse {
|
|
724
724
|
/**
|
|
725
725
|
*
|
|
726
|
-
* @type {number}
|
|
726
|
+
* @type {number | bigint}
|
|
727
727
|
* @memberof HashrateResaleDetailResponse
|
|
728
728
|
*/
|
|
729
|
-
code?: number;
|
|
729
|
+
code?: number | bigint;
|
|
730
730
|
/**
|
|
731
731
|
*
|
|
732
732
|
* @type {string}
|
|
@@ -761,10 +761,10 @@ interface HashrateResaleDetailResponse {
|
|
|
761
761
|
interface HashrateResaleListResponseDataConfigDetailsInner {
|
|
762
762
|
/**
|
|
763
763
|
*
|
|
764
|
-
* @type {number}
|
|
764
|
+
* @type {number | bigint}
|
|
765
765
|
* @memberof HashrateResaleListResponseDataConfigDetailsInner
|
|
766
766
|
*/
|
|
767
|
-
configId?: number;
|
|
767
|
+
configId?: number | bigint;
|
|
768
768
|
/**
|
|
769
769
|
*
|
|
770
770
|
* @type {string}
|
|
@@ -785,28 +785,28 @@ interface HashrateResaleListResponseDataConfigDetailsInner {
|
|
|
785
785
|
algoName?: string;
|
|
786
786
|
/**
|
|
787
787
|
*
|
|
788
|
-
* @type {number}
|
|
788
|
+
* @type {number | bigint}
|
|
789
789
|
* @memberof HashrateResaleListResponseDataConfigDetailsInner
|
|
790
790
|
*/
|
|
791
|
-
hashRate?: number;
|
|
791
|
+
hashRate?: number | bigint;
|
|
792
792
|
/**
|
|
793
793
|
*
|
|
794
|
-
* @type {number}
|
|
794
|
+
* @type {number | bigint}
|
|
795
795
|
* @memberof HashrateResaleListResponseDataConfigDetailsInner
|
|
796
796
|
*/
|
|
797
|
-
startDay?: number;
|
|
797
|
+
startDay?: number | bigint;
|
|
798
798
|
/**
|
|
799
799
|
*
|
|
800
|
-
* @type {number}
|
|
800
|
+
* @type {number | bigint}
|
|
801
801
|
* @memberof HashrateResaleListResponseDataConfigDetailsInner
|
|
802
802
|
*/
|
|
803
|
-
endDay?: number;
|
|
803
|
+
endDay?: number | bigint;
|
|
804
804
|
/**
|
|
805
805
|
*
|
|
806
|
-
* @type {number}
|
|
806
|
+
* @type {number | bigint}
|
|
807
807
|
* @memberof HashrateResaleListResponseDataConfigDetailsInner
|
|
808
808
|
*/
|
|
809
|
-
status?: number;
|
|
809
|
+
status?: number | bigint;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
/**
|
|
@@ -836,16 +836,16 @@ interface HashrateResaleListResponseData {
|
|
|
836
836
|
configDetails?: Array<HashrateResaleListResponseDataConfigDetailsInner>;
|
|
837
837
|
/**
|
|
838
838
|
*
|
|
839
|
-
* @type {number}
|
|
839
|
+
* @type {number | bigint}
|
|
840
840
|
* @memberof HashrateResaleListResponseData
|
|
841
841
|
*/
|
|
842
|
-
totalNum?: number;
|
|
842
|
+
totalNum?: number | bigint;
|
|
843
843
|
/**
|
|
844
844
|
*
|
|
845
|
-
* @type {number}
|
|
845
|
+
* @type {number | bigint}
|
|
846
846
|
* @memberof HashrateResaleListResponseData
|
|
847
847
|
*/
|
|
848
|
-
pageSize?: number;
|
|
848
|
+
pageSize?: number | bigint;
|
|
849
849
|
}
|
|
850
850
|
|
|
851
851
|
/**
|
|
@@ -869,10 +869,10 @@ interface HashrateResaleListResponseData {
|
|
|
869
869
|
interface HashrateResaleListResponse {
|
|
870
870
|
/**
|
|
871
871
|
*
|
|
872
|
-
* @type {number}
|
|
872
|
+
* @type {number | bigint}
|
|
873
873
|
* @memberof HashrateResaleListResponse
|
|
874
874
|
*/
|
|
875
|
-
code?: number;
|
|
875
|
+
code?: number | bigint;
|
|
876
876
|
/**
|
|
877
877
|
*
|
|
878
878
|
* @type {string}
|
|
@@ -907,10 +907,10 @@ interface HashrateResaleListResponse {
|
|
|
907
907
|
interface HashrateResaleRequestResponse {
|
|
908
908
|
/**
|
|
909
909
|
*
|
|
910
|
-
* @type {number}
|
|
910
|
+
* @type {number | bigint}
|
|
911
911
|
* @memberof HashrateResaleRequestResponse
|
|
912
912
|
*/
|
|
913
|
-
code?: number;
|
|
913
|
+
code?: number | bigint;
|
|
914
914
|
/**
|
|
915
915
|
*
|
|
916
916
|
* @type {string}
|
|
@@ -919,10 +919,10 @@ interface HashrateResaleRequestResponse {
|
|
|
919
919
|
msg?: string;
|
|
920
920
|
/**
|
|
921
921
|
*
|
|
922
|
-
* @type {number}
|
|
922
|
+
* @type {number | bigint}
|
|
923
923
|
* @memberof HashrateResaleRequestResponse
|
|
924
924
|
*/
|
|
925
|
-
data?: number;
|
|
925
|
+
data?: number | bigint;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
928
|
/**
|
|
@@ -945,10 +945,10 @@ interface HashrateResaleRequestResponse {
|
|
|
945
945
|
interface MiningAccountEarningResponseDataAccountProfitsInner {
|
|
946
946
|
/**
|
|
947
947
|
*
|
|
948
|
-
* @type {number}
|
|
948
|
+
* @type {number | bigint}
|
|
949
949
|
* @memberof MiningAccountEarningResponseDataAccountProfitsInner
|
|
950
950
|
*/
|
|
951
|
-
time?: number;
|
|
951
|
+
time?: number | bigint;
|
|
952
952
|
/**
|
|
953
953
|
*
|
|
954
954
|
* @type {string}
|
|
@@ -957,16 +957,16 @@ interface MiningAccountEarningResponseDataAccountProfitsInner {
|
|
|
957
957
|
coinName?: string;
|
|
958
958
|
/**
|
|
959
959
|
*
|
|
960
|
-
* @type {number}
|
|
960
|
+
* @type {number | bigint}
|
|
961
961
|
* @memberof MiningAccountEarningResponseDataAccountProfitsInner
|
|
962
962
|
*/
|
|
963
|
-
type?: number;
|
|
963
|
+
type?: number | bigint;
|
|
964
964
|
/**
|
|
965
965
|
*
|
|
966
|
-
* @type {number}
|
|
966
|
+
* @type {number | bigint}
|
|
967
967
|
* @memberof MiningAccountEarningResponseDataAccountProfitsInner
|
|
968
968
|
*/
|
|
969
|
-
puid?: number;
|
|
969
|
+
puid?: number | bigint;
|
|
970
970
|
/**
|
|
971
971
|
*
|
|
972
972
|
* @type {string}
|
|
@@ -1008,16 +1008,16 @@ interface MiningAccountEarningResponseData {
|
|
|
1008
1008
|
accountProfits?: Array<MiningAccountEarningResponseDataAccountProfitsInner>;
|
|
1009
1009
|
/**
|
|
1010
1010
|
*
|
|
1011
|
-
* @type {number}
|
|
1011
|
+
* @type {number | bigint}
|
|
1012
1012
|
* @memberof MiningAccountEarningResponseData
|
|
1013
1013
|
*/
|
|
1014
|
-
totalNum?: number;
|
|
1014
|
+
totalNum?: number | bigint;
|
|
1015
1015
|
/**
|
|
1016
1016
|
*
|
|
1017
|
-
* @type {number}
|
|
1017
|
+
* @type {number | bigint}
|
|
1018
1018
|
* @memberof MiningAccountEarningResponseData
|
|
1019
1019
|
*/
|
|
1020
|
-
pageSize?: number;
|
|
1020
|
+
pageSize?: number | bigint;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
1023
|
/**
|
|
@@ -1041,10 +1041,10 @@ interface MiningAccountEarningResponseData {
|
|
|
1041
1041
|
interface MiningAccountEarningResponse {
|
|
1042
1042
|
/**
|
|
1043
1043
|
*
|
|
1044
|
-
* @type {number}
|
|
1044
|
+
* @type {number | bigint}
|
|
1045
1045
|
* @memberof MiningAccountEarningResponse
|
|
1046
1046
|
*/
|
|
1047
|
-
code?: number;
|
|
1047
|
+
code?: number | bigint;
|
|
1048
1048
|
/**
|
|
1049
1049
|
*
|
|
1050
1050
|
* @type {string}
|
|
@@ -1079,10 +1079,10 @@ interface MiningAccountEarningResponse {
|
|
|
1079
1079
|
interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner {
|
|
1080
1080
|
/**
|
|
1081
1081
|
*
|
|
1082
|
-
* @type {number}
|
|
1082
|
+
* @type {number | bigint}
|
|
1083
1083
|
* @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
|
|
1084
1084
|
*/
|
|
1085
|
-
time?: number;
|
|
1085
|
+
time?: number | bigint;
|
|
1086
1086
|
/**
|
|
1087
1087
|
*
|
|
1088
1088
|
* @type {string}
|
|
@@ -1091,10 +1091,10 @@ interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner {
|
|
|
1091
1091
|
hashrate?: string;
|
|
1092
1092
|
/**
|
|
1093
1093
|
*
|
|
1094
|
-
* @type {number}
|
|
1094
|
+
* @type {number | bigint}
|
|
1095
1095
|
* @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
|
|
1096
1096
|
*/
|
|
1097
|
-
reject?: number;
|
|
1097
|
+
reject?: number | bigint;
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
1100
|
/**
|
|
@@ -1157,10 +1157,10 @@ interface RequestForDetailMinerListResponseDataInner {
|
|
|
1157
1157
|
interface RequestForDetailMinerListResponse {
|
|
1158
1158
|
/**
|
|
1159
1159
|
*
|
|
1160
|
-
* @type {number}
|
|
1160
|
+
* @type {number | bigint}
|
|
1161
1161
|
* @memberof RequestForDetailMinerListResponse
|
|
1162
1162
|
*/
|
|
1163
|
-
code?: number;
|
|
1163
|
+
code?: number | bigint;
|
|
1164
1164
|
/**
|
|
1165
1165
|
*
|
|
1166
1166
|
* @type {string}
|
|
@@ -1207,16 +1207,16 @@ interface RequestForMinerListResponseDataWorkerDatasInner {
|
|
|
1207
1207
|
workerName?: string;
|
|
1208
1208
|
/**
|
|
1209
1209
|
*
|
|
1210
|
-
* @type {number}
|
|
1210
|
+
* @type {number | bigint}
|
|
1211
1211
|
* @memberof RequestForMinerListResponseDataWorkerDatasInner
|
|
1212
1212
|
*/
|
|
1213
|
-
status?: number;
|
|
1213
|
+
status?: number | bigint;
|
|
1214
1214
|
/**
|
|
1215
1215
|
*
|
|
1216
|
-
* @type {number}
|
|
1216
|
+
* @type {number | bigint}
|
|
1217
1217
|
* @memberof RequestForMinerListResponseDataWorkerDatasInner
|
|
1218
1218
|
*/
|
|
1219
|
-
hashRate?: number;
|
|
1219
|
+
hashRate?: number | bigint;
|
|
1220
1220
|
/**
|
|
1221
1221
|
*
|
|
1222
1222
|
* @type {number}
|
|
@@ -1225,16 +1225,16 @@ interface RequestForMinerListResponseDataWorkerDatasInner {
|
|
|
1225
1225
|
dayHashRate?: number;
|
|
1226
1226
|
/**
|
|
1227
1227
|
*
|
|
1228
|
-
* @type {number}
|
|
1228
|
+
* @type {number | bigint}
|
|
1229
1229
|
* @memberof RequestForMinerListResponseDataWorkerDatasInner
|
|
1230
1230
|
*/
|
|
1231
|
-
rejectRate?: number;
|
|
1231
|
+
rejectRate?: number | bigint;
|
|
1232
1232
|
/**
|
|
1233
1233
|
*
|
|
1234
|
-
* @type {number}
|
|
1234
|
+
* @type {number | bigint}
|
|
1235
1235
|
* @memberof RequestForMinerListResponseDataWorkerDatasInner
|
|
1236
1236
|
*/
|
|
1237
|
-
lastShareTime?: number;
|
|
1237
|
+
lastShareTime?: number | bigint;
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
1240
|
/**
|
|
@@ -1264,16 +1264,16 @@ interface RequestForMinerListResponseData {
|
|
|
1264
1264
|
workerDatas?: Array<RequestForMinerListResponseDataWorkerDatasInner>;
|
|
1265
1265
|
/**
|
|
1266
1266
|
*
|
|
1267
|
-
* @type {number}
|
|
1267
|
+
* @type {number | bigint}
|
|
1268
1268
|
* @memberof RequestForMinerListResponseData
|
|
1269
1269
|
*/
|
|
1270
|
-
totalNum?: number;
|
|
1270
|
+
totalNum?: number | bigint;
|
|
1271
1271
|
/**
|
|
1272
1272
|
*
|
|
1273
|
-
* @type {number}
|
|
1273
|
+
* @type {number | bigint}
|
|
1274
1274
|
* @memberof RequestForMinerListResponseData
|
|
1275
1275
|
*/
|
|
1276
|
-
pageSize?: number;
|
|
1276
|
+
pageSize?: number | bigint;
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
1279
|
/**
|
|
@@ -1297,10 +1297,10 @@ interface RequestForMinerListResponseData {
|
|
|
1297
1297
|
interface RequestForMinerListResponse {
|
|
1298
1298
|
/**
|
|
1299
1299
|
*
|
|
1300
|
-
* @type {number}
|
|
1300
|
+
* @type {number | bigint}
|
|
1301
1301
|
* @memberof RequestForMinerListResponse
|
|
1302
1302
|
*/
|
|
1303
|
-
code?: number;
|
|
1303
|
+
code?: number | bigint;
|
|
1304
1304
|
/**
|
|
1305
1305
|
*
|
|
1306
1306
|
* @type {string}
|
|
@@ -1386,16 +1386,16 @@ interface StatisticListResponseData {
|
|
|
1386
1386
|
dayHashRate?: string;
|
|
1387
1387
|
/**
|
|
1388
1388
|
*
|
|
1389
|
-
* @type {number}
|
|
1389
|
+
* @type {number | bigint}
|
|
1390
1390
|
* @memberof StatisticListResponseData
|
|
1391
1391
|
*/
|
|
1392
|
-
validNum?: number;
|
|
1392
|
+
validNum?: number | bigint;
|
|
1393
1393
|
/**
|
|
1394
1394
|
*
|
|
1395
|
-
* @type {number}
|
|
1395
|
+
* @type {number | bigint}
|
|
1396
1396
|
* @memberof StatisticListResponseData
|
|
1397
1397
|
*/
|
|
1398
|
-
invalidNum?: number;
|
|
1398
|
+
invalidNum?: number | bigint;
|
|
1399
1399
|
/**
|
|
1400
1400
|
*
|
|
1401
1401
|
* @type {StatisticListResponseDataProfitToday}
|
|
@@ -1449,10 +1449,10 @@ interface StatisticListResponseData {
|
|
|
1449
1449
|
interface StatisticListResponse {
|
|
1450
1450
|
/**
|
|
1451
1451
|
*
|
|
1452
|
-
* @type {number}
|
|
1452
|
+
* @type {number | bigint}
|
|
1453
1453
|
* @memberof StatisticListResponse
|
|
1454
1454
|
*/
|
|
1455
|
-
code?: number;
|
|
1455
|
+
code?: number | bigint;
|
|
1456
1456
|
/**
|
|
1457
1457
|
*
|
|
1458
1458
|
* @type {string}
|
|
@@ -2265,6 +2265,7 @@ declare class RestAPI {
|
|
|
2265
2265
|
*
|
|
2266
2266
|
* @summary Account List(USER_DATA)
|
|
2267
2267
|
* @param {AccountListRequest} requestParameters Request parameters.
|
|
2268
|
+
*
|
|
2268
2269
|
* @returns {Promise<RestApiResponse<AccountListResponse>>}
|
|
2269
2270
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2270
2271
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
|
|
@@ -2276,6 +2277,7 @@ declare class RestAPI {
|
|
|
2276
2277
|
* Weight: 1
|
|
2277
2278
|
*
|
|
2278
2279
|
* @summary Acquiring Algorithm(MARKET_DATA)
|
|
2280
|
+
*
|
|
2279
2281
|
* @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
|
|
2280
2282
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2281
2283
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
|
|
@@ -2287,6 +2289,7 @@ declare class RestAPI {
|
|
|
2287
2289
|
* Weight: 1
|
|
2288
2290
|
*
|
|
2289
2291
|
* @summary Acquiring CoinName(MARKET_DATA)
|
|
2292
|
+
*
|
|
2290
2293
|
* @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
|
|
2291
2294
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2292
2295
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
|
|
@@ -2298,6 +2301,7 @@ declare class RestAPI {
|
|
|
2298
2301
|
*
|
|
2299
2302
|
* @summary Cancel hashrate resale configuration(USER_DATA)
|
|
2300
2303
|
* @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
|
|
2304
|
+
*
|
|
2301
2305
|
* @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
|
|
2302
2306
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2303
2307
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
|
|
@@ -2310,6 +2314,7 @@ declare class RestAPI {
|
|
|
2310
2314
|
*
|
|
2311
2315
|
* @summary Earnings List(USER_DATA)
|
|
2312
2316
|
* @param {EarningsListRequest} requestParameters Request parameters.
|
|
2317
|
+
*
|
|
2313
2318
|
* @returns {Promise<RestApiResponse<EarningsListResponse>>}
|
|
2314
2319
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2315
2320
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
|
|
@@ -2322,6 +2327,7 @@ declare class RestAPI {
|
|
|
2322
2327
|
*
|
|
2323
2328
|
* @summary Extra Bonus List(USER_DATA)
|
|
2324
2329
|
* @param {ExtraBonusListRequest} requestParameters Request parameters.
|
|
2330
|
+
*
|
|
2325
2331
|
* @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
|
|
2326
2332
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2327
2333
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
|
|
@@ -2334,6 +2340,7 @@ declare class RestAPI {
|
|
|
2334
2340
|
*
|
|
2335
2341
|
* @summary Hashrate Resale Detail(USER_DATA)
|
|
2336
2342
|
* @param {HashrateResaleDetailRequest} requestParameters Request parameters.
|
|
2343
|
+
*
|
|
2337
2344
|
* @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
|
|
2338
2345
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2339
2346
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
|
|
@@ -2346,6 +2353,7 @@ declare class RestAPI {
|
|
|
2346
2353
|
*
|
|
2347
2354
|
* @summary Hashrate Resale List
|
|
2348
2355
|
* @param {HashrateResaleListRequest} requestParameters Request parameters.
|
|
2356
|
+
*
|
|
2349
2357
|
* @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
|
|
2350
2358
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2351
2359
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
|
|
@@ -2358,6 +2366,7 @@ declare class RestAPI {
|
|
|
2358
2366
|
*
|
|
2359
2367
|
* @summary Hashrate Resale Request(USER_DATA)
|
|
2360
2368
|
* @param {HashrateResaleRequestRequest} requestParameters Request parameters.
|
|
2369
|
+
*
|
|
2361
2370
|
* @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
|
|
2362
2371
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2363
2372
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
|
|
@@ -2370,6 +2379,7 @@ declare class RestAPI {
|
|
|
2370
2379
|
*
|
|
2371
2380
|
* @summary Mining Account Earning(USER_DATA)
|
|
2372
2381
|
* @param {MiningAccountEarningRequest} requestParameters Request parameters.
|
|
2382
|
+
*
|
|
2373
2383
|
* @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
|
|
2374
2384
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2375
2385
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
|
|
@@ -2382,6 +2392,7 @@ declare class RestAPI {
|
|
|
2382
2392
|
*
|
|
2383
2393
|
* @summary Request for Detail Miner List(USER_DATA)
|
|
2384
2394
|
* @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
|
|
2395
|
+
*
|
|
2385
2396
|
* @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
|
|
2386
2397
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2387
2398
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
|
|
@@ -2394,6 +2405,7 @@ declare class RestAPI {
|
|
|
2394
2405
|
*
|
|
2395
2406
|
* @summary Request for Miner List(USER_DATA)
|
|
2396
2407
|
* @param {RequestForMinerListRequest} requestParameters Request parameters.
|
|
2408
|
+
*
|
|
2397
2409
|
* @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
|
|
2398
2410
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2399
2411
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
|
|
@@ -2406,6 +2418,7 @@ declare class RestAPI {
|
|
|
2406
2418
|
*
|
|
2407
2419
|
* @summary Statistic List(USER_DATA)
|
|
2408
2420
|
* @param {StatisticListRequest} requestParameters Request parameters.
|
|
2421
|
+
*
|
|
2409
2422
|
* @returns {Promise<RestApiResponse<StatisticListResponse>>}
|
|
2410
2423
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
2411
2424
|
* @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
|