@binance/mining 1.0.0 → 2.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/README.md +0 -15
- package/dist/index.d.mts +75 -157
- package/dist/index.d.ts +75 -157
- package/dist/index.js +17 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -139,21 +139,6 @@ The REST API provides detailed error types to help you handle issues effectively
|
|
|
139
139
|
|
|
140
140
|
See the [Error Handling example](./docs/rest-api/error-handling.md) for detailed usage.
|
|
141
141
|
|
|
142
|
-
#### Testnet
|
|
143
|
-
|
|
144
|
-
For testing purposes, `/sapi/v1/mining/*` endpoints can be used in the [Testnet](https://testnet.binance.vision/). Update the `basePath` in your configuration:
|
|
145
|
-
|
|
146
|
-
```typescript
|
|
147
|
-
import { Mining, MiningRestAPI, MINING_REST_API_TESTNET_URL } from '@binance/mining';
|
|
148
|
-
|
|
149
|
-
const configurationRestAPI = {
|
|
150
|
-
apiKey: 'your-api-key',
|
|
151
|
-
apiSecret: 'your-api-secret',
|
|
152
|
-
basePath: MINING_REST_API_TESTNET_URL,
|
|
153
|
-
};
|
|
154
|
-
const client = new Mining({ configurationRestAPI });
|
|
155
|
-
```
|
|
156
|
-
|
|
157
142
|
If `basePath` is not provided, it defaults to `https://api.binance.com`.
|
|
158
143
|
|
|
159
144
|
## Testing
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
|
|
2
|
-
export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL,
|
|
2
|
+
export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Binance
|
|
5
|
+
* Binance Mining REST API
|
|
6
6
|
*
|
|
7
|
-
* OpenAPI Specification for the Binance
|
|
7
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
8
8
|
*
|
|
9
9
|
* The version of the OpenAPI document: 1.0.0
|
|
10
10
|
*
|
|
@@ -40,9 +40,9 @@ interface AccountListResponseDataInnerListInner {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Binance
|
|
43
|
+
* Binance Mining REST API
|
|
44
44
|
*
|
|
45
|
-
* OpenAPI Specification for the Binance
|
|
45
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
46
46
|
*
|
|
47
47
|
* The version of the OpenAPI document: 1.0.0
|
|
48
48
|
*
|
|
@@ -79,9 +79,9 @@ interface AccountListResponseDataInner {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Binance
|
|
82
|
+
* Binance Mining REST API
|
|
83
83
|
*
|
|
84
|
-
* OpenAPI Specification for the Binance
|
|
84
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
85
85
|
*
|
|
86
86
|
* The version of the OpenAPI document: 1.0.0
|
|
87
87
|
*
|
|
@@ -118,9 +118,9 @@ interface AccountListResponse {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* Binance
|
|
121
|
+
* Binance Mining REST API
|
|
122
122
|
*
|
|
123
|
-
* OpenAPI Specification for the Binance
|
|
123
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
124
124
|
*
|
|
125
125
|
* The version of the OpenAPI document: 1.0.0
|
|
126
126
|
*
|
|
@@ -162,9 +162,9 @@ interface AcquiringAlgorithmResponseDataInner {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* Binance
|
|
165
|
+
* Binance Mining REST API
|
|
166
166
|
*
|
|
167
|
-
* OpenAPI Specification for the Binance
|
|
167
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
168
168
|
*
|
|
169
169
|
* The version of the OpenAPI document: 1.0.0
|
|
170
170
|
*
|
|
@@ -201,9 +201,9 @@ interface AcquiringAlgorithmResponse {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
|
-
* Binance
|
|
204
|
+
* Binance Mining REST API
|
|
205
205
|
*
|
|
206
|
-
* OpenAPI Specification for the Binance
|
|
206
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
207
207
|
*
|
|
208
208
|
* The version of the OpenAPI document: 1.0.0
|
|
209
209
|
*
|
|
@@ -251,9 +251,9 @@ interface AcquiringCoinnameResponseDataInner {
|
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
|
-
* Binance
|
|
254
|
+
* Binance Mining REST API
|
|
255
255
|
*
|
|
256
|
-
* OpenAPI Specification for the Binance
|
|
256
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
257
257
|
*
|
|
258
258
|
* The version of the OpenAPI document: 1.0.0
|
|
259
259
|
*
|
|
@@ -290,41 +290,9 @@ interface AcquiringCoinnameResponse {
|
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* Binance
|
|
293
|
+
* Binance Mining REST API
|
|
294
294
|
*
|
|
295
|
-
* OpenAPI Specification for the Binance
|
|
296
|
-
*
|
|
297
|
-
* The version of the OpenAPI document: 1.0.0
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
301
|
-
* https://openapi-generator.tech
|
|
302
|
-
* Do not edit the class manually.
|
|
303
|
-
*/
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
* @export
|
|
307
|
-
* @interface BadRequest
|
|
308
|
-
*/
|
|
309
|
-
interface BadRequest {
|
|
310
|
-
/**
|
|
311
|
-
*
|
|
312
|
-
* @type {number}
|
|
313
|
-
* @memberof BadRequest
|
|
314
|
-
*/
|
|
315
|
-
code: number;
|
|
316
|
-
/**
|
|
317
|
-
*
|
|
318
|
-
* @type {string}
|
|
319
|
-
* @memberof BadRequest
|
|
320
|
-
*/
|
|
321
|
-
message: string;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Binance Public Mining REST API
|
|
326
|
-
*
|
|
327
|
-
* OpenAPI Specification for the Binance Public Mining REST API
|
|
295
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
328
296
|
*
|
|
329
297
|
* The version of the OpenAPI document: 1.0.0
|
|
330
298
|
*
|
|
@@ -360,9 +328,9 @@ interface CancelHashrateResaleConfigurationResponse {
|
|
|
360
328
|
}
|
|
361
329
|
|
|
362
330
|
/**
|
|
363
|
-
* Binance
|
|
331
|
+
* Binance Mining REST API
|
|
364
332
|
*
|
|
365
|
-
* OpenAPI Specification for the Binance
|
|
333
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
366
334
|
*
|
|
367
335
|
* The version of the OpenAPI document: 1.0.0
|
|
368
336
|
*
|
|
@@ -428,9 +396,9 @@ interface EarningsListResponseDataAccountProfitsInner {
|
|
|
428
396
|
}
|
|
429
397
|
|
|
430
398
|
/**
|
|
431
|
-
* Binance
|
|
399
|
+
* Binance Mining REST API
|
|
432
400
|
*
|
|
433
|
-
* OpenAPI Specification for the Binance
|
|
401
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
434
402
|
*
|
|
435
403
|
* The version of the OpenAPI document: 1.0.0
|
|
436
404
|
*
|
|
@@ -467,9 +435,9 @@ interface EarningsListResponseData {
|
|
|
467
435
|
}
|
|
468
436
|
|
|
469
437
|
/**
|
|
470
|
-
* Binance
|
|
438
|
+
* Binance Mining REST API
|
|
471
439
|
*
|
|
472
|
-
* OpenAPI Specification for the Binance
|
|
440
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
473
441
|
*
|
|
474
442
|
* The version of the OpenAPI document: 1.0.0
|
|
475
443
|
*
|
|
@@ -506,9 +474,9 @@ interface EarningsListResponse {
|
|
|
506
474
|
}
|
|
507
475
|
|
|
508
476
|
/**
|
|
509
|
-
* Binance
|
|
477
|
+
* Binance Mining REST API
|
|
510
478
|
*
|
|
511
|
-
* OpenAPI Specification for the Binance
|
|
479
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
512
480
|
*
|
|
513
481
|
* The version of the OpenAPI document: 1.0.0
|
|
514
482
|
*
|
|
@@ -556,9 +524,9 @@ interface ExtraBonusListResponseDataOtherProfitsInner {
|
|
|
556
524
|
}
|
|
557
525
|
|
|
558
526
|
/**
|
|
559
|
-
* Binance
|
|
527
|
+
* Binance Mining REST API
|
|
560
528
|
*
|
|
561
|
-
* OpenAPI Specification for the Binance
|
|
529
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
562
530
|
*
|
|
563
531
|
* The version of the OpenAPI document: 1.0.0
|
|
564
532
|
*
|
|
@@ -595,9 +563,9 @@ interface ExtraBonusListResponseData {
|
|
|
595
563
|
}
|
|
596
564
|
|
|
597
565
|
/**
|
|
598
|
-
* Binance
|
|
566
|
+
* Binance Mining REST API
|
|
599
567
|
*
|
|
600
|
-
* OpenAPI Specification for the Binance
|
|
568
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
601
569
|
*
|
|
602
570
|
* The version of the OpenAPI document: 1.0.0
|
|
603
571
|
*
|
|
@@ -634,9 +602,9 @@ interface ExtraBonusListResponse {
|
|
|
634
602
|
}
|
|
635
603
|
|
|
636
604
|
/**
|
|
637
|
-
* Binance
|
|
605
|
+
* Binance Mining REST API
|
|
638
606
|
*
|
|
639
|
-
* OpenAPI Specification for the Binance
|
|
607
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
640
608
|
*
|
|
641
609
|
* The version of the OpenAPI document: 1.0.0
|
|
642
610
|
*
|
|
@@ -696,9 +664,9 @@ interface HashrateResaleDetailResponseDataProfitTransferDetailsInner {
|
|
|
696
664
|
}
|
|
697
665
|
|
|
698
666
|
/**
|
|
699
|
-
* Binance
|
|
667
|
+
* Binance Mining REST API
|
|
700
668
|
*
|
|
701
|
-
* OpenAPI Specification for the Binance
|
|
669
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
702
670
|
*
|
|
703
671
|
* The version of the OpenAPI document: 1.0.0
|
|
704
672
|
*
|
|
@@ -735,9 +703,9 @@ interface HashrateResaleDetailResponseData {
|
|
|
735
703
|
}
|
|
736
704
|
|
|
737
705
|
/**
|
|
738
|
-
* Binance
|
|
706
|
+
* Binance Mining REST API
|
|
739
707
|
*
|
|
740
|
-
* OpenAPI Specification for the Binance
|
|
708
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
741
709
|
*
|
|
742
710
|
* The version of the OpenAPI document: 1.0.0
|
|
743
711
|
*
|
|
@@ -774,9 +742,9 @@ interface HashrateResaleDetailResponse {
|
|
|
774
742
|
}
|
|
775
743
|
|
|
776
744
|
/**
|
|
777
|
-
* Binance
|
|
745
|
+
* Binance Mining REST API
|
|
778
746
|
*
|
|
779
|
-
* OpenAPI Specification for the Binance
|
|
747
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
780
748
|
*
|
|
781
749
|
* The version of the OpenAPI document: 1.0.0
|
|
782
750
|
*
|
|
@@ -842,9 +810,9 @@ interface HashrateResaleListResponseDataConfigDetailsInner {
|
|
|
842
810
|
}
|
|
843
811
|
|
|
844
812
|
/**
|
|
845
|
-
* Binance
|
|
813
|
+
* Binance Mining REST API
|
|
846
814
|
*
|
|
847
|
-
* OpenAPI Specification for the Binance
|
|
815
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
848
816
|
*
|
|
849
817
|
* The version of the OpenAPI document: 1.0.0
|
|
850
818
|
*
|
|
@@ -881,9 +849,9 @@ interface HashrateResaleListResponseData {
|
|
|
881
849
|
}
|
|
882
850
|
|
|
883
851
|
/**
|
|
884
|
-
* Binance
|
|
852
|
+
* Binance Mining REST API
|
|
885
853
|
*
|
|
886
|
-
* OpenAPI Specification for the Binance
|
|
854
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
887
855
|
*
|
|
888
856
|
* The version of the OpenAPI document: 1.0.0
|
|
889
857
|
*
|
|
@@ -920,9 +888,9 @@ interface HashrateResaleListResponse {
|
|
|
920
888
|
}
|
|
921
889
|
|
|
922
890
|
/**
|
|
923
|
-
* Binance
|
|
891
|
+
* Binance Mining REST API
|
|
924
892
|
*
|
|
925
|
-
* OpenAPI Specification for the Binance
|
|
893
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
926
894
|
*
|
|
927
895
|
* The version of the OpenAPI document: 1.0.0
|
|
928
896
|
*
|
|
@@ -958,9 +926,9 @@ interface HashrateResaleRequestResponse {
|
|
|
958
926
|
}
|
|
959
927
|
|
|
960
928
|
/**
|
|
961
|
-
* Binance
|
|
929
|
+
* Binance Mining REST API
|
|
962
930
|
*
|
|
963
|
-
* OpenAPI Specification for the Binance
|
|
931
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
964
932
|
*
|
|
965
933
|
* The version of the OpenAPI document: 1.0.0
|
|
966
934
|
*
|
|
@@ -1014,9 +982,9 @@ interface MiningAccountEarningResponseDataAccountProfitsInner {
|
|
|
1014
982
|
}
|
|
1015
983
|
|
|
1016
984
|
/**
|
|
1017
|
-
* Binance
|
|
985
|
+
* Binance Mining REST API
|
|
1018
986
|
*
|
|
1019
|
-
* OpenAPI Specification for the Binance
|
|
987
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1020
988
|
*
|
|
1021
989
|
* The version of the OpenAPI document: 1.0.0
|
|
1022
990
|
*
|
|
@@ -1053,9 +1021,9 @@ interface MiningAccountEarningResponseData {
|
|
|
1053
1021
|
}
|
|
1054
1022
|
|
|
1055
1023
|
/**
|
|
1056
|
-
* Binance
|
|
1024
|
+
* Binance Mining REST API
|
|
1057
1025
|
*
|
|
1058
|
-
* OpenAPI Specification for the Binance
|
|
1026
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1059
1027
|
*
|
|
1060
1028
|
* The version of the OpenAPI document: 1.0.0
|
|
1061
1029
|
*
|
|
@@ -1092,9 +1060,9 @@ interface MiningAccountEarningResponse {
|
|
|
1092
1060
|
}
|
|
1093
1061
|
|
|
1094
1062
|
/**
|
|
1095
|
-
* Binance
|
|
1063
|
+
* Binance Mining REST API
|
|
1096
1064
|
*
|
|
1097
|
-
* OpenAPI Specification for the Binance
|
|
1065
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1098
1066
|
*
|
|
1099
1067
|
* The version of the OpenAPI document: 1.0.0
|
|
1100
1068
|
*
|
|
@@ -1130,9 +1098,9 @@ interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner {
|
|
|
1130
1098
|
}
|
|
1131
1099
|
|
|
1132
1100
|
/**
|
|
1133
|
-
* Binance
|
|
1101
|
+
* Binance Mining REST API
|
|
1134
1102
|
*
|
|
1135
|
-
* OpenAPI Specification for the Binance
|
|
1103
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1136
1104
|
*
|
|
1137
1105
|
* The version of the OpenAPI document: 1.0.0
|
|
1138
1106
|
*
|
|
@@ -1169,9 +1137,9 @@ interface RequestForDetailMinerListResponseDataInner {
|
|
|
1169
1137
|
}
|
|
1170
1138
|
|
|
1171
1139
|
/**
|
|
1172
|
-
* Binance
|
|
1140
|
+
* Binance Mining REST API
|
|
1173
1141
|
*
|
|
1174
|
-
* OpenAPI Specification for the Binance
|
|
1142
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1175
1143
|
*
|
|
1176
1144
|
* The version of the OpenAPI document: 1.0.0
|
|
1177
1145
|
*
|
|
@@ -1208,9 +1176,9 @@ interface RequestForDetailMinerListResponse {
|
|
|
1208
1176
|
}
|
|
1209
1177
|
|
|
1210
1178
|
/**
|
|
1211
|
-
* Binance
|
|
1179
|
+
* Binance Mining REST API
|
|
1212
1180
|
*
|
|
1213
|
-
* OpenAPI Specification for the Binance
|
|
1181
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1214
1182
|
*
|
|
1215
1183
|
* The version of the OpenAPI document: 1.0.0
|
|
1216
1184
|
*
|
|
@@ -1270,9 +1238,9 @@ interface RequestForMinerListResponseDataWorkerDatasInner {
|
|
|
1270
1238
|
}
|
|
1271
1239
|
|
|
1272
1240
|
/**
|
|
1273
|
-
* Binance
|
|
1241
|
+
* Binance Mining REST API
|
|
1274
1242
|
*
|
|
1275
|
-
* OpenAPI Specification for the Binance
|
|
1243
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1276
1244
|
*
|
|
1277
1245
|
* The version of the OpenAPI document: 1.0.0
|
|
1278
1246
|
*
|
|
@@ -1309,9 +1277,9 @@ interface RequestForMinerListResponseData {
|
|
|
1309
1277
|
}
|
|
1310
1278
|
|
|
1311
1279
|
/**
|
|
1312
|
-
* Binance
|
|
1280
|
+
* Binance Mining REST API
|
|
1313
1281
|
*
|
|
1314
|
-
* OpenAPI Specification for the Binance
|
|
1282
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1315
1283
|
*
|
|
1316
1284
|
* The version of the OpenAPI document: 1.0.0
|
|
1317
1285
|
*
|
|
@@ -1348,9 +1316,9 @@ interface RequestForMinerListResponse {
|
|
|
1348
1316
|
}
|
|
1349
1317
|
|
|
1350
1318
|
/**
|
|
1351
|
-
* Binance
|
|
1319
|
+
* Binance Mining REST API
|
|
1352
1320
|
*
|
|
1353
|
-
* OpenAPI Specification for the Binance
|
|
1321
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1354
1322
|
*
|
|
1355
1323
|
* The version of the OpenAPI document: 1.0.0
|
|
1356
1324
|
*
|
|
@@ -1386,9 +1354,9 @@ interface StatisticListResponseDataProfitToday {
|
|
|
1386
1354
|
}
|
|
1387
1355
|
|
|
1388
1356
|
/**
|
|
1389
|
-
* Binance
|
|
1357
|
+
* Binance Mining REST API
|
|
1390
1358
|
*
|
|
1391
|
-
* OpenAPI Specification for the Binance
|
|
1359
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1392
1360
|
*
|
|
1393
1361
|
* The version of the OpenAPI document: 1.0.0
|
|
1394
1362
|
*
|
|
@@ -1461,9 +1429,9 @@ interface StatisticListResponseData {
|
|
|
1461
1429
|
}
|
|
1462
1430
|
|
|
1463
1431
|
/**
|
|
1464
|
-
* Binance
|
|
1432
|
+
* Binance Mining REST API
|
|
1465
1433
|
*
|
|
1466
|
-
* OpenAPI Specification for the Binance
|
|
1434
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1467
1435
|
*
|
|
1468
1436
|
* The version of the OpenAPI document: 1.0.0
|
|
1469
1437
|
*
|
|
@@ -1500,9 +1468,9 @@ interface StatisticListResponse {
|
|
|
1500
1468
|
}
|
|
1501
1469
|
|
|
1502
1470
|
/**
|
|
1503
|
-
* Binance
|
|
1471
|
+
* Binance Mining REST API
|
|
1504
1472
|
*
|
|
1505
|
-
* OpenAPI Specification for the Binance
|
|
1473
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
1506
1474
|
*
|
|
1507
1475
|
* The version of the OpenAPI document: 1.0.0
|
|
1508
1476
|
*
|
|
@@ -2256,9 +2224,9 @@ declare class MiningApi implements MiningApiInterface {
|
|
|
2256
2224
|
}
|
|
2257
2225
|
|
|
2258
2226
|
/**
|
|
2259
|
-
* Binance
|
|
2227
|
+
* Binance Mining REST API
|
|
2260
2228
|
*
|
|
2261
|
-
* OpenAPI Specification for the Binance
|
|
2229
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
2262
2230
|
*
|
|
2263
2231
|
* The version of the OpenAPI document: 1.0.0
|
|
2264
2232
|
*
|
|
@@ -2446,9 +2414,9 @@ declare class RestAPI {
|
|
|
2446
2414
|
}
|
|
2447
2415
|
|
|
2448
2416
|
/**
|
|
2449
|
-
* Binance
|
|
2417
|
+
* Binance Mining REST API
|
|
2450
2418
|
*
|
|
2451
|
-
* OpenAPI Specification for the Binance
|
|
2419
|
+
* OpenAPI Specification for the Binance Mining REST API
|
|
2452
2420
|
*
|
|
2453
2421
|
* The version of the OpenAPI document: 1.0.0
|
|
2454
2422
|
*
|
|
@@ -2466,7 +2434,6 @@ type index_AcquiringAlgorithmResponse = AcquiringAlgorithmResponse;
|
|
|
2466
2434
|
type index_AcquiringAlgorithmResponseDataInner = AcquiringAlgorithmResponseDataInner;
|
|
2467
2435
|
type index_AcquiringCoinnameResponse = AcquiringCoinnameResponse;
|
|
2468
2436
|
type index_AcquiringCoinnameResponseDataInner = AcquiringCoinnameResponseDataInner;
|
|
2469
|
-
type index_BadRequest = BadRequest;
|
|
2470
2437
|
type index_CancelHashrateResaleConfigurationRequest = CancelHashrateResaleConfigurationRequest;
|
|
2471
2438
|
type index_CancelHashrateResaleConfigurationResponse = CancelHashrateResaleConfigurationResponse;
|
|
2472
2439
|
type index_EarningsListRequest = EarningsListRequest;
|
|
@@ -2509,56 +2476,7 @@ type index_StatisticListResponse = StatisticListResponse;
|
|
|
2509
2476
|
type index_StatisticListResponseData = StatisticListResponseData;
|
|
2510
2477
|
type index_StatisticListResponseDataProfitToday = StatisticListResponseDataProfitToday;
|
|
2511
2478
|
declare namespace index {
|
|
2512
|
-
export {
|
|
2513
|
-
index_AccountListRequest as AccountListRequest,
|
|
2514
|
-
index_AccountListResponse as AccountListResponse,
|
|
2515
|
-
index_AccountListResponseDataInner as AccountListResponseDataInner,
|
|
2516
|
-
index_AccountListResponseDataInnerListInner as AccountListResponseDataInnerListInner,
|
|
2517
|
-
index_AcquiringAlgorithmResponse as AcquiringAlgorithmResponse,
|
|
2518
|
-
index_AcquiringAlgorithmResponseDataInner as AcquiringAlgorithmResponseDataInner,
|
|
2519
|
-
index_AcquiringCoinnameResponse as AcquiringCoinnameResponse,
|
|
2520
|
-
index_AcquiringCoinnameResponseDataInner as AcquiringCoinnameResponseDataInner,
|
|
2521
|
-
index_BadRequest as BadRequest,
|
|
2522
|
-
index_CancelHashrateResaleConfigurationRequest as CancelHashrateResaleConfigurationRequest,
|
|
2523
|
-
index_CancelHashrateResaleConfigurationResponse as CancelHashrateResaleConfigurationResponse,
|
|
2524
|
-
index_EarningsListRequest as EarningsListRequest,
|
|
2525
|
-
index_EarningsListResponse as EarningsListResponse,
|
|
2526
|
-
index_EarningsListResponseData as EarningsListResponseData,
|
|
2527
|
-
index_EarningsListResponseDataAccountProfitsInner as EarningsListResponseDataAccountProfitsInner,
|
|
2528
|
-
index_ExtraBonusListRequest as ExtraBonusListRequest,
|
|
2529
|
-
index_ExtraBonusListResponse as ExtraBonusListResponse,
|
|
2530
|
-
index_ExtraBonusListResponseData as ExtraBonusListResponseData,
|
|
2531
|
-
index_ExtraBonusListResponseDataOtherProfitsInner as ExtraBonusListResponseDataOtherProfitsInner,
|
|
2532
|
-
index_HashrateResaleDetailRequest as HashrateResaleDetailRequest,
|
|
2533
|
-
index_HashrateResaleDetailResponse as HashrateResaleDetailResponse,
|
|
2534
|
-
index_HashrateResaleDetailResponseData as HashrateResaleDetailResponseData,
|
|
2535
|
-
index_HashrateResaleDetailResponseDataProfitTransferDetailsInner as HashrateResaleDetailResponseDataProfitTransferDetailsInner,
|
|
2536
|
-
index_HashrateResaleListRequest as HashrateResaleListRequest,
|
|
2537
|
-
index_HashrateResaleListResponse as HashrateResaleListResponse,
|
|
2538
|
-
index_HashrateResaleListResponseData as HashrateResaleListResponseData,
|
|
2539
|
-
index_HashrateResaleListResponseDataConfigDetailsInner as HashrateResaleListResponseDataConfigDetailsInner,
|
|
2540
|
-
index_HashrateResaleRequestRequest as HashrateResaleRequestRequest,
|
|
2541
|
-
index_HashrateResaleRequestResponse as HashrateResaleRequestResponse,
|
|
2542
|
-
index_MiningAccountEarningRequest as MiningAccountEarningRequest,
|
|
2543
|
-
index_MiningAccountEarningResponse as MiningAccountEarningResponse,
|
|
2544
|
-
index_MiningAccountEarningResponseData as MiningAccountEarningResponseData,
|
|
2545
|
-
index_MiningAccountEarningResponseDataAccountProfitsInner as MiningAccountEarningResponseDataAccountProfitsInner,
|
|
2546
|
-
index_MiningApi as MiningApi,
|
|
2547
|
-
index_MiningApiInterface as MiningApiInterface,
|
|
2548
|
-
index_RequestForDetailMinerListRequest as RequestForDetailMinerListRequest,
|
|
2549
|
-
index_RequestForDetailMinerListResponse as RequestForDetailMinerListResponse,
|
|
2550
|
-
index_RequestForDetailMinerListResponseDataInner as RequestForDetailMinerListResponseDataInner,
|
|
2551
|
-
index_RequestForDetailMinerListResponseDataInnerHashrateDatasInner as RequestForDetailMinerListResponseDataInnerHashrateDatasInner,
|
|
2552
|
-
index_RequestForMinerListRequest as RequestForMinerListRequest,
|
|
2553
|
-
index_RequestForMinerListResponse as RequestForMinerListResponse,
|
|
2554
|
-
index_RequestForMinerListResponseData as RequestForMinerListResponseData,
|
|
2555
|
-
index_RequestForMinerListResponseDataWorkerDatasInner as RequestForMinerListResponseDataWorkerDatasInner,
|
|
2556
|
-
index_RestAPI as RestAPI,
|
|
2557
|
-
index_StatisticListRequest as StatisticListRequest,
|
|
2558
|
-
index_StatisticListResponse as StatisticListResponse,
|
|
2559
|
-
index_StatisticListResponseData as StatisticListResponseData,
|
|
2560
|
-
index_StatisticListResponseDataProfitToday as StatisticListResponseDataProfitToday,
|
|
2561
|
-
};
|
|
2479
|
+
export { type index_AccountListRequest as AccountListRequest, type index_AccountListResponse as AccountListResponse, type index_AccountListResponseDataInner as AccountListResponseDataInner, type index_AccountListResponseDataInnerListInner as AccountListResponseDataInnerListInner, type index_AcquiringAlgorithmResponse as AcquiringAlgorithmResponse, type index_AcquiringAlgorithmResponseDataInner as AcquiringAlgorithmResponseDataInner, type index_AcquiringCoinnameResponse as AcquiringCoinnameResponse, type index_AcquiringCoinnameResponseDataInner as AcquiringCoinnameResponseDataInner, type index_CancelHashrateResaleConfigurationRequest as CancelHashrateResaleConfigurationRequest, type index_CancelHashrateResaleConfigurationResponse as CancelHashrateResaleConfigurationResponse, type index_EarningsListRequest as EarningsListRequest, type index_EarningsListResponse as EarningsListResponse, type index_EarningsListResponseData as EarningsListResponseData, type index_EarningsListResponseDataAccountProfitsInner as EarningsListResponseDataAccountProfitsInner, type index_ExtraBonusListRequest as ExtraBonusListRequest, type index_ExtraBonusListResponse as ExtraBonusListResponse, type index_ExtraBonusListResponseData as ExtraBonusListResponseData, type index_ExtraBonusListResponseDataOtherProfitsInner as ExtraBonusListResponseDataOtherProfitsInner, type index_HashrateResaleDetailRequest as HashrateResaleDetailRequest, type index_HashrateResaleDetailResponse as HashrateResaleDetailResponse, type index_HashrateResaleDetailResponseData as HashrateResaleDetailResponseData, type index_HashrateResaleDetailResponseDataProfitTransferDetailsInner as HashrateResaleDetailResponseDataProfitTransferDetailsInner, type index_HashrateResaleListRequest as HashrateResaleListRequest, type index_HashrateResaleListResponse as HashrateResaleListResponse, type index_HashrateResaleListResponseData as HashrateResaleListResponseData, type index_HashrateResaleListResponseDataConfigDetailsInner as HashrateResaleListResponseDataConfigDetailsInner, type index_HashrateResaleRequestRequest as HashrateResaleRequestRequest, type index_HashrateResaleRequestResponse as HashrateResaleRequestResponse, type index_MiningAccountEarningRequest as MiningAccountEarningRequest, type index_MiningAccountEarningResponse as MiningAccountEarningResponse, type index_MiningAccountEarningResponseData as MiningAccountEarningResponseData, type index_MiningAccountEarningResponseDataAccountProfitsInner as MiningAccountEarningResponseDataAccountProfitsInner, index_MiningApi as MiningApi, type index_MiningApiInterface as MiningApiInterface, type index_RequestForDetailMinerListRequest as RequestForDetailMinerListRequest, type index_RequestForDetailMinerListResponse as RequestForDetailMinerListResponse, type index_RequestForDetailMinerListResponseDataInner as RequestForDetailMinerListResponseDataInner, type index_RequestForDetailMinerListResponseDataInnerHashrateDatasInner as RequestForDetailMinerListResponseDataInnerHashrateDatasInner, type index_RequestForMinerListRequest as RequestForMinerListRequest, type index_RequestForMinerListResponse as RequestForMinerListResponse, type index_RequestForMinerListResponseData as RequestForMinerListResponseData, type index_RequestForMinerListResponseDataWorkerDatasInner as RequestForMinerListResponseDataWorkerDatasInner, index_RestAPI as RestAPI, type index_StatisticListRequest as StatisticListRequest, type index_StatisticListResponse as StatisticListResponse, type index_StatisticListResponseData as StatisticListResponseData, type index_StatisticListResponseDataProfitToday as StatisticListResponseDataProfitToday };
|
|
2562
2480
|
}
|
|
2563
2481
|
|
|
2564
2482
|
interface ConfigurationMining {
|
|
@@ -2569,4 +2487,4 @@ declare class Mining {
|
|
|
2569
2487
|
constructor(config: ConfigurationMining);
|
|
2570
2488
|
}
|
|
2571
2489
|
|
|
2572
|
-
export { ConfigurationMining, Mining, index as MiningRestAPI };
|
|
2490
|
+
export { type ConfigurationMining, Mining, index as MiningRestAPI };
|