@binance/mining 4.0.0 → 4.0.2

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 CHANGED
@@ -1,5 +1,6 @@
1
- import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
1
+ import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
2
+
3
+ //#region src/rest-api/types/account-list-response-data-inner-list-inner.d.ts
3
4
 
4
5
  /**
5
6
  * Binance Mining REST API
@@ -19,38 +20,27 @@ export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_
19
20
  * @interface AccountListResponseDataInnerListInner
20
21
  */
21
22
  interface AccountListResponseDataInnerListInner {
22
- /**
23
- *
24
- * @type {number | bigint}
25
- * @memberof AccountListResponseDataInnerListInner
26
- */
27
- time?: number | bigint;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof AccountListResponseDataInnerListInner
32
- */
33
- hashrate?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof AccountListResponseDataInnerListInner
38
- */
39
- reject?: string;
23
+ /**
24
+ *
25
+ * @type {number | bigint}
26
+ * @memberof AccountListResponseDataInnerListInner
27
+ */
28
+ time?: number | bigint;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof AccountListResponseDataInnerListInner
33
+ */
34
+ hashrate?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof AccountListResponseDataInnerListInner
39
+ */
40
+ reject?: string;
40
41
  }
41
-
42
- /**
43
- * Binance Mining REST API
44
- *
45
- * OpenAPI Specification for the Binance Mining REST API
46
- *
47
- * The version of the OpenAPI document: 1.0.0
48
- *
49
- *
50
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
51
- * https://openapi-generator.tech
52
- * Do not edit the class manually.
53
- */
42
+ //#endregion
43
+ //#region src/rest-api/types/account-list-response-data-inner.d.ts
54
44
 
55
45
  /**
56
46
  *
@@ -58,38 +48,27 @@ interface AccountListResponseDataInnerListInner {
58
48
  * @interface AccountListResponseDataInner
59
49
  */
60
50
  interface AccountListResponseDataInner {
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof AccountListResponseDataInner
65
- */
66
- type?: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof AccountListResponseDataInner
71
- */
72
- userName?: string;
73
- /**
74
- *
75
- * @type {Array<AccountListResponseDataInnerListInner>}
76
- * @memberof AccountListResponseDataInner
77
- */
78
- list?: Array<AccountListResponseDataInnerListInner>;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof AccountListResponseDataInner
55
+ */
56
+ type?: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof AccountListResponseDataInner
61
+ */
62
+ userName?: string;
63
+ /**
64
+ *
65
+ * @type {Array<AccountListResponseDataInnerListInner>}
66
+ * @memberof AccountListResponseDataInner
67
+ */
68
+ list?: Array<AccountListResponseDataInnerListInner>;
79
69
  }
80
-
81
- /**
82
- * Binance Mining REST API
83
- *
84
- * OpenAPI Specification for the Binance Mining REST API
85
- *
86
- * The version of the OpenAPI document: 1.0.0
87
- *
88
- *
89
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
90
- * https://openapi-generator.tech
91
- * Do not edit the class manually.
92
- */
70
+ //#endregion
71
+ //#region src/rest-api/types/account-list-response.d.ts
93
72
 
94
73
  /**
95
74
  *
@@ -97,26 +76,27 @@ interface AccountListResponseDataInner {
97
76
  * @interface AccountListResponse
98
77
  */
99
78
  interface AccountListResponse {
100
- /**
101
- *
102
- * @type {number | bigint}
103
- * @memberof AccountListResponse
104
- */
105
- code?: number | bigint;
106
- /**
107
- *
108
- * @type {string}
109
- * @memberof AccountListResponse
110
- */
111
- msg?: string;
112
- /**
113
- *
114
- * @type {Array<AccountListResponseDataInner>}
115
- * @memberof AccountListResponse
116
- */
117
- data?: Array<AccountListResponseDataInner>;
79
+ /**
80
+ *
81
+ * @type {number | bigint}
82
+ * @memberof AccountListResponse
83
+ */
84
+ code?: number | bigint;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof AccountListResponse
89
+ */
90
+ msg?: string;
91
+ /**
92
+ *
93
+ * @type {Array<AccountListResponseDataInner>}
94
+ * @memberof AccountListResponse
95
+ */
96
+ data?: Array<AccountListResponseDataInner>;
118
97
  }
119
-
98
+ //#endregion
99
+ //#region src/rest-api/types/acquiring-algorithm-response-data-inner.d.ts
120
100
  /**
121
101
  * Binance Mining REST API
122
102
  *
@@ -135,71 +115,60 @@ interface AccountListResponse {
135
115
  * @interface AcquiringAlgorithmResponseDataInner
136
116
  */
137
117
  interface AcquiringAlgorithmResponseDataInner {
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof AcquiringAlgorithmResponseDataInner
142
- */
143
- algoName?: string;
144
- /**
145
- *
146
- * @type {number | bigint}
147
- * @memberof AcquiringAlgorithmResponseDataInner
148
- */
149
- algoId?: number | bigint;
150
- /**
151
- *
152
- * @type {number | bigint}
153
- * @memberof AcquiringAlgorithmResponseDataInner
154
- */
155
- poolIndex?: number | bigint;
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof AcquiringAlgorithmResponseDataInner
160
- */
161
- unit?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof AcquiringAlgorithmResponseDataInner
122
+ */
123
+ algoName?: string;
124
+ /**
125
+ *
126
+ * @type {number | bigint}
127
+ * @memberof AcquiringAlgorithmResponseDataInner
128
+ */
129
+ algoId?: number | bigint;
130
+ /**
131
+ *
132
+ * @type {number | bigint}
133
+ * @memberof AcquiringAlgorithmResponseDataInner
134
+ */
135
+ poolIndex?: number | bigint;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof AcquiringAlgorithmResponseDataInner
140
+ */
141
+ unit?: string;
162
142
  }
163
-
164
- /**
165
- * Binance Mining REST API
166
- *
167
- * OpenAPI Specification for the Binance Mining REST API
168
- *
169
- * The version of the OpenAPI document: 1.0.0
170
- *
171
- *
172
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
173
- * https://openapi-generator.tech
174
- * Do not edit the class manually.
175
- */
176
-
143
+ //#endregion
144
+ //#region src/rest-api/types/acquiring-algorithm-response.d.ts
177
145
  /**
178
146
  *
179
147
  * @export
180
148
  * @interface AcquiringAlgorithmResponse
181
149
  */
182
150
  interface AcquiringAlgorithmResponse {
183
- /**
184
- *
185
- * @type {number | bigint}
186
- * @memberof AcquiringAlgorithmResponse
187
- */
188
- code?: number | bigint;
189
- /**
190
- *
191
- * @type {string}
192
- * @memberof AcquiringAlgorithmResponse
193
- */
194
- msg?: string;
195
- /**
196
- *
197
- * @type {Array<AcquiringAlgorithmResponseDataInner>}
198
- * @memberof AcquiringAlgorithmResponse
199
- */
200
- data?: Array<AcquiringAlgorithmResponseDataInner>;
151
+ /**
152
+ *
153
+ * @type {number | bigint}
154
+ * @memberof AcquiringAlgorithmResponse
155
+ */
156
+ code?: number | bigint;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof AcquiringAlgorithmResponse
161
+ */
162
+ msg?: string;
163
+ /**
164
+ *
165
+ * @type {Array<AcquiringAlgorithmResponseDataInner>}
166
+ * @memberof AcquiringAlgorithmResponse
167
+ */
168
+ data?: Array<AcquiringAlgorithmResponseDataInner>;
201
169
  }
202
-
170
+ //#endregion
171
+ //#region src/rest-api/types/acquiring-coinname-response-data-inner.d.ts
203
172
  /**
204
173
  * Binance Mining REST API
205
174
  *
@@ -218,77 +187,66 @@ interface AcquiringAlgorithmResponse {
218
187
  * @interface AcquiringCoinnameResponseDataInner
219
188
  */
220
189
  interface AcquiringCoinnameResponseDataInner {
221
- /**
222
- *
223
- * @type {string}
224
- * @memberof AcquiringCoinnameResponseDataInner
225
- */
226
- coinName?: string;
227
- /**
228
- *
229
- * @type {number | bigint}
230
- * @memberof AcquiringCoinnameResponseDataInner
231
- */
232
- coinId?: number | bigint;
233
- /**
234
- *
235
- * @type {number | bigint}
236
- * @memberof AcquiringCoinnameResponseDataInner
237
- */
238
- poolIndex?: number | bigint;
239
- /**
240
- *
241
- * @type {number | bigint}
242
- * @memberof AcquiringCoinnameResponseDataInner
243
- */
244
- algoId?: number | bigint;
245
- /**
246
- *
247
- * @type {string}
248
- * @memberof AcquiringCoinnameResponseDataInner
249
- */
250
- algoName?: string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof AcquiringCoinnameResponseDataInner
194
+ */
195
+ coinName?: string;
196
+ /**
197
+ *
198
+ * @type {number | bigint}
199
+ * @memberof AcquiringCoinnameResponseDataInner
200
+ */
201
+ coinId?: number | bigint;
202
+ /**
203
+ *
204
+ * @type {number | bigint}
205
+ * @memberof AcquiringCoinnameResponseDataInner
206
+ */
207
+ poolIndex?: number | bigint;
208
+ /**
209
+ *
210
+ * @type {number | bigint}
211
+ * @memberof AcquiringCoinnameResponseDataInner
212
+ */
213
+ algoId?: number | bigint;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof AcquiringCoinnameResponseDataInner
218
+ */
219
+ algoName?: string;
251
220
  }
252
-
253
- /**
254
- * Binance Mining REST API
255
- *
256
- * OpenAPI Specification for the Binance Mining REST API
257
- *
258
- * The version of the OpenAPI document: 1.0.0
259
- *
260
- *
261
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
262
- * https://openapi-generator.tech
263
- * Do not edit the class manually.
264
- */
265
-
221
+ //#endregion
222
+ //#region src/rest-api/types/acquiring-coinname-response.d.ts
266
223
  /**
267
224
  *
268
225
  * @export
269
226
  * @interface AcquiringCoinnameResponse
270
227
  */
271
228
  interface AcquiringCoinnameResponse {
272
- /**
273
- *
274
- * @type {number | bigint}
275
- * @memberof AcquiringCoinnameResponse
276
- */
277
- code?: number | bigint;
278
- /**
279
- *
280
- * @type {string}
281
- * @memberof AcquiringCoinnameResponse
282
- */
283
- msg?: string;
284
- /**
285
- *
286
- * @type {Array<AcquiringCoinnameResponseDataInner>}
287
- * @memberof AcquiringCoinnameResponse
288
- */
289
- data?: Array<AcquiringCoinnameResponseDataInner>;
229
+ /**
230
+ *
231
+ * @type {number | bigint}
232
+ * @memberof AcquiringCoinnameResponse
233
+ */
234
+ code?: number | bigint;
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof AcquiringCoinnameResponse
239
+ */
240
+ msg?: string;
241
+ /**
242
+ *
243
+ * @type {Array<AcquiringCoinnameResponseDataInner>}
244
+ * @memberof AcquiringCoinnameResponse
245
+ */
246
+ data?: Array<AcquiringCoinnameResponseDataInner>;
290
247
  }
291
-
248
+ //#endregion
249
+ //#region src/rest-api/types/cancel-hashrate-resale-configuration-response.d.ts
292
250
  /**
293
251
  * Binance Mining REST API
294
252
  *
@@ -307,26 +265,27 @@ interface AcquiringCoinnameResponse {
307
265
  * @interface CancelHashrateResaleConfigurationResponse
308
266
  */
309
267
  interface CancelHashrateResaleConfigurationResponse {
310
- /**
311
- *
312
- * @type {number | bigint}
313
- * @memberof CancelHashrateResaleConfigurationResponse
314
- */
315
- code?: number | bigint;
316
- /**
317
- *
318
- * @type {string}
319
- * @memberof CancelHashrateResaleConfigurationResponse
320
- */
321
- msg?: string;
322
- /**
323
- *
324
- * @type {boolean}
325
- * @memberof CancelHashrateResaleConfigurationResponse
326
- */
327
- data?: boolean;
268
+ /**
269
+ *
270
+ * @type {number | bigint}
271
+ * @memberof CancelHashrateResaleConfigurationResponse
272
+ */
273
+ code?: number | bigint;
274
+ /**
275
+ *
276
+ * @type {string}
277
+ * @memberof CancelHashrateResaleConfigurationResponse
278
+ */
279
+ msg?: string;
280
+ /**
281
+ *
282
+ * @type {boolean}
283
+ * @memberof CancelHashrateResaleConfigurationResponse
284
+ */
285
+ data?: boolean;
328
286
  }
329
-
287
+ //#endregion
288
+ //#region src/rest-api/types/earnings-list-response-data-account-profits-inner.d.ts
330
289
  /**
331
290
  * Binance Mining REST API
332
291
  *
@@ -345,134 +304,111 @@ interface CancelHashrateResaleConfigurationResponse {
345
304
  * @interface EarningsListResponseDataAccountProfitsInner
346
305
  */
347
306
  interface EarningsListResponseDataAccountProfitsInner {
348
- /**
349
- *
350
- * @type {number | bigint}
351
- * @memberof EarningsListResponseDataAccountProfitsInner
352
- */
353
- time?: number | bigint;
354
- /**
355
- *
356
- * @type {number | bigint}
357
- * @memberof EarningsListResponseDataAccountProfitsInner
358
- */
359
- type?: number | bigint;
360
- /**
361
- *
362
- * @type {number | bigint}
363
- * @memberof EarningsListResponseDataAccountProfitsInner
364
- */
365
- hashTransfer?: number | bigint;
366
- /**
367
- *
368
- * @type {number}
369
- * @memberof EarningsListResponseDataAccountProfitsInner
370
- */
371
- transferAmount?: number;
372
- /**
373
- *
374
- * @type {number | bigint}
375
- * @memberof EarningsListResponseDataAccountProfitsInner
376
- */
377
- dayHashRate?: number | bigint;
378
- /**
379
- *
380
- * @type {number}
381
- * @memberof EarningsListResponseDataAccountProfitsInner
382
- */
383
- profitAmount?: number;
384
- /**
385
- *
386
- * @type {string}
387
- * @memberof EarningsListResponseDataAccountProfitsInner
388
- */
389
- coinName?: string;
390
- /**
391
- *
392
- * @type {number | bigint}
393
- * @memberof EarningsListResponseDataAccountProfitsInner
394
- */
395
- status?: number | bigint;
307
+ /**
308
+ *
309
+ * @type {number | bigint}
310
+ * @memberof EarningsListResponseDataAccountProfitsInner
311
+ */
312
+ time?: number | bigint;
313
+ /**
314
+ *
315
+ * @type {number | bigint}
316
+ * @memberof EarningsListResponseDataAccountProfitsInner
317
+ */
318
+ type?: number | bigint;
319
+ /**
320
+ *
321
+ * @type {number | bigint}
322
+ * @memberof EarningsListResponseDataAccountProfitsInner
323
+ */
324
+ hashTransfer?: number | bigint;
325
+ /**
326
+ *
327
+ * @type {number}
328
+ * @memberof EarningsListResponseDataAccountProfitsInner
329
+ */
330
+ transferAmount?: number;
331
+ /**
332
+ *
333
+ * @type {number | bigint}
334
+ * @memberof EarningsListResponseDataAccountProfitsInner
335
+ */
336
+ dayHashRate?: number | bigint;
337
+ /**
338
+ *
339
+ * @type {number}
340
+ * @memberof EarningsListResponseDataAccountProfitsInner
341
+ */
342
+ profitAmount?: number;
343
+ /**
344
+ *
345
+ * @type {string}
346
+ * @memberof EarningsListResponseDataAccountProfitsInner
347
+ */
348
+ coinName?: string;
349
+ /**
350
+ *
351
+ * @type {number | bigint}
352
+ * @memberof EarningsListResponseDataAccountProfitsInner
353
+ */
354
+ status?: number | bigint;
396
355
  }
397
-
398
- /**
399
- * Binance Mining REST API
400
- *
401
- * OpenAPI Specification for the Binance Mining REST API
402
- *
403
- * The version of the OpenAPI document: 1.0.0
404
- *
405
- *
406
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
407
- * https://openapi-generator.tech
408
- * Do not edit the class manually.
409
- */
410
-
356
+ //#endregion
357
+ //#region src/rest-api/types/earnings-list-response-data.d.ts
411
358
  /**
412
359
  *
413
360
  * @export
414
361
  * @interface EarningsListResponseData
415
362
  */
416
363
  interface EarningsListResponseData {
417
- /**
418
- *
419
- * @type {Array<EarningsListResponseDataAccountProfitsInner>}
420
- * @memberof EarningsListResponseData
421
- */
422
- accountProfits?: Array<EarningsListResponseDataAccountProfitsInner>;
423
- /**
424
- *
425
- * @type {number | bigint}
426
- * @memberof EarningsListResponseData
427
- */
428
- totalNum?: number | bigint;
429
- /**
430
- *
431
- * @type {number | bigint}
432
- * @memberof EarningsListResponseData
433
- */
434
- pageSize?: number | bigint;
364
+ /**
365
+ *
366
+ * @type {Array<EarningsListResponseDataAccountProfitsInner>}
367
+ * @memberof EarningsListResponseData
368
+ */
369
+ accountProfits?: Array<EarningsListResponseDataAccountProfitsInner>;
370
+ /**
371
+ *
372
+ * @type {number | bigint}
373
+ * @memberof EarningsListResponseData
374
+ */
375
+ totalNum?: number | bigint;
376
+ /**
377
+ *
378
+ * @type {number | bigint}
379
+ * @memberof EarningsListResponseData
380
+ */
381
+ pageSize?: number | bigint;
435
382
  }
436
-
437
- /**
438
- * Binance Mining REST API
439
- *
440
- * OpenAPI Specification for the Binance Mining REST API
441
- *
442
- * The version of the OpenAPI document: 1.0.0
443
- *
444
- *
445
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
446
- * https://openapi-generator.tech
447
- * Do not edit the class manually.
448
- */
449
-
383
+ //#endregion
384
+ //#region src/rest-api/types/earnings-list-response.d.ts
450
385
  /**
451
386
  *
452
387
  * @export
453
388
  * @interface EarningsListResponse
454
389
  */
455
390
  interface EarningsListResponse {
456
- /**
457
- *
458
- * @type {number | bigint}
459
- * @memberof EarningsListResponse
460
- */
461
- code?: number | bigint;
462
- /**
463
- *
464
- * @type {string}
465
- * @memberof EarningsListResponse
466
- */
467
- msg?: string;
468
- /**
469
- *
470
- * @type {EarningsListResponseData}
471
- * @memberof EarningsListResponse
472
- */
473
- data?: EarningsListResponseData;
391
+ /**
392
+ *
393
+ * @type {number | bigint}
394
+ * @memberof EarningsListResponse
395
+ */
396
+ code?: number | bigint;
397
+ /**
398
+ *
399
+ * @type {string}
400
+ * @memberof EarningsListResponse
401
+ */
402
+ msg?: string;
403
+ /**
404
+ *
405
+ * @type {EarningsListResponseData}
406
+ * @memberof EarningsListResponse
407
+ */
408
+ data?: EarningsListResponseData;
474
409
  }
475
-
410
+ //#endregion
411
+ //#region src/rest-api/types/extra-bonus-list-response-data-other-profits-inner.d.ts
476
412
  /**
477
413
  * Binance Mining REST API
478
414
  *
@@ -491,116 +427,93 @@ interface EarningsListResponse {
491
427
  * @interface ExtraBonusListResponseDataOtherProfitsInner
492
428
  */
493
429
  interface ExtraBonusListResponseDataOtherProfitsInner {
494
- /**
495
- *
496
- * @type {number | bigint}
497
- * @memberof ExtraBonusListResponseDataOtherProfitsInner
498
- */
499
- time?: number | bigint;
500
- /**
501
- *
502
- * @type {string}
503
- * @memberof ExtraBonusListResponseDataOtherProfitsInner
504
- */
505
- coinName?: string;
506
- /**
507
- *
508
- * @type {number | bigint}
509
- * @memberof ExtraBonusListResponseDataOtherProfitsInner
510
- */
511
- type?: number | bigint;
512
- /**
513
- *
514
- * @type {number}
515
- * @memberof ExtraBonusListResponseDataOtherProfitsInner
516
- */
517
- profitAmount?: number;
518
- /**
519
- *
520
- * @type {number | bigint}
521
- * @memberof ExtraBonusListResponseDataOtherProfitsInner
522
- */
523
- status?: number | bigint;
430
+ /**
431
+ *
432
+ * @type {number | bigint}
433
+ * @memberof ExtraBonusListResponseDataOtherProfitsInner
434
+ */
435
+ time?: number | bigint;
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof ExtraBonusListResponseDataOtherProfitsInner
440
+ */
441
+ coinName?: string;
442
+ /**
443
+ *
444
+ * @type {number | bigint}
445
+ * @memberof ExtraBonusListResponseDataOtherProfitsInner
446
+ */
447
+ type?: number | bigint;
448
+ /**
449
+ *
450
+ * @type {number}
451
+ * @memberof ExtraBonusListResponseDataOtherProfitsInner
452
+ */
453
+ profitAmount?: number;
454
+ /**
455
+ *
456
+ * @type {number | bigint}
457
+ * @memberof ExtraBonusListResponseDataOtherProfitsInner
458
+ */
459
+ status?: number | bigint;
524
460
  }
525
-
526
- /**
527
- * Binance Mining REST API
528
- *
529
- * OpenAPI Specification for the Binance Mining REST API
530
- *
531
- * The version of the OpenAPI document: 1.0.0
532
- *
533
- *
534
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
535
- * https://openapi-generator.tech
536
- * Do not edit the class manually.
537
- */
538
-
461
+ //#endregion
462
+ //#region src/rest-api/types/extra-bonus-list-response-data.d.ts
539
463
  /**
540
464
  *
541
465
  * @export
542
466
  * @interface ExtraBonusListResponseData
543
467
  */
544
468
  interface ExtraBonusListResponseData {
545
- /**
546
- *
547
- * @type {Array<ExtraBonusListResponseDataOtherProfitsInner>}
548
- * @memberof ExtraBonusListResponseData
549
- */
550
- otherProfits?: Array<ExtraBonusListResponseDataOtherProfitsInner>;
551
- /**
552
- *
553
- * @type {number | bigint}
554
- * @memberof ExtraBonusListResponseData
555
- */
556
- totalNum?: number | bigint;
557
- /**
558
- *
559
- * @type {number | bigint}
560
- * @memberof ExtraBonusListResponseData
561
- */
562
- pageSize?: number | bigint;
469
+ /**
470
+ *
471
+ * @type {Array<ExtraBonusListResponseDataOtherProfitsInner>}
472
+ * @memberof ExtraBonusListResponseData
473
+ */
474
+ otherProfits?: Array<ExtraBonusListResponseDataOtherProfitsInner>;
475
+ /**
476
+ *
477
+ * @type {number | bigint}
478
+ * @memberof ExtraBonusListResponseData
479
+ */
480
+ totalNum?: number | bigint;
481
+ /**
482
+ *
483
+ * @type {number | bigint}
484
+ * @memberof ExtraBonusListResponseData
485
+ */
486
+ pageSize?: number | bigint;
563
487
  }
564
-
565
- /**
566
- * Binance Mining REST API
567
- *
568
- * OpenAPI Specification for the Binance Mining REST API
569
- *
570
- * The version of the OpenAPI document: 1.0.0
571
- *
572
- *
573
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
574
- * https://openapi-generator.tech
575
- * Do not edit the class manually.
576
- */
577
-
488
+ //#endregion
489
+ //#region src/rest-api/types/extra-bonus-list-response.d.ts
578
490
  /**
579
491
  *
580
492
  * @export
581
493
  * @interface ExtraBonusListResponse
582
494
  */
583
495
  interface ExtraBonusListResponse {
584
- /**
585
- *
586
- * @type {number | bigint}
587
- * @memberof ExtraBonusListResponse
588
- */
589
- code?: number | bigint;
590
- /**
591
- *
592
- * @type {string}
593
- * @memberof ExtraBonusListResponse
594
- */
595
- msg?: string;
596
- /**
597
- *
598
- * @type {ExtraBonusListResponseData}
599
- * @memberof ExtraBonusListResponse
600
- */
601
- data?: ExtraBonusListResponseData;
496
+ /**
497
+ *
498
+ * @type {number | bigint}
499
+ * @memberof ExtraBonusListResponse
500
+ */
501
+ code?: number | bigint;
502
+ /**
503
+ *
504
+ * @type {string}
505
+ * @memberof ExtraBonusListResponse
506
+ */
507
+ msg?: string;
508
+ /**
509
+ *
510
+ * @type {ExtraBonusListResponseData}
511
+ * @memberof ExtraBonusListResponse
512
+ */
513
+ data?: ExtraBonusListResponseData;
602
514
  }
603
-
515
+ //#endregion
516
+ //#region src/rest-api/types/hashrate-resale-detail-response-data-profit-transfer-details-inner.d.ts
604
517
  /**
605
518
  * Binance Mining REST API
606
519
  *
@@ -619,128 +532,105 @@ interface ExtraBonusListResponse {
619
532
  * @interface HashrateResaleDetailResponseDataProfitTransferDetailsInner
620
533
  */
621
534
  interface HashrateResaleDetailResponseDataProfitTransferDetailsInner {
622
- /**
623
- *
624
- * @type {string}
625
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
626
- */
627
- poolUsername?: string;
628
- /**
629
- *
630
- * @type {string}
631
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
632
- */
633
- toPoolUsername?: string;
634
- /**
635
- *
636
- * @type {string}
637
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
638
- */
639
- algoName?: string;
640
- /**
641
- *
642
- * @type {number | bigint}
643
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
644
- */
645
- hashRate?: number | bigint;
646
- /**
647
- *
648
- * @type {number | bigint}
649
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
650
- */
651
- day?: number | bigint;
652
- /**
653
- *
654
- * @type {number}
655
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
656
- */
657
- amount?: number;
658
- /**
659
- *
660
- * @type {string}
661
- * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
662
- */
663
- coinName?: string;
535
+ /**
536
+ *
537
+ * @type {string}
538
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
539
+ */
540
+ poolUsername?: string;
541
+ /**
542
+ *
543
+ * @type {string}
544
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
545
+ */
546
+ toPoolUsername?: string;
547
+ /**
548
+ *
549
+ * @type {string}
550
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
551
+ */
552
+ algoName?: string;
553
+ /**
554
+ *
555
+ * @type {number | bigint}
556
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
557
+ */
558
+ hashRate?: number | bigint;
559
+ /**
560
+ *
561
+ * @type {number | bigint}
562
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
563
+ */
564
+ day?: number | bigint;
565
+ /**
566
+ *
567
+ * @type {number}
568
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
569
+ */
570
+ amount?: number;
571
+ /**
572
+ *
573
+ * @type {string}
574
+ * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
575
+ */
576
+ coinName?: string;
664
577
  }
665
-
666
- /**
667
- * Binance Mining REST API
668
- *
669
- * OpenAPI Specification for the Binance Mining REST API
670
- *
671
- * The version of the OpenAPI document: 1.0.0
672
- *
673
- *
674
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
675
- * https://openapi-generator.tech
676
- * Do not edit the class manually.
677
- */
678
-
578
+ //#endregion
579
+ //#region src/rest-api/types/hashrate-resale-detail-response-data.d.ts
679
580
  /**
680
581
  *
681
582
  * @export
682
583
  * @interface HashrateResaleDetailResponseData
683
584
  */
684
585
  interface HashrateResaleDetailResponseData {
685
- /**
686
- *
687
- * @type {Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>}
688
- * @memberof HashrateResaleDetailResponseData
689
- */
690
- profitTransferDetails?: Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>;
691
- /**
692
- *
693
- * @type {number | bigint}
694
- * @memberof HashrateResaleDetailResponseData
695
- */
696
- totalNum?: number | bigint;
697
- /**
698
- *
699
- * @type {number | bigint}
700
- * @memberof HashrateResaleDetailResponseData
701
- */
702
- pageSize?: number | bigint;
586
+ /**
587
+ *
588
+ * @type {Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>}
589
+ * @memberof HashrateResaleDetailResponseData
590
+ */
591
+ profitTransferDetails?: Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>;
592
+ /**
593
+ *
594
+ * @type {number | bigint}
595
+ * @memberof HashrateResaleDetailResponseData
596
+ */
597
+ totalNum?: number | bigint;
598
+ /**
599
+ *
600
+ * @type {number | bigint}
601
+ * @memberof HashrateResaleDetailResponseData
602
+ */
603
+ pageSize?: number | bigint;
703
604
  }
704
-
705
- /**
706
- * Binance Mining REST API
707
- *
708
- * OpenAPI Specification for the Binance Mining REST API
709
- *
710
- * The version of the OpenAPI document: 1.0.0
711
- *
712
- *
713
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
714
- * https://openapi-generator.tech
715
- * Do not edit the class manually.
716
- */
717
-
605
+ //#endregion
606
+ //#region src/rest-api/types/hashrate-resale-detail-response.d.ts
718
607
  /**
719
608
  *
720
609
  * @export
721
610
  * @interface HashrateResaleDetailResponse
722
611
  */
723
612
  interface HashrateResaleDetailResponse {
724
- /**
725
- *
726
- * @type {number | bigint}
727
- * @memberof HashrateResaleDetailResponse
728
- */
729
- code?: number | bigint;
730
- /**
731
- *
732
- * @type {string}
733
- * @memberof HashrateResaleDetailResponse
734
- */
735
- msg?: string;
736
- /**
737
- *
738
- * @type {HashrateResaleDetailResponseData}
739
- * @memberof HashrateResaleDetailResponse
740
- */
741
- data?: HashrateResaleDetailResponseData;
613
+ /**
614
+ *
615
+ * @type {number | bigint}
616
+ * @memberof HashrateResaleDetailResponse
617
+ */
618
+ code?: number | bigint;
619
+ /**
620
+ *
621
+ * @type {string}
622
+ * @memberof HashrateResaleDetailResponse
623
+ */
624
+ msg?: string;
625
+ /**
626
+ *
627
+ * @type {HashrateResaleDetailResponseData}
628
+ * @memberof HashrateResaleDetailResponse
629
+ */
630
+ data?: HashrateResaleDetailResponseData;
742
631
  }
743
-
632
+ //#endregion
633
+ //#region src/rest-api/types/hashrate-resale-list-response-data-config-details-inner.d.ts
744
634
  /**
745
635
  * Binance Mining REST API
746
636
  *
@@ -759,134 +649,111 @@ interface HashrateResaleDetailResponse {
759
649
  * @interface HashrateResaleListResponseDataConfigDetailsInner
760
650
  */
761
651
  interface HashrateResaleListResponseDataConfigDetailsInner {
762
- /**
763
- *
764
- * @type {number | bigint}
765
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
766
- */
767
- configId?: number | bigint;
768
- /**
769
- *
770
- * @type {string}
771
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
772
- */
773
- poolUsername?: string;
774
- /**
775
- *
776
- * @type {string}
777
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
778
- */
779
- toPoolUsername?: string;
780
- /**
781
- *
782
- * @type {string}
783
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
784
- */
785
- algoName?: string;
786
- /**
787
- *
788
- * @type {number | bigint}
789
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
790
- */
791
- hashRate?: number | bigint;
792
- /**
793
- *
794
- * @type {number | bigint}
795
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
796
- */
797
- startDay?: number | bigint;
798
- /**
799
- *
800
- * @type {number | bigint}
801
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
802
- */
803
- endDay?: number | bigint;
804
- /**
805
- *
806
- * @type {number | bigint}
807
- * @memberof HashrateResaleListResponseDataConfigDetailsInner
808
- */
809
- status?: number | bigint;
652
+ /**
653
+ *
654
+ * @type {number | bigint}
655
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
656
+ */
657
+ configId?: number | bigint;
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
662
+ */
663
+ poolUsername?: string;
664
+ /**
665
+ *
666
+ * @type {string}
667
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
668
+ */
669
+ toPoolUsername?: string;
670
+ /**
671
+ *
672
+ * @type {string}
673
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
674
+ */
675
+ algoName?: string;
676
+ /**
677
+ *
678
+ * @type {number | bigint}
679
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
680
+ */
681
+ hashRate?: number | bigint;
682
+ /**
683
+ *
684
+ * @type {number | bigint}
685
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
686
+ */
687
+ startDay?: number | bigint;
688
+ /**
689
+ *
690
+ * @type {number | bigint}
691
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
692
+ */
693
+ endDay?: number | bigint;
694
+ /**
695
+ *
696
+ * @type {number | bigint}
697
+ * @memberof HashrateResaleListResponseDataConfigDetailsInner
698
+ */
699
+ status?: number | bigint;
810
700
  }
811
-
812
- /**
813
- * Binance Mining REST API
814
- *
815
- * OpenAPI Specification for the Binance Mining REST API
816
- *
817
- * The version of the OpenAPI document: 1.0.0
818
- *
819
- *
820
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
821
- * https://openapi-generator.tech
822
- * Do not edit the class manually.
823
- */
824
-
701
+ //#endregion
702
+ //#region src/rest-api/types/hashrate-resale-list-response-data.d.ts
825
703
  /**
826
704
  *
827
705
  * @export
828
706
  * @interface HashrateResaleListResponseData
829
707
  */
830
708
  interface HashrateResaleListResponseData {
831
- /**
832
- *
833
- * @type {Array<HashrateResaleListResponseDataConfigDetailsInner>}
834
- * @memberof HashrateResaleListResponseData
835
- */
836
- configDetails?: Array<HashrateResaleListResponseDataConfigDetailsInner>;
837
- /**
838
- *
839
- * @type {number | bigint}
840
- * @memberof HashrateResaleListResponseData
841
- */
842
- totalNum?: number | bigint;
843
- /**
844
- *
845
- * @type {number | bigint}
846
- * @memberof HashrateResaleListResponseData
847
- */
848
- pageSize?: number | bigint;
709
+ /**
710
+ *
711
+ * @type {Array<HashrateResaleListResponseDataConfigDetailsInner>}
712
+ * @memberof HashrateResaleListResponseData
713
+ */
714
+ configDetails?: Array<HashrateResaleListResponseDataConfigDetailsInner>;
715
+ /**
716
+ *
717
+ * @type {number | bigint}
718
+ * @memberof HashrateResaleListResponseData
719
+ */
720
+ totalNum?: number | bigint;
721
+ /**
722
+ *
723
+ * @type {number | bigint}
724
+ * @memberof HashrateResaleListResponseData
725
+ */
726
+ pageSize?: number | bigint;
849
727
  }
850
-
851
- /**
852
- * Binance Mining REST API
853
- *
854
- * OpenAPI Specification for the Binance Mining REST API
855
- *
856
- * The version of the OpenAPI document: 1.0.0
857
- *
858
- *
859
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
860
- * https://openapi-generator.tech
861
- * Do not edit the class manually.
862
- */
863
-
728
+ //#endregion
729
+ //#region src/rest-api/types/hashrate-resale-list-response.d.ts
864
730
  /**
865
731
  *
866
732
  * @export
867
733
  * @interface HashrateResaleListResponse
868
734
  */
869
735
  interface HashrateResaleListResponse {
870
- /**
871
- *
872
- * @type {number | bigint}
873
- * @memberof HashrateResaleListResponse
874
- */
875
- code?: number | bigint;
876
- /**
877
- *
878
- * @type {string}
879
- * @memberof HashrateResaleListResponse
880
- */
881
- msg?: string;
882
- /**
883
- *
884
- * @type {HashrateResaleListResponseData}
885
- * @memberof HashrateResaleListResponse
886
- */
887
- data?: HashrateResaleListResponseData;
736
+ /**
737
+ *
738
+ * @type {number | bigint}
739
+ * @memberof HashrateResaleListResponse
740
+ */
741
+ code?: number | bigint;
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof HashrateResaleListResponse
746
+ */
747
+ msg?: string;
748
+ /**
749
+ *
750
+ * @type {HashrateResaleListResponseData}
751
+ * @memberof HashrateResaleListResponse
752
+ */
753
+ data?: HashrateResaleListResponseData;
888
754
  }
889
-
755
+ //#endregion
756
+ //#region src/rest-api/types/hashrate-resale-request-response.d.ts
890
757
  /**
891
758
  * Binance Mining REST API
892
759
  *
@@ -905,26 +772,27 @@ interface HashrateResaleListResponse {
905
772
  * @interface HashrateResaleRequestResponse
906
773
  */
907
774
  interface HashrateResaleRequestResponse {
908
- /**
909
- *
910
- * @type {number | bigint}
911
- * @memberof HashrateResaleRequestResponse
912
- */
913
- code?: number | bigint;
914
- /**
915
- *
916
- * @type {string}
917
- * @memberof HashrateResaleRequestResponse
918
- */
919
- msg?: string;
920
- /**
921
- *
922
- * @type {number | bigint}
923
- * @memberof HashrateResaleRequestResponse
924
- */
925
- data?: number | bigint;
775
+ /**
776
+ *
777
+ * @type {number | bigint}
778
+ * @memberof HashrateResaleRequestResponse
779
+ */
780
+ code?: number | bigint;
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof HashrateResaleRequestResponse
785
+ */
786
+ msg?: string;
787
+ /**
788
+ *
789
+ * @type {number | bigint}
790
+ * @memberof HashrateResaleRequestResponse
791
+ */
792
+ data?: number | bigint;
926
793
  }
927
-
794
+ //#endregion
795
+ //#region src/rest-api/types/mining-account-earning-response-data-account-profits-inner.d.ts
928
796
  /**
929
797
  * Binance Mining REST API
930
798
  *
@@ -943,122 +811,99 @@ interface HashrateResaleRequestResponse {
943
811
  * @interface MiningAccountEarningResponseDataAccountProfitsInner
944
812
  */
945
813
  interface MiningAccountEarningResponseDataAccountProfitsInner {
946
- /**
947
- *
948
- * @type {number | bigint}
949
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
950
- */
951
- time?: number | bigint;
952
- /**
953
- *
954
- * @type {string}
955
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
956
- */
957
- coinName?: string;
958
- /**
959
- *
960
- * @type {number | bigint}
961
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
962
- */
963
- type?: number | bigint;
964
- /**
965
- *
966
- * @type {number | bigint}
967
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
968
- */
969
- puid?: number | bigint;
970
- /**
971
- *
972
- * @type {string}
973
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
974
- */
975
- subName?: string;
976
- /**
977
- *
978
- * @type {number}
979
- * @memberof MiningAccountEarningResponseDataAccountProfitsInner
980
- */
981
- amount?: number;
814
+ /**
815
+ *
816
+ * @type {number | bigint}
817
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
818
+ */
819
+ time?: number | bigint;
820
+ /**
821
+ *
822
+ * @type {string}
823
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
824
+ */
825
+ coinName?: string;
826
+ /**
827
+ *
828
+ * @type {number | bigint}
829
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
830
+ */
831
+ type?: number | bigint;
832
+ /**
833
+ *
834
+ * @type {number | bigint}
835
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
836
+ */
837
+ puid?: number | bigint;
838
+ /**
839
+ *
840
+ * @type {string}
841
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
842
+ */
843
+ subName?: string;
844
+ /**
845
+ *
846
+ * @type {number}
847
+ * @memberof MiningAccountEarningResponseDataAccountProfitsInner
848
+ */
849
+ amount?: number;
982
850
  }
983
-
984
- /**
985
- * Binance Mining REST API
986
- *
987
- * OpenAPI Specification for the Binance Mining REST API
988
- *
989
- * The version of the OpenAPI document: 1.0.0
990
- *
991
- *
992
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
993
- * https://openapi-generator.tech
994
- * Do not edit the class manually.
995
- */
996
-
851
+ //#endregion
852
+ //#region src/rest-api/types/mining-account-earning-response-data.d.ts
997
853
  /**
998
854
  *
999
855
  * @export
1000
856
  * @interface MiningAccountEarningResponseData
1001
857
  */
1002
858
  interface MiningAccountEarningResponseData {
1003
- /**
1004
- *
1005
- * @type {Array<MiningAccountEarningResponseDataAccountProfitsInner>}
1006
- * @memberof MiningAccountEarningResponseData
1007
- */
1008
- accountProfits?: Array<MiningAccountEarningResponseDataAccountProfitsInner>;
1009
- /**
1010
- *
1011
- * @type {number | bigint}
1012
- * @memberof MiningAccountEarningResponseData
1013
- */
1014
- totalNum?: number | bigint;
1015
- /**
1016
- *
1017
- * @type {number | bigint}
1018
- * @memberof MiningAccountEarningResponseData
1019
- */
1020
- pageSize?: number | bigint;
859
+ /**
860
+ *
861
+ * @type {Array<MiningAccountEarningResponseDataAccountProfitsInner>}
862
+ * @memberof MiningAccountEarningResponseData
863
+ */
864
+ accountProfits?: Array<MiningAccountEarningResponseDataAccountProfitsInner>;
865
+ /**
866
+ *
867
+ * @type {number | bigint}
868
+ * @memberof MiningAccountEarningResponseData
869
+ */
870
+ totalNum?: number | bigint;
871
+ /**
872
+ *
873
+ * @type {number | bigint}
874
+ * @memberof MiningAccountEarningResponseData
875
+ */
876
+ pageSize?: number | bigint;
1021
877
  }
1022
-
1023
- /**
1024
- * Binance Mining REST API
1025
- *
1026
- * OpenAPI Specification for the Binance Mining REST API
1027
- *
1028
- * The version of the OpenAPI document: 1.0.0
1029
- *
1030
- *
1031
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1032
- * https://openapi-generator.tech
1033
- * Do not edit the class manually.
1034
- */
1035
-
878
+ //#endregion
879
+ //#region src/rest-api/types/mining-account-earning-response.d.ts
1036
880
  /**
1037
881
  *
1038
882
  * @export
1039
883
  * @interface MiningAccountEarningResponse
1040
884
  */
1041
885
  interface MiningAccountEarningResponse {
1042
- /**
1043
- *
1044
- * @type {number | bigint}
1045
- * @memberof MiningAccountEarningResponse
1046
- */
1047
- code?: number | bigint;
1048
- /**
1049
- *
1050
- * @type {string}
1051
- * @memberof MiningAccountEarningResponse
1052
- */
1053
- msg?: string;
1054
- /**
1055
- *
1056
- * @type {MiningAccountEarningResponseData}
1057
- * @memberof MiningAccountEarningResponse
1058
- */
1059
- data?: MiningAccountEarningResponseData;
886
+ /**
887
+ *
888
+ * @type {number | bigint}
889
+ * @memberof MiningAccountEarningResponse
890
+ */
891
+ code?: number | bigint;
892
+ /**
893
+ *
894
+ * @type {string}
895
+ * @memberof MiningAccountEarningResponse
896
+ */
897
+ msg?: string;
898
+ /**
899
+ *
900
+ * @type {MiningAccountEarningResponseData}
901
+ * @memberof MiningAccountEarningResponse
902
+ */
903
+ data?: MiningAccountEarningResponseData;
1060
904
  }
1061
-
905
+ //#endregion
906
+ //#region src/rest-api/types/request-for-detail-miner-list-response-data-inner-hashrate-datas-inner.d.ts
1062
907
  /**
1063
908
  * Binance Mining REST API
1064
909
  *
@@ -1077,104 +922,81 @@ interface MiningAccountEarningResponse {
1077
922
  * @interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner
1078
923
  */
1079
924
  interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner {
1080
- /**
1081
- *
1082
- * @type {number | bigint}
1083
- * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
1084
- */
1085
- time?: number | bigint;
1086
- /**
1087
- *
1088
- * @type {string}
1089
- * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
1090
- */
1091
- hashrate?: string;
1092
- /**
1093
- *
1094
- * @type {number | bigint}
1095
- * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
1096
- */
1097
- reject?: number | bigint;
925
+ /**
926
+ *
927
+ * @type {number | bigint}
928
+ * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
929
+ */
930
+ time?: number | bigint;
931
+ /**
932
+ *
933
+ * @type {string}
934
+ * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
935
+ */
936
+ hashrate?: string;
937
+ /**
938
+ *
939
+ * @type {number | bigint}
940
+ * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
941
+ */
942
+ reject?: number | bigint;
1098
943
  }
1099
-
1100
- /**
1101
- * Binance Mining REST API
1102
- *
1103
- * OpenAPI Specification for the Binance Mining REST API
1104
- *
1105
- * The version of the OpenAPI document: 1.0.0
1106
- *
1107
- *
1108
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1109
- * https://openapi-generator.tech
1110
- * Do not edit the class manually.
1111
- */
1112
-
944
+ //#endregion
945
+ //#region src/rest-api/types/request-for-detail-miner-list-response-data-inner.d.ts
1113
946
  /**
1114
947
  *
1115
948
  * @export
1116
949
  * @interface RequestForDetailMinerListResponseDataInner
1117
950
  */
1118
951
  interface RequestForDetailMinerListResponseDataInner {
1119
- /**
1120
- *
1121
- * @type {string}
1122
- * @memberof RequestForDetailMinerListResponseDataInner
1123
- */
1124
- workerName?: string;
1125
- /**
1126
- *
1127
- * @type {string}
1128
- * @memberof RequestForDetailMinerListResponseDataInner
1129
- */
1130
- type?: string;
1131
- /**
1132
- *
1133
- * @type {Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>}
1134
- * @memberof RequestForDetailMinerListResponseDataInner
1135
- */
1136
- hashrateDatas?: Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>;
952
+ /**
953
+ *
954
+ * @type {string}
955
+ * @memberof RequestForDetailMinerListResponseDataInner
956
+ */
957
+ workerName?: string;
958
+ /**
959
+ *
960
+ * @type {string}
961
+ * @memberof RequestForDetailMinerListResponseDataInner
962
+ */
963
+ type?: string;
964
+ /**
965
+ *
966
+ * @type {Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>}
967
+ * @memberof RequestForDetailMinerListResponseDataInner
968
+ */
969
+ hashrateDatas?: Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>;
1137
970
  }
1138
-
1139
- /**
1140
- * Binance Mining REST API
1141
- *
1142
- * OpenAPI Specification for the Binance Mining REST API
1143
- *
1144
- * The version of the OpenAPI document: 1.0.0
1145
- *
1146
- *
1147
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1148
- * https://openapi-generator.tech
1149
- * Do not edit the class manually.
1150
- */
1151
-
971
+ //#endregion
972
+ //#region src/rest-api/types/request-for-detail-miner-list-response.d.ts
1152
973
  /**
1153
974
  *
1154
975
  * @export
1155
976
  * @interface RequestForDetailMinerListResponse
1156
977
  */
1157
978
  interface RequestForDetailMinerListResponse {
1158
- /**
1159
- *
1160
- * @type {number | bigint}
1161
- * @memberof RequestForDetailMinerListResponse
1162
- */
1163
- code?: number | bigint;
1164
- /**
1165
- *
1166
- * @type {string}
1167
- * @memberof RequestForDetailMinerListResponse
1168
- */
1169
- msg?: string;
1170
- /**
1171
- *
1172
- * @type {Array<RequestForDetailMinerListResponseDataInner>}
1173
- * @memberof RequestForDetailMinerListResponse
1174
- */
1175
- data?: Array<RequestForDetailMinerListResponseDataInner>;
979
+ /**
980
+ *
981
+ * @type {number | bigint}
982
+ * @memberof RequestForDetailMinerListResponse
983
+ */
984
+ code?: number | bigint;
985
+ /**
986
+ *
987
+ * @type {string}
988
+ * @memberof RequestForDetailMinerListResponse
989
+ */
990
+ msg?: string;
991
+ /**
992
+ *
993
+ * @type {Array<RequestForDetailMinerListResponseDataInner>}
994
+ * @memberof RequestForDetailMinerListResponse
995
+ */
996
+ data?: Array<RequestForDetailMinerListResponseDataInner>;
1176
997
  }
1177
-
998
+ //#endregion
999
+ //#region src/rest-api/types/request-for-miner-list-response-data-worker-datas-inner.d.ts
1178
1000
  /**
1179
1001
  * Binance Mining REST API
1180
1002
  *
@@ -1193,128 +1015,105 @@ interface RequestForDetailMinerListResponse {
1193
1015
  * @interface RequestForMinerListResponseDataWorkerDatasInner
1194
1016
  */
1195
1017
  interface RequestForMinerListResponseDataWorkerDatasInner {
1196
- /**
1197
- *
1198
- * @type {string}
1199
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1200
- */
1201
- workerId?: string;
1202
- /**
1203
- *
1204
- * @type {string}
1205
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1206
- */
1207
- workerName?: string;
1208
- /**
1209
- *
1210
- * @type {number | bigint}
1211
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1212
- */
1213
- status?: number | bigint;
1214
- /**
1215
- *
1216
- * @type {number | bigint}
1217
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1218
- */
1219
- hashRate?: number | bigint;
1220
- /**
1221
- *
1222
- * @type {number}
1223
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1224
- */
1225
- dayHashRate?: number;
1226
- /**
1227
- *
1228
- * @type {number | bigint}
1229
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1230
- */
1231
- rejectRate?: number | bigint;
1232
- /**
1233
- *
1234
- * @type {number | bigint}
1235
- * @memberof RequestForMinerListResponseDataWorkerDatasInner
1236
- */
1237
- lastShareTime?: number | bigint;
1018
+ /**
1019
+ *
1020
+ * @type {string}
1021
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1022
+ */
1023
+ workerId?: string;
1024
+ /**
1025
+ *
1026
+ * @type {string}
1027
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1028
+ */
1029
+ workerName?: string;
1030
+ /**
1031
+ *
1032
+ * @type {number | bigint}
1033
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1034
+ */
1035
+ status?: number | bigint;
1036
+ /**
1037
+ *
1038
+ * @type {number | bigint}
1039
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1040
+ */
1041
+ hashRate?: number | bigint;
1042
+ /**
1043
+ *
1044
+ * @type {number}
1045
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1046
+ */
1047
+ dayHashRate?: number;
1048
+ /**
1049
+ *
1050
+ * @type {number | bigint}
1051
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1052
+ */
1053
+ rejectRate?: number | bigint;
1054
+ /**
1055
+ *
1056
+ * @type {number | bigint}
1057
+ * @memberof RequestForMinerListResponseDataWorkerDatasInner
1058
+ */
1059
+ lastShareTime?: number | bigint;
1238
1060
  }
1239
-
1240
- /**
1241
- * Binance Mining REST API
1242
- *
1243
- * OpenAPI Specification for the Binance Mining REST API
1244
- *
1245
- * The version of the OpenAPI document: 1.0.0
1246
- *
1247
- *
1248
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1249
- * https://openapi-generator.tech
1250
- * Do not edit the class manually.
1251
- */
1252
-
1061
+ //#endregion
1062
+ //#region src/rest-api/types/request-for-miner-list-response-data.d.ts
1253
1063
  /**
1254
1064
  *
1255
1065
  * @export
1256
1066
  * @interface RequestForMinerListResponseData
1257
1067
  */
1258
1068
  interface RequestForMinerListResponseData {
1259
- /**
1260
- *
1261
- * @type {Array<RequestForMinerListResponseDataWorkerDatasInner>}
1262
- * @memberof RequestForMinerListResponseData
1263
- */
1264
- workerDatas?: Array<RequestForMinerListResponseDataWorkerDatasInner>;
1265
- /**
1266
- *
1267
- * @type {number | bigint}
1268
- * @memberof RequestForMinerListResponseData
1269
- */
1270
- totalNum?: number | bigint;
1271
- /**
1272
- *
1273
- * @type {number | bigint}
1274
- * @memberof RequestForMinerListResponseData
1275
- */
1276
- pageSize?: number | bigint;
1069
+ /**
1070
+ *
1071
+ * @type {Array<RequestForMinerListResponseDataWorkerDatasInner>}
1072
+ * @memberof RequestForMinerListResponseData
1073
+ */
1074
+ workerDatas?: Array<RequestForMinerListResponseDataWorkerDatasInner>;
1075
+ /**
1076
+ *
1077
+ * @type {number | bigint}
1078
+ * @memberof RequestForMinerListResponseData
1079
+ */
1080
+ totalNum?: number | bigint;
1081
+ /**
1082
+ *
1083
+ * @type {number | bigint}
1084
+ * @memberof RequestForMinerListResponseData
1085
+ */
1086
+ pageSize?: number | bigint;
1277
1087
  }
1278
-
1279
- /**
1280
- * Binance Mining REST API
1281
- *
1282
- * OpenAPI Specification for the Binance Mining REST API
1283
- *
1284
- * The version of the OpenAPI document: 1.0.0
1285
- *
1286
- *
1287
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1288
- * https://openapi-generator.tech
1289
- * Do not edit the class manually.
1290
- */
1291
-
1088
+ //#endregion
1089
+ //#region src/rest-api/types/request-for-miner-list-response.d.ts
1292
1090
  /**
1293
1091
  *
1294
1092
  * @export
1295
1093
  * @interface RequestForMinerListResponse
1296
1094
  */
1297
1095
  interface RequestForMinerListResponse {
1298
- /**
1299
- *
1300
- * @type {number | bigint}
1301
- * @memberof RequestForMinerListResponse
1302
- */
1303
- code?: number | bigint;
1304
- /**
1305
- *
1306
- * @type {string}
1307
- * @memberof RequestForMinerListResponse
1308
- */
1309
- msg?: string;
1310
- /**
1311
- *
1312
- * @type {RequestForMinerListResponseData}
1313
- * @memberof RequestForMinerListResponse
1314
- */
1315
- data?: RequestForMinerListResponseData;
1096
+ /**
1097
+ *
1098
+ * @type {number | bigint}
1099
+ * @memberof RequestForMinerListResponse
1100
+ */
1101
+ code?: number | bigint;
1102
+ /**
1103
+ *
1104
+ * @type {string}
1105
+ * @memberof RequestForMinerListResponse
1106
+ */
1107
+ msg?: string;
1108
+ /**
1109
+ *
1110
+ * @type {RequestForMinerListResponseData}
1111
+ * @memberof RequestForMinerListResponse
1112
+ */
1113
+ data?: RequestForMinerListResponseData;
1316
1114
  }
1317
-
1115
+ //#endregion
1116
+ //#region src/rest-api/types/statistic-list-response-data-profit-today.d.ts
1318
1117
  /**
1319
1118
  * Binance Mining REST API
1320
1119
  *
@@ -1333,1171 +1132,1062 @@ interface RequestForMinerListResponse {
1333
1132
  * @interface StatisticListResponseDataProfitToday
1334
1133
  */
1335
1134
  interface StatisticListResponseDataProfitToday {
1336
- /**
1337
- *
1338
- * @type {string}
1339
- * @memberof StatisticListResponseDataProfitToday
1340
- */
1341
- BTC?: string;
1342
- /**
1343
- *
1344
- * @type {string}
1345
- * @memberof StatisticListResponseDataProfitToday
1346
- */
1347
- BSV?: string;
1348
- /**
1349
- *
1350
- * @type {string}
1351
- * @memberof StatisticListResponseDataProfitToday
1352
- */
1353
- BCH?: string;
1135
+ /**
1136
+ *
1137
+ * @type {string}
1138
+ * @memberof StatisticListResponseDataProfitToday
1139
+ */
1140
+ BTC?: string;
1141
+ /**
1142
+ *
1143
+ * @type {string}
1144
+ * @memberof StatisticListResponseDataProfitToday
1145
+ */
1146
+ BSV?: string;
1147
+ /**
1148
+ *
1149
+ * @type {string}
1150
+ * @memberof StatisticListResponseDataProfitToday
1151
+ */
1152
+ BCH?: string;
1354
1153
  }
1355
-
1356
- /**
1357
- * Binance Mining REST API
1358
- *
1359
- * OpenAPI Specification for the Binance Mining REST API
1360
- *
1361
- * The version of the OpenAPI document: 1.0.0
1362
- *
1363
- *
1364
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1365
- * https://openapi-generator.tech
1366
- * Do not edit the class manually.
1367
- */
1368
-
1154
+ //#endregion
1155
+ //#region src/rest-api/types/statistic-list-response-data.d.ts
1369
1156
  /**
1370
1157
  *
1371
1158
  * @export
1372
1159
  * @interface StatisticListResponseData
1373
1160
  */
1374
1161
  interface StatisticListResponseData {
1375
- /**
1376
- *
1377
- * @type {string}
1378
- * @memberof StatisticListResponseData
1379
- */
1380
- fifteenMinHashRate?: string;
1381
- /**
1382
- *
1383
- * @type {string}
1384
- * @memberof StatisticListResponseData
1385
- */
1386
- dayHashRate?: string;
1387
- /**
1388
- *
1389
- * @type {number | bigint}
1390
- * @memberof StatisticListResponseData
1391
- */
1392
- validNum?: number | bigint;
1393
- /**
1394
- *
1395
- * @type {number | bigint}
1396
- * @memberof StatisticListResponseData
1397
- */
1398
- invalidNum?: number | bigint;
1399
- /**
1400
- *
1401
- * @type {StatisticListResponseDataProfitToday}
1402
- * @memberof StatisticListResponseData
1403
- */
1404
- profitToday?: StatisticListResponseDataProfitToday;
1405
- /**
1406
- *
1407
- * @type {StatisticListResponseDataProfitToday}
1408
- * @memberof StatisticListResponseData
1409
- */
1410
- profitYesterday?: StatisticListResponseDataProfitToday;
1411
- /**
1412
- *
1413
- * @type {string}
1414
- * @memberof StatisticListResponseData
1415
- */
1416
- userName?: string;
1417
- /**
1418
- *
1419
- * @type {string}
1420
- * @memberof StatisticListResponseData
1421
- */
1422
- unit?: string;
1423
- /**
1424
- *
1425
- * @type {string}
1426
- * @memberof StatisticListResponseData
1427
- */
1428
- algo?: string;
1162
+ /**
1163
+ *
1164
+ * @type {string}
1165
+ * @memberof StatisticListResponseData
1166
+ */
1167
+ fifteenMinHashRate?: string;
1168
+ /**
1169
+ *
1170
+ * @type {string}
1171
+ * @memberof StatisticListResponseData
1172
+ */
1173
+ dayHashRate?: string;
1174
+ /**
1175
+ *
1176
+ * @type {number | bigint}
1177
+ * @memberof StatisticListResponseData
1178
+ */
1179
+ validNum?: number | bigint;
1180
+ /**
1181
+ *
1182
+ * @type {number | bigint}
1183
+ * @memberof StatisticListResponseData
1184
+ */
1185
+ invalidNum?: number | bigint;
1186
+ /**
1187
+ *
1188
+ * @type {StatisticListResponseDataProfitToday}
1189
+ * @memberof StatisticListResponseData
1190
+ */
1191
+ profitToday?: StatisticListResponseDataProfitToday;
1192
+ /**
1193
+ *
1194
+ * @type {StatisticListResponseDataProfitToday}
1195
+ * @memberof StatisticListResponseData
1196
+ */
1197
+ profitYesterday?: StatisticListResponseDataProfitToday;
1198
+ /**
1199
+ *
1200
+ * @type {string}
1201
+ * @memberof StatisticListResponseData
1202
+ */
1203
+ userName?: string;
1204
+ /**
1205
+ *
1206
+ * @type {string}
1207
+ * @memberof StatisticListResponseData
1208
+ */
1209
+ unit?: string;
1210
+ /**
1211
+ *
1212
+ * @type {string}
1213
+ * @memberof StatisticListResponseData
1214
+ */
1215
+ algo?: string;
1429
1216
  }
1430
-
1431
- /**
1432
- * Binance Mining REST API
1433
- *
1434
- * OpenAPI Specification for the Binance Mining REST API
1435
- *
1436
- * The version of the OpenAPI document: 1.0.0
1437
- *
1438
- *
1439
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1440
- * https://openapi-generator.tech
1441
- * Do not edit the class manually.
1442
- */
1443
-
1217
+ //#endregion
1218
+ //#region src/rest-api/types/statistic-list-response.d.ts
1444
1219
  /**
1445
1220
  *
1446
1221
  * @export
1447
1222
  * @interface StatisticListResponse
1448
1223
  */
1449
1224
  interface StatisticListResponse {
1450
- /**
1451
- *
1452
- * @type {number | bigint}
1453
- * @memberof StatisticListResponse
1454
- */
1455
- code?: number | bigint;
1456
- /**
1457
- *
1458
- * @type {string}
1459
- * @memberof StatisticListResponse
1460
- */
1461
- msg?: string;
1462
- /**
1463
- *
1464
- * @type {StatisticListResponseData}
1465
- * @memberof StatisticListResponse
1466
- */
1467
- data?: StatisticListResponseData;
1225
+ /**
1226
+ *
1227
+ * @type {number | bigint}
1228
+ * @memberof StatisticListResponse
1229
+ */
1230
+ code?: number | bigint;
1231
+ /**
1232
+ *
1233
+ * @type {string}
1234
+ * @memberof StatisticListResponse
1235
+ */
1236
+ msg?: string;
1237
+ /**
1238
+ *
1239
+ * @type {StatisticListResponseData}
1240
+ * @memberof StatisticListResponse
1241
+ */
1242
+ data?: StatisticListResponseData;
1468
1243
  }
1469
-
1470
- /**
1471
- * Binance Mining REST API
1472
- *
1473
- * OpenAPI Specification for the Binance Mining REST API
1474
- *
1475
- * The version of the OpenAPI document: 1.0.0
1476
- *
1477
- *
1478
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1479
- * https://openapi-generator.tech
1480
- * Do not edit the class manually.
1481
- */
1482
-
1244
+ //#endregion
1245
+ //#region src/rest-api/modules/mining-api.d.ts
1483
1246
  /**
1484
1247
  * MiningApi - interface
1485
1248
  * @interface MiningApi
1486
1249
  */
1487
1250
  interface MiningApiInterface {
1488
- /**
1489
- * Query Account List
1490
- *
1491
- * Weight: 5
1492
- *
1493
- * @summary Account List(USER_DATA)
1494
- * @param {AccountListRequest} requestParameters Request parameters.
1495
- *
1496
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1497
- * @memberof MiningApiInterface
1498
- */
1499
- accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
1500
- /**
1501
- * Acquiring Algorithm
1502
- *
1503
- * Weight: 1
1504
- *
1505
- * @summary Acquiring Algorithm(MARKET_DATA)
1506
- *
1507
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1508
- * @memberof MiningApiInterface
1509
- */
1510
- acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
1511
- /**
1512
- * Acquiring CoinName
1513
- *
1514
- * Weight: 1
1515
- *
1516
- * @summary Acquiring CoinName(MARKET_DATA)
1517
- *
1518
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1519
- * @memberof MiningApiInterface
1520
- */
1521
- acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
1522
- /**
1523
- *
1524
- * Weight: 5
1525
- *
1526
- * @summary Cancel hashrate resale configuration(USER_DATA)
1527
- * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
1528
- *
1529
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1530
- * @memberof MiningApiInterface
1531
- */
1532
- cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
1533
- /**
1534
- * Query Earnings List
1535
- *
1536
- * Weight: 5
1537
- *
1538
- * @summary Earnings List(USER_DATA)
1539
- * @param {EarningsListRequest} requestParameters Request parameters.
1540
- *
1541
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1542
- * @memberof MiningApiInterface
1543
- */
1544
- earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
1545
- /**
1546
- * Extra Bonus List
1547
- *
1548
- * Weight: 5
1549
- *
1550
- * @summary Extra Bonus List(USER_DATA)
1551
- * @param {ExtraBonusListRequest} requestParameters Request parameters.
1552
- *
1553
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1554
- * @memberof MiningApiInterface
1555
- */
1556
- extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
1557
- /**
1558
- * Hashrate Resale Detail(USER_DATA)
1559
- *
1560
- * Weight: 5
1561
- *
1562
- * @summary Hashrate Resale Detail(USER_DATA)
1563
- * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
1564
- *
1565
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1566
- * @memberof MiningApiInterface
1567
- */
1568
- hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
1569
- /**
1570
- * Hashrate Resale List
1571
- *
1572
- * Weight: 5
1573
- *
1574
- * @summary Hashrate Resale List
1575
- * @param {HashrateResaleListRequest} requestParameters Request parameters.
1576
- *
1577
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1578
- * @memberof MiningApiInterface
1579
- */
1580
- hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
1581
- /**
1582
- * Hashrate Resale Request
1583
- *
1584
- * Weight: 5
1585
- *
1586
- * @summary Hashrate Resale Request(USER_DATA)
1587
- * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
1588
- *
1589
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1590
- * @memberof MiningApiInterface
1591
- */
1592
- hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
1593
- /**
1594
- * Mining Account Earning
1595
- *
1596
- * Weight: 5
1597
- *
1598
- * @summary Mining Account Earning(USER_DATA)
1599
- * @param {MiningAccountEarningRequest} requestParameters Request parameters.
1600
- *
1601
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1602
- * @memberof MiningApiInterface
1603
- */
1604
- miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
1605
- /**
1606
- * Request for Detail Miner List
1607
- *
1608
- * Weight: 5
1609
- *
1610
- * @summary Request for Detail Miner List(USER_DATA)
1611
- * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
1612
- *
1613
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1614
- * @memberof MiningApiInterface
1615
- */
1616
- requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
1617
- /**
1618
- * Request for Miner List
1619
- *
1620
- * Weight: 5
1621
- *
1622
- * @summary Request for Miner List(USER_DATA)
1623
- * @param {RequestForMinerListRequest} requestParameters Request parameters.
1624
- *
1625
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1626
- * @memberof MiningApiInterface
1627
- */
1628
- requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
1629
- /**
1630
- * Statistic List
1631
- *
1632
- * Weight: 5
1633
- *
1634
- * @summary Statistic List(USER_DATA)
1635
- * @param {StatisticListRequest} requestParameters Request parameters.
1636
- *
1637
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1638
- * @memberof MiningApiInterface
1639
- */
1640
- statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
1251
+ /**
1252
+ * Query Account List
1253
+ *
1254
+ * Weight: 5
1255
+ *
1256
+ * @summary Account List(USER_DATA)
1257
+ * @param {AccountListRequest} requestParameters Request parameters.
1258
+ *
1259
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1260
+ * @memberof MiningApiInterface
1261
+ */
1262
+ accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
1263
+ /**
1264
+ * Acquiring Algorithm
1265
+ *
1266
+ * Weight: 1
1267
+ *
1268
+ * @summary Acquiring Algorithm(MARKET_DATA)
1269
+ *
1270
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1271
+ * @memberof MiningApiInterface
1272
+ */
1273
+ acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
1274
+ /**
1275
+ * Acquiring CoinName
1276
+ *
1277
+ * Weight: 1
1278
+ *
1279
+ * @summary Acquiring CoinName(MARKET_DATA)
1280
+ *
1281
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1282
+ * @memberof MiningApiInterface
1283
+ */
1284
+ acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
1285
+ /**
1286
+ *
1287
+ * Weight: 5
1288
+ *
1289
+ * @summary Cancel hashrate resale configuration(USER_DATA)
1290
+ * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
1291
+ *
1292
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1293
+ * @memberof MiningApiInterface
1294
+ */
1295
+ cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
1296
+ /**
1297
+ * Query Earnings List
1298
+ *
1299
+ * Weight: 5
1300
+ *
1301
+ * @summary Earnings List(USER_DATA)
1302
+ * @param {EarningsListRequest} requestParameters Request parameters.
1303
+ *
1304
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1305
+ * @memberof MiningApiInterface
1306
+ */
1307
+ earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
1308
+ /**
1309
+ * Extra Bonus List
1310
+ *
1311
+ * Weight: 5
1312
+ *
1313
+ * @summary Extra Bonus List(USER_DATA)
1314
+ * @param {ExtraBonusListRequest} requestParameters Request parameters.
1315
+ *
1316
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1317
+ * @memberof MiningApiInterface
1318
+ */
1319
+ extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
1320
+ /**
1321
+ * Hashrate Resale Detail(USER_DATA)
1322
+ *
1323
+ * Weight: 5
1324
+ *
1325
+ * @summary Hashrate Resale Detail(USER_DATA)
1326
+ * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
1327
+ *
1328
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1329
+ * @memberof MiningApiInterface
1330
+ */
1331
+ hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
1332
+ /**
1333
+ * Hashrate Resale List
1334
+ *
1335
+ * Weight: 5
1336
+ *
1337
+ * @summary Hashrate Resale List
1338
+ * @param {HashrateResaleListRequest} requestParameters Request parameters.
1339
+ *
1340
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1341
+ * @memberof MiningApiInterface
1342
+ */
1343
+ hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
1344
+ /**
1345
+ * Hashrate Resale Request
1346
+ *
1347
+ * Weight: 5
1348
+ *
1349
+ * @summary Hashrate Resale Request(USER_DATA)
1350
+ * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
1351
+ *
1352
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1353
+ * @memberof MiningApiInterface
1354
+ */
1355
+ hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
1356
+ /**
1357
+ * Mining Account Earning
1358
+ *
1359
+ * Weight: 5
1360
+ *
1361
+ * @summary Mining Account Earning(USER_DATA)
1362
+ * @param {MiningAccountEarningRequest} requestParameters Request parameters.
1363
+ *
1364
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1365
+ * @memberof MiningApiInterface
1366
+ */
1367
+ miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
1368
+ /**
1369
+ * Request for Detail Miner List
1370
+ *
1371
+ * Weight: 5
1372
+ *
1373
+ * @summary Request for Detail Miner List(USER_DATA)
1374
+ * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
1375
+ *
1376
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1377
+ * @memberof MiningApiInterface
1378
+ */
1379
+ requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
1380
+ /**
1381
+ * Request for Miner List
1382
+ *
1383
+ * Weight: 5
1384
+ *
1385
+ * @summary Request for Miner List(USER_DATA)
1386
+ * @param {RequestForMinerListRequest} requestParameters Request parameters.
1387
+ *
1388
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1389
+ * @memberof MiningApiInterface
1390
+ */
1391
+ requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
1392
+ /**
1393
+ * Statistic List
1394
+ *
1395
+ * Weight: 5
1396
+ *
1397
+ * @summary Statistic List(USER_DATA)
1398
+ * @param {StatisticListRequest} requestParameters Request parameters.
1399
+ *
1400
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1401
+ * @memberof MiningApiInterface
1402
+ */
1403
+ statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
1641
1404
  }
1642
1405
  /**
1643
1406
  * Request parameters for accountList operation in MiningApi.
1644
1407
  * @interface AccountListRequest
1645
1408
  */
1646
1409
  interface AccountListRequest {
1647
- /**
1648
- * Algorithm(sha256) sha256
1649
- * @type {string}
1650
- * @memberof MiningApiAccountList
1651
- */
1652
- readonly algo: string;
1653
- /**
1654
- * Mining account test
1655
- * @type {string}
1656
- * @memberof MiningApiAccountList
1657
- */
1658
- readonly userName: string;
1659
- /**
1660
- *
1661
- * @type {number}
1662
- * @memberof MiningApiAccountList
1663
- */
1664
- readonly recvWindow?: number;
1410
+ /**
1411
+ * Algorithm(sha256) sha256
1412
+ * @type {string}
1413
+ * @memberof MiningApiAccountList
1414
+ */
1415
+ readonly algo: string;
1416
+ /**
1417
+ * Mining account test
1418
+ * @type {string}
1419
+ * @memberof MiningApiAccountList
1420
+ */
1421
+ readonly userName: string;
1422
+ /**
1423
+ *
1424
+ * @type {number | bigint}
1425
+ * @memberof MiningApiAccountList
1426
+ */
1427
+ readonly recvWindow?: number | bigint;
1665
1428
  }
1666
1429
  /**
1667
1430
  * Request parameters for cancelHashrateResaleConfiguration operation in MiningApi.
1668
1431
  * @interface CancelHashrateResaleConfigurationRequest
1669
1432
  */
1670
1433
  interface CancelHashrateResaleConfigurationRequest {
1671
- /**
1672
- * Mining ID 168
1673
- * @type {number}
1674
- * @memberof MiningApiCancelHashrateResaleConfiguration
1675
- */
1676
- readonly configId: number;
1677
- /**
1678
- * Mining account test
1679
- * @type {string}
1680
- * @memberof MiningApiCancelHashrateResaleConfiguration
1681
- */
1682
- readonly userName: string;
1683
- /**
1684
- *
1685
- * @type {number}
1686
- * @memberof MiningApiCancelHashrateResaleConfiguration
1687
- */
1688
- readonly recvWindow?: number;
1434
+ /**
1435
+ * Mining ID 168
1436
+ * @type {number | bigint}
1437
+ * @memberof MiningApiCancelHashrateResaleConfiguration
1438
+ */
1439
+ readonly configId: number | bigint;
1440
+ /**
1441
+ * Mining account test
1442
+ * @type {string}
1443
+ * @memberof MiningApiCancelHashrateResaleConfiguration
1444
+ */
1445
+ readonly userName: string;
1446
+ /**
1447
+ *
1448
+ * @type {number | bigint}
1449
+ * @memberof MiningApiCancelHashrateResaleConfiguration
1450
+ */
1451
+ readonly recvWindow?: number | bigint;
1689
1452
  }
1690
1453
  /**
1691
1454
  * Request parameters for earningsList operation in MiningApi.
1692
1455
  * @interface EarningsListRequest
1693
1456
  */
1694
1457
  interface EarningsListRequest {
1695
- /**
1696
- * Algorithm(sha256) sha256
1697
- * @type {string}
1698
- * @memberof MiningApiEarningsList
1699
- */
1700
- readonly algo: string;
1701
- /**
1702
- * Mining account test
1703
- * @type {string}
1704
- * @memberof MiningApiEarningsList
1705
- */
1706
- readonly userName: string;
1707
- /**
1708
- * Coin Name
1709
- * @type {string}
1710
- * @memberof MiningApiEarningsList
1711
- */
1712
- readonly coin?: string;
1713
- /**
1714
- * Millisecond timestamp
1715
- * @type {number}
1716
- * @memberof MiningApiEarningsList
1717
- */
1718
- readonly startDate?: number;
1719
- /**
1720
- * Millisecond timestamp
1721
- * @type {number}
1722
- * @memberof MiningApiEarningsList
1723
- */
1724
- readonly endDate?: number;
1725
- /**
1726
- * Page number, empty default first page, starting from 1
1727
- * @type {number}
1728
- * @memberof MiningApiEarningsList
1729
- */
1730
- readonly pageIndex?: number;
1731
- /**
1732
- * Min 10,Max 200
1733
- * @type {number}
1734
- * @memberof MiningApiEarningsList
1735
- */
1736
- readonly pageSize?: number;
1737
- /**
1738
- *
1739
- * @type {number}
1740
- * @memberof MiningApiEarningsList
1741
- */
1742
- readonly recvWindow?: number;
1458
+ /**
1459
+ * Algorithm(sha256) sha256
1460
+ * @type {string}
1461
+ * @memberof MiningApiEarningsList
1462
+ */
1463
+ readonly algo: string;
1464
+ /**
1465
+ * Mining account test
1466
+ * @type {string}
1467
+ * @memberof MiningApiEarningsList
1468
+ */
1469
+ readonly userName: string;
1470
+ /**
1471
+ * Coin Name
1472
+ * @type {string}
1473
+ * @memberof MiningApiEarningsList
1474
+ */
1475
+ readonly coin?: string;
1476
+ /**
1477
+ * Millisecond timestamp
1478
+ * @type {number | bigint}
1479
+ * @memberof MiningApiEarningsList
1480
+ */
1481
+ readonly startDate?: number | bigint;
1482
+ /**
1483
+ * Millisecond timestamp
1484
+ * @type {number | bigint}
1485
+ * @memberof MiningApiEarningsList
1486
+ */
1487
+ readonly endDate?: number | bigint;
1488
+ /**
1489
+ * Page number, empty default first page, starting from 1
1490
+ * @type {number | bigint}
1491
+ * @memberof MiningApiEarningsList
1492
+ */
1493
+ readonly pageIndex?: number | bigint;
1494
+ /**
1495
+ * Min 10,Max 200
1496
+ * @type {number | bigint}
1497
+ * @memberof MiningApiEarningsList
1498
+ */
1499
+ readonly pageSize?: number | bigint;
1500
+ /**
1501
+ *
1502
+ * @type {number | bigint}
1503
+ * @memberof MiningApiEarningsList
1504
+ */
1505
+ readonly recvWindow?: number | bigint;
1743
1506
  }
1744
1507
  /**
1745
1508
  * Request parameters for extraBonusList operation in MiningApi.
1746
1509
  * @interface ExtraBonusListRequest
1747
1510
  */
1748
1511
  interface ExtraBonusListRequest {
1749
- /**
1750
- * Algorithm(sha256) sha256
1751
- * @type {string}
1752
- * @memberof MiningApiExtraBonusList
1753
- */
1754
- readonly algo: string;
1755
- /**
1756
- * Mining account test
1757
- * @type {string}
1758
- * @memberof MiningApiExtraBonusList
1759
- */
1760
- readonly userName: string;
1761
- /**
1762
- * Coin Name
1763
- * @type {string}
1764
- * @memberof MiningApiExtraBonusList
1765
- */
1766
- readonly coin?: string;
1767
- /**
1768
- * Millisecond timestamp
1769
- * @type {number}
1770
- * @memberof MiningApiExtraBonusList
1771
- */
1772
- readonly startDate?: number;
1773
- /**
1774
- * Millisecond timestamp
1775
- * @type {number}
1776
- * @memberof MiningApiExtraBonusList
1777
- */
1778
- readonly endDate?: number;
1779
- /**
1780
- * Page number, empty default first page, starting from 1
1781
- * @type {number}
1782
- * @memberof MiningApiExtraBonusList
1783
- */
1784
- readonly pageIndex?: number;
1785
- /**
1786
- * Min 10,Max 200
1787
- * @type {number}
1788
- * @memberof MiningApiExtraBonusList
1789
- */
1790
- readonly pageSize?: number;
1791
- /**
1792
- *
1793
- * @type {number}
1794
- * @memberof MiningApiExtraBonusList
1795
- */
1796
- readonly recvWindow?: number;
1512
+ /**
1513
+ * Algorithm(sha256) sha256
1514
+ * @type {string}
1515
+ * @memberof MiningApiExtraBonusList
1516
+ */
1517
+ readonly algo: string;
1518
+ /**
1519
+ * Mining account test
1520
+ * @type {string}
1521
+ * @memberof MiningApiExtraBonusList
1522
+ */
1523
+ readonly userName: string;
1524
+ /**
1525
+ * Coin Name
1526
+ * @type {string}
1527
+ * @memberof MiningApiExtraBonusList
1528
+ */
1529
+ readonly coin?: string;
1530
+ /**
1531
+ * Millisecond timestamp
1532
+ * @type {number | bigint}
1533
+ * @memberof MiningApiExtraBonusList
1534
+ */
1535
+ readonly startDate?: number | bigint;
1536
+ /**
1537
+ * Millisecond timestamp
1538
+ * @type {number | bigint}
1539
+ * @memberof MiningApiExtraBonusList
1540
+ */
1541
+ readonly endDate?: number | bigint;
1542
+ /**
1543
+ * Page number, empty default first page, starting from 1
1544
+ * @type {number | bigint}
1545
+ * @memberof MiningApiExtraBonusList
1546
+ */
1547
+ readonly pageIndex?: number | bigint;
1548
+ /**
1549
+ * Min 10,Max 200
1550
+ * @type {number | bigint}
1551
+ * @memberof MiningApiExtraBonusList
1552
+ */
1553
+ readonly pageSize?: number | bigint;
1554
+ /**
1555
+ *
1556
+ * @type {number | bigint}
1557
+ * @memberof MiningApiExtraBonusList
1558
+ */
1559
+ readonly recvWindow?: number | bigint;
1797
1560
  }
1798
1561
  /**
1799
1562
  * Request parameters for hashrateResaleDetail operation in MiningApi.
1800
1563
  * @interface HashrateResaleDetailRequest
1801
1564
  */
1802
1565
  interface HashrateResaleDetailRequest {
1803
- /**
1804
- * Mining ID 168
1805
- * @type {number}
1806
- * @memberof MiningApiHashrateResaleDetail
1807
- */
1808
- readonly configId: number;
1809
- /**
1810
- * Mining account test
1811
- * @type {string}
1812
- * @memberof MiningApiHashrateResaleDetail
1813
- */
1814
- readonly userName: string;
1815
- /**
1816
- * Page number, empty default first page, starting from 1
1817
- * @type {number}
1818
- * @memberof MiningApiHashrateResaleDetail
1819
- */
1820
- readonly pageIndex?: number;
1821
- /**
1822
- * Min 10,Max 200
1823
- * @type {number}
1824
- * @memberof MiningApiHashrateResaleDetail
1825
- */
1826
- readonly pageSize?: number;
1827
- /**
1828
- *
1829
- * @type {number}
1830
- * @memberof MiningApiHashrateResaleDetail
1831
- */
1832
- readonly recvWindow?: number;
1566
+ /**
1567
+ * Mining ID 168
1568
+ * @type {number | bigint}
1569
+ * @memberof MiningApiHashrateResaleDetail
1570
+ */
1571
+ readonly configId: number | bigint;
1572
+ /**
1573
+ * Mining account test
1574
+ * @type {string}
1575
+ * @memberof MiningApiHashrateResaleDetail
1576
+ */
1577
+ readonly userName: string;
1578
+ /**
1579
+ * Page number, empty default first page, starting from 1
1580
+ * @type {number | bigint}
1581
+ * @memberof MiningApiHashrateResaleDetail
1582
+ */
1583
+ readonly pageIndex?: number | bigint;
1584
+ /**
1585
+ * Min 10,Max 200
1586
+ * @type {number | bigint}
1587
+ * @memberof MiningApiHashrateResaleDetail
1588
+ */
1589
+ readonly pageSize?: number | bigint;
1590
+ /**
1591
+ *
1592
+ * @type {number | bigint}
1593
+ * @memberof MiningApiHashrateResaleDetail
1594
+ */
1595
+ readonly recvWindow?: number | bigint;
1833
1596
  }
1834
1597
  /**
1835
1598
  * Request parameters for hashrateResaleList operation in MiningApi.
1836
1599
  * @interface HashrateResaleListRequest
1837
1600
  */
1838
1601
  interface HashrateResaleListRequest {
1839
- /**
1840
- * Page number, empty default first page, starting from 1
1841
- * @type {number}
1842
- * @memberof MiningApiHashrateResaleList
1843
- */
1844
- readonly pageIndex?: number;
1845
- /**
1846
- * Min 10,Max 200
1847
- * @type {number}
1848
- * @memberof MiningApiHashrateResaleList
1849
- */
1850
- readonly pageSize?: number;
1851
- /**
1852
- *
1853
- * @type {number}
1854
- * @memberof MiningApiHashrateResaleList
1855
- */
1856
- readonly recvWindow?: number;
1602
+ /**
1603
+ * Page number, empty default first page, starting from 1
1604
+ * @type {number | bigint}
1605
+ * @memberof MiningApiHashrateResaleList
1606
+ */
1607
+ readonly pageIndex?: number | bigint;
1608
+ /**
1609
+ * Min 10,Max 200
1610
+ * @type {number | bigint}
1611
+ * @memberof MiningApiHashrateResaleList
1612
+ */
1613
+ readonly pageSize?: number | bigint;
1614
+ /**
1615
+ *
1616
+ * @type {number | bigint}
1617
+ * @memberof MiningApiHashrateResaleList
1618
+ */
1619
+ readonly recvWindow?: number | bigint;
1857
1620
  }
1858
1621
  /**
1859
1622
  * Request parameters for hashrateResaleRequest operation in MiningApi.
1860
1623
  * @interface HashrateResaleRequestRequest
1861
1624
  */
1862
1625
  interface HashrateResaleRequestRequest {
1863
- /**
1864
- * Mining account test
1865
- * @type {string}
1866
- * @memberof MiningApiHashrateResaleRequest
1867
- */
1868
- readonly userName: string;
1869
- /**
1870
- * Algorithm(sha256) sha256
1871
- * @type {string}
1872
- * @memberof MiningApiHashrateResaleRequest
1873
- */
1874
- readonly algo: string;
1875
- /**
1876
- * Resale End Time (Millisecond timestamp) 1617659086000
1877
- * @type {number}
1878
- * @memberof MiningApiHashrateResaleRequest
1879
- */
1880
- readonly endDate: number;
1881
- /**
1882
- * Resale Start Time(Millisecond timestamp) 1607659086000
1883
- * @type {number}
1884
- * @memberof MiningApiHashrateResaleRequest
1885
- */
1886
- readonly startDate: number;
1887
- /**
1888
- * Mining Account S19pro
1889
- * @type {string}
1890
- * @memberof MiningApiHashrateResaleRequest
1891
- */
1892
- readonly toPoolUser: string;
1893
- /**
1894
- * Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
1895
- * @type {number}
1896
- * @memberof MiningApiHashrateResaleRequest
1897
- */
1898
- readonly hashRate: number;
1899
- /**
1900
- *
1901
- * @type {number}
1902
- * @memberof MiningApiHashrateResaleRequest
1903
- */
1904
- readonly recvWindow?: number;
1626
+ /**
1627
+ * Mining account test
1628
+ * @type {string}
1629
+ * @memberof MiningApiHashrateResaleRequest
1630
+ */
1631
+ readonly userName: string;
1632
+ /**
1633
+ * Algorithm(sha256) sha256
1634
+ * @type {string}
1635
+ * @memberof MiningApiHashrateResaleRequest
1636
+ */
1637
+ readonly algo: string;
1638
+ /**
1639
+ * Resale End Time (Millisecond timestamp) 1617659086000
1640
+ * @type {number | bigint}
1641
+ * @memberof MiningApiHashrateResaleRequest
1642
+ */
1643
+ readonly endDate: number | bigint;
1644
+ /**
1645
+ * Resale Start Time(Millisecond timestamp) 1607659086000
1646
+ * @type {number | bigint}
1647
+ * @memberof MiningApiHashrateResaleRequest
1648
+ */
1649
+ readonly startDate: number | bigint;
1650
+ /**
1651
+ * Mining Account S19pro
1652
+ * @type {string}
1653
+ * @memberof MiningApiHashrateResaleRequest
1654
+ */
1655
+ readonly toPoolUser: string;
1656
+ /**
1657
+ * Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
1658
+ * @type {number | bigint}
1659
+ * @memberof MiningApiHashrateResaleRequest
1660
+ */
1661
+ readonly hashRate: number | bigint;
1662
+ /**
1663
+ *
1664
+ * @type {number | bigint}
1665
+ * @memberof MiningApiHashrateResaleRequest
1666
+ */
1667
+ readonly recvWindow?: number | bigint;
1905
1668
  }
1906
1669
  /**
1907
1670
  * Request parameters for miningAccountEarning operation in MiningApi.
1908
1671
  * @interface MiningAccountEarningRequest
1909
1672
  */
1910
1673
  interface MiningAccountEarningRequest {
1911
- /**
1912
- * Algorithm(sha256) sha256
1913
- * @type {string}
1914
- * @memberof MiningApiMiningAccountEarning
1915
- */
1916
- readonly algo: string;
1917
- /**
1918
- * Millisecond timestamp
1919
- * @type {number}
1920
- * @memberof MiningApiMiningAccountEarning
1921
- */
1922
- readonly startDate?: number;
1923
- /**
1924
- * Millisecond timestamp
1925
- * @type {number}
1926
- * @memberof MiningApiMiningAccountEarning
1927
- */
1928
- readonly endDate?: number;
1929
- /**
1930
- * Page number, empty default first page, starting from 1
1931
- * @type {number}
1932
- * @memberof MiningApiMiningAccountEarning
1933
- */
1934
- readonly pageIndex?: number;
1935
- /**
1936
- * Min 10,Max 200
1937
- * @type {number}
1938
- * @memberof MiningApiMiningAccountEarning
1939
- */
1940
- readonly pageSize?: number;
1941
- /**
1942
- *
1943
- * @type {number}
1944
- * @memberof MiningApiMiningAccountEarning
1945
- */
1946
- readonly recvWindow?: number;
1674
+ /**
1675
+ * Algorithm(sha256) sha256
1676
+ * @type {string}
1677
+ * @memberof MiningApiMiningAccountEarning
1678
+ */
1679
+ readonly algo: string;
1680
+ /**
1681
+ * Millisecond timestamp
1682
+ * @type {number | bigint}
1683
+ * @memberof MiningApiMiningAccountEarning
1684
+ */
1685
+ readonly startDate?: number | bigint;
1686
+ /**
1687
+ * Millisecond timestamp
1688
+ * @type {number | bigint}
1689
+ * @memberof MiningApiMiningAccountEarning
1690
+ */
1691
+ readonly endDate?: number | bigint;
1692
+ /**
1693
+ * Page number, empty default first page, starting from 1
1694
+ * @type {number | bigint}
1695
+ * @memberof MiningApiMiningAccountEarning
1696
+ */
1697
+ readonly pageIndex?: number | bigint;
1698
+ /**
1699
+ * Min 10,Max 200
1700
+ * @type {number | bigint}
1701
+ * @memberof MiningApiMiningAccountEarning
1702
+ */
1703
+ readonly pageSize?: number | bigint;
1704
+ /**
1705
+ *
1706
+ * @type {number | bigint}
1707
+ * @memberof MiningApiMiningAccountEarning
1708
+ */
1709
+ readonly recvWindow?: number | bigint;
1947
1710
  }
1948
1711
  /**
1949
1712
  * Request parameters for requestForDetailMinerList operation in MiningApi.
1950
1713
  * @interface RequestForDetailMinerListRequest
1951
1714
  */
1952
1715
  interface RequestForDetailMinerListRequest {
1953
- /**
1954
- * Algorithm(sha256) sha256
1955
- * @type {string}
1956
- * @memberof MiningApiRequestForDetailMinerList
1957
- */
1958
- readonly algo: string;
1959
- /**
1960
- * Mining account test
1961
- * @type {string}
1962
- * @memberof MiningApiRequestForDetailMinerList
1963
- */
1964
- readonly userName: string;
1965
- /**
1966
- * Miner’s name(required) bhdc1.16A10404B
1967
- * @type {string}
1968
- * @memberof MiningApiRequestForDetailMinerList
1969
- */
1970
- readonly workerName: string;
1971
- /**
1972
- *
1973
- * @type {number}
1974
- * @memberof MiningApiRequestForDetailMinerList
1975
- */
1976
- readonly recvWindow?: number;
1716
+ /**
1717
+ * Algorithm(sha256) sha256
1718
+ * @type {string}
1719
+ * @memberof MiningApiRequestForDetailMinerList
1720
+ */
1721
+ readonly algo: string;
1722
+ /**
1723
+ * Mining account test
1724
+ * @type {string}
1725
+ * @memberof MiningApiRequestForDetailMinerList
1726
+ */
1727
+ readonly userName: string;
1728
+ /**
1729
+ * Miner’s name(required) bhdc1.16A10404B
1730
+ * @type {string}
1731
+ * @memberof MiningApiRequestForDetailMinerList
1732
+ */
1733
+ readonly workerName: string;
1734
+ /**
1735
+ *
1736
+ * @type {number | bigint}
1737
+ * @memberof MiningApiRequestForDetailMinerList
1738
+ */
1739
+ readonly recvWindow?: number | bigint;
1977
1740
  }
1978
1741
  /**
1979
1742
  * Request parameters for requestForMinerList operation in MiningApi.
1980
1743
  * @interface RequestForMinerListRequest
1981
1744
  */
1982
1745
  interface RequestForMinerListRequest {
1983
- /**
1984
- * Algorithm(sha256) sha256
1985
- * @type {string}
1986
- * @memberof MiningApiRequestForMinerList
1987
- */
1988
- readonly algo: string;
1989
- /**
1990
- * Mining account test
1991
- * @type {string}
1992
- * @memberof MiningApiRequestForMinerList
1993
- */
1994
- readonly userName: string;
1995
- /**
1996
- * Page number, empty default first page, starting from 1
1997
- * @type {number}
1998
- * @memberof MiningApiRequestForMinerList
1999
- */
2000
- readonly pageIndex?: number;
2001
- /**
2002
- * sort sequence(default=0)0 positive sequence,1 negative sequence
2003
- * @type {number}
2004
- * @memberof MiningApiRequestForMinerList
2005
- */
2006
- readonly sort?: number;
2007
- /**
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}
2010
- * @memberof MiningApiRequestForMinerList
2011
- */
2012
- readonly sortColumn?: number;
2013
- /**
2014
- * miners status(default=0),0 all,1 valid,2 invalid,3 failure
2015
- * @type {number}
2016
- * @memberof MiningApiRequestForMinerList
2017
- */
2018
- readonly workerStatus?: number;
2019
- /**
2020
- *
2021
- * @type {number}
2022
- * @memberof MiningApiRequestForMinerList
2023
- */
2024
- readonly recvWindow?: number;
1746
+ /**
1747
+ * Algorithm(sha256) sha256
1748
+ * @type {string}
1749
+ * @memberof MiningApiRequestForMinerList
1750
+ */
1751
+ readonly algo: string;
1752
+ /**
1753
+ * Mining account test
1754
+ * @type {string}
1755
+ * @memberof MiningApiRequestForMinerList
1756
+ */
1757
+ readonly userName: string;
1758
+ /**
1759
+ * Page number, empty default first page, starting from 1
1760
+ * @type {number | bigint}
1761
+ * @memberof MiningApiRequestForMinerList
1762
+ */
1763
+ readonly pageIndex?: number | bigint;
1764
+ /**
1765
+ * sort sequence(default=0)0 positive sequence,1 negative sequence
1766
+ * @type {number | bigint}
1767
+ * @memberof MiningApiRequestForMinerList
1768
+ */
1769
+ readonly sort?: number | bigint;
1770
+ /**
1771
+ * 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
1772
+ * @type {number | bigint}
1773
+ * @memberof MiningApiRequestForMinerList
1774
+ */
1775
+ readonly sortColumn?: number | bigint;
1776
+ /**
1777
+ * miners status(default=0),0 all,1 valid,2 invalid,3 failure
1778
+ * @type {number | bigint}
1779
+ * @memberof MiningApiRequestForMinerList
1780
+ */
1781
+ readonly workerStatus?: number | bigint;
1782
+ /**
1783
+ *
1784
+ * @type {number | bigint}
1785
+ * @memberof MiningApiRequestForMinerList
1786
+ */
1787
+ readonly recvWindow?: number | bigint;
2025
1788
  }
2026
1789
  /**
2027
1790
  * Request parameters for statisticList operation in MiningApi.
2028
1791
  * @interface StatisticListRequest
2029
1792
  */
2030
1793
  interface StatisticListRequest {
2031
- /**
2032
- * Algorithm(sha256) sha256
2033
- * @type {string}
2034
- * @memberof MiningApiStatisticList
2035
- */
2036
- readonly algo: string;
2037
- /**
2038
- * Mining account test
2039
- * @type {string}
2040
- * @memberof MiningApiStatisticList
2041
- */
2042
- readonly userName: string;
2043
- /**
2044
- *
2045
- * @type {number}
2046
- * @memberof MiningApiStatisticList
2047
- */
2048
- readonly recvWindow?: number;
1794
+ /**
1795
+ * Algorithm(sha256) sha256
1796
+ * @type {string}
1797
+ * @memberof MiningApiStatisticList
1798
+ */
1799
+ readonly algo: string;
1800
+ /**
1801
+ * Mining account test
1802
+ * @type {string}
1803
+ * @memberof MiningApiStatisticList
1804
+ */
1805
+ readonly userName: string;
1806
+ /**
1807
+ *
1808
+ * @type {number | bigint}
1809
+ * @memberof MiningApiStatisticList
1810
+ */
1811
+ readonly recvWindow?: number | bigint;
2049
1812
  }
2050
1813
  /**
2051
1814
  * MiningApi - object-oriented interface
2052
1815
  * @class MiningApi
2053
1816
  */
2054
1817
  declare class MiningApi implements MiningApiInterface {
2055
- private readonly configuration;
2056
- private localVarAxiosParamCreator;
2057
- constructor(configuration: ConfigurationRestAPI);
2058
- /**
2059
- * Query Account List
2060
- *
2061
- * Weight: 5
2062
- *
2063
- * @summary Account List(USER_DATA)
2064
- * @param {AccountListRequest} requestParameters Request parameters.
2065
- * @returns {Promise<RestApiResponse<AccountListResponse>>}
2066
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2067
- * @memberof MiningApi
2068
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
2069
- */
2070
- accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
2071
- /**
2072
- * Acquiring Algorithm
2073
- *
2074
- * Weight: 1
2075
- *
2076
- * @summary Acquiring Algorithm(MARKET_DATA)
2077
- * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
2078
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2079
- * @memberof MiningApi
2080
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
2081
- */
2082
- acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
2083
- /**
2084
- * Acquiring CoinName
2085
- *
2086
- * Weight: 1
2087
- *
2088
- * @summary Acquiring CoinName(MARKET_DATA)
2089
- * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
2090
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2091
- * @memberof MiningApi
2092
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
2093
- */
2094
- acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
2095
- /**
2096
- *
2097
- * Weight: 5
2098
- *
2099
- * @summary Cancel hashrate resale configuration(USER_DATA)
2100
- * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
2101
- * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
2102
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2103
- * @memberof MiningApi
2104
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
2105
- */
2106
- cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
2107
- /**
2108
- * Query Earnings List
2109
- *
2110
- * Weight: 5
2111
- *
2112
- * @summary Earnings List(USER_DATA)
2113
- * @param {EarningsListRequest} requestParameters Request parameters.
2114
- * @returns {Promise<RestApiResponse<EarningsListResponse>>}
2115
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2116
- * @memberof MiningApi
2117
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
2118
- */
2119
- earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
2120
- /**
2121
- * Extra Bonus List
2122
- *
2123
- * Weight: 5
2124
- *
2125
- * @summary Extra Bonus List(USER_DATA)
2126
- * @param {ExtraBonusListRequest} requestParameters Request parameters.
2127
- * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
2128
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2129
- * @memberof MiningApi
2130
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
2131
- */
2132
- extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
2133
- /**
2134
- * Hashrate Resale Detail(USER_DATA)
2135
- *
2136
- * Weight: 5
2137
- *
2138
- * @summary Hashrate Resale Detail(USER_DATA)
2139
- * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
2140
- * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
2141
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2142
- * @memberof MiningApi
2143
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
2144
- */
2145
- hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
2146
- /**
2147
- * Hashrate Resale List
2148
- *
2149
- * Weight: 5
2150
- *
2151
- * @summary Hashrate Resale List
2152
- * @param {HashrateResaleListRequest} requestParameters Request parameters.
2153
- * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
2154
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2155
- * @memberof MiningApi
2156
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
2157
- */
2158
- hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
2159
- /**
2160
- * Hashrate Resale Request
2161
- *
2162
- * Weight: 5
2163
- *
2164
- * @summary Hashrate Resale Request(USER_DATA)
2165
- * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
2166
- * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
2167
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2168
- * @memberof MiningApi
2169
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
2170
- */
2171
- hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
2172
- /**
2173
- * Mining Account Earning
2174
- *
2175
- * Weight: 5
2176
- *
2177
- * @summary Mining Account Earning(USER_DATA)
2178
- * @param {MiningAccountEarningRequest} requestParameters Request parameters.
2179
- * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
2180
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2181
- * @memberof MiningApi
2182
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
2183
- */
2184
- miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
2185
- /**
2186
- * Request for Detail Miner List
2187
- *
2188
- * Weight: 5
2189
- *
2190
- * @summary Request for Detail Miner List(USER_DATA)
2191
- * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
2192
- * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
2193
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2194
- * @memberof MiningApi
2195
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
2196
- */
2197
- requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
2198
- /**
2199
- * Request for Miner List
2200
- *
2201
- * Weight: 5
2202
- *
2203
- * @summary Request for Miner List(USER_DATA)
2204
- * @param {RequestForMinerListRequest} requestParameters Request parameters.
2205
- * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
2206
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2207
- * @memberof MiningApi
2208
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
2209
- */
2210
- requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
2211
- /**
2212
- * Statistic List
2213
- *
2214
- * Weight: 5
2215
- *
2216
- * @summary Statistic List(USER_DATA)
2217
- * @param {StatisticListRequest} requestParameters Request parameters.
2218
- * @returns {Promise<RestApiResponse<StatisticListResponse>>}
2219
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2220
- * @memberof MiningApi
2221
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
2222
- */
2223
- statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
1818
+ private readonly configuration;
1819
+ private localVarAxiosParamCreator;
1820
+ constructor(configuration: ConfigurationRestAPI);
1821
+ /**
1822
+ * Query Account List
1823
+ *
1824
+ * Weight: 5
1825
+ *
1826
+ * @summary Account List(USER_DATA)
1827
+ * @param {AccountListRequest} requestParameters Request parameters.
1828
+ * @returns {Promise<RestApiResponse<AccountListResponse>>}
1829
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1830
+ * @memberof MiningApi
1831
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
1832
+ */
1833
+ accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
1834
+ /**
1835
+ * Acquiring Algorithm
1836
+ *
1837
+ * Weight: 1
1838
+ *
1839
+ * @summary Acquiring Algorithm(MARKET_DATA)
1840
+ * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
1841
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1842
+ * @memberof MiningApi
1843
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
1844
+ */
1845
+ acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
1846
+ /**
1847
+ * Acquiring CoinName
1848
+ *
1849
+ * Weight: 1
1850
+ *
1851
+ * @summary Acquiring CoinName(MARKET_DATA)
1852
+ * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
1853
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1854
+ * @memberof MiningApi
1855
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
1856
+ */
1857
+ acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
1858
+ /**
1859
+ *
1860
+ * Weight: 5
1861
+ *
1862
+ * @summary Cancel hashrate resale configuration(USER_DATA)
1863
+ * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
1864
+ * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
1865
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1866
+ * @memberof MiningApi
1867
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
1868
+ */
1869
+ cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
1870
+ /**
1871
+ * Query Earnings List
1872
+ *
1873
+ * Weight: 5
1874
+ *
1875
+ * @summary Earnings List(USER_DATA)
1876
+ * @param {EarningsListRequest} requestParameters Request parameters.
1877
+ * @returns {Promise<RestApiResponse<EarningsListResponse>>}
1878
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1879
+ * @memberof MiningApi
1880
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
1881
+ */
1882
+ earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
1883
+ /**
1884
+ * Extra Bonus List
1885
+ *
1886
+ * Weight: 5
1887
+ *
1888
+ * @summary Extra Bonus List(USER_DATA)
1889
+ * @param {ExtraBonusListRequest} requestParameters Request parameters.
1890
+ * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
1891
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1892
+ * @memberof MiningApi
1893
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
1894
+ */
1895
+ extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
1896
+ /**
1897
+ * Hashrate Resale Detail(USER_DATA)
1898
+ *
1899
+ * Weight: 5
1900
+ *
1901
+ * @summary Hashrate Resale Detail(USER_DATA)
1902
+ * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
1903
+ * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
1904
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1905
+ * @memberof MiningApi
1906
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
1907
+ */
1908
+ hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
1909
+ /**
1910
+ * Hashrate Resale List
1911
+ *
1912
+ * Weight: 5
1913
+ *
1914
+ * @summary Hashrate Resale List
1915
+ * @param {HashrateResaleListRequest} requestParameters Request parameters.
1916
+ * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
1917
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1918
+ * @memberof MiningApi
1919
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
1920
+ */
1921
+ hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
1922
+ /**
1923
+ * Hashrate Resale Request
1924
+ *
1925
+ * Weight: 5
1926
+ *
1927
+ * @summary Hashrate Resale Request(USER_DATA)
1928
+ * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
1929
+ * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
1930
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1931
+ * @memberof MiningApi
1932
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
1933
+ */
1934
+ hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
1935
+ /**
1936
+ * Mining Account Earning
1937
+ *
1938
+ * Weight: 5
1939
+ *
1940
+ * @summary Mining Account Earning(USER_DATA)
1941
+ * @param {MiningAccountEarningRequest} requestParameters Request parameters.
1942
+ * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
1943
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1944
+ * @memberof MiningApi
1945
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
1946
+ */
1947
+ miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
1948
+ /**
1949
+ * Request for Detail Miner List
1950
+ *
1951
+ * Weight: 5
1952
+ *
1953
+ * @summary Request for Detail Miner List(USER_DATA)
1954
+ * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
1955
+ * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
1956
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1957
+ * @memberof MiningApi
1958
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
1959
+ */
1960
+ requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
1961
+ /**
1962
+ * Request for Miner List
1963
+ *
1964
+ * Weight: 5
1965
+ *
1966
+ * @summary Request for Miner List(USER_DATA)
1967
+ * @param {RequestForMinerListRequest} requestParameters Request parameters.
1968
+ * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
1969
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1970
+ * @memberof MiningApi
1971
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
1972
+ */
1973
+ requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
1974
+ /**
1975
+ * Statistic List
1976
+ *
1977
+ * Weight: 5
1978
+ *
1979
+ * @summary Statistic List(USER_DATA)
1980
+ * @param {StatisticListRequest} requestParameters Request parameters.
1981
+ * @returns {Promise<RestApiResponse<StatisticListResponse>>}
1982
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1983
+ * @memberof MiningApi
1984
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
1985
+ */
1986
+ statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
2224
1987
  }
2225
-
2226
- /**
2227
- * Binance Mining REST API
2228
- *
2229
- * OpenAPI Specification for the Binance Mining REST API
2230
- *
2231
- * The version of the OpenAPI document: 1.0.0
2232
- *
2233
- *
2234
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2235
- * https://openapi-generator.tech
2236
- * Do not edit the class manually.
2237
- */
2238
-
1988
+ //#endregion
1989
+ //#region src/rest-api/rest-api.d.ts
2239
1990
  declare class RestAPI {
2240
- private configuration;
2241
- private miningApi;
2242
- constructor(configuration: ConfigurationRestAPI);
2243
- /**
2244
- * Generic function to send a request.
2245
- * @param endpoint - The API endpoint to call.
2246
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2247
- * @param params - Query parameters for the request.
2248
- *
2249
- * @returns A promise resolving to the response data object.
2250
- */
2251
- sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2252
- /**
2253
- * Generic function to send a signed request.
2254
- * @param endpoint - The API endpoint to call.
2255
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2256
- * @param params - Query parameters for the request.
2257
- *
2258
- * @returns A promise resolving to the response data object.
2259
- */
2260
- sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2261
- /**
2262
- * Query Account List
2263
- *
2264
- * Weight: 5
2265
- *
2266
- * @summary Account List(USER_DATA)
2267
- * @param {AccountListRequest} requestParameters Request parameters.
2268
- *
2269
- * @returns {Promise<RestApiResponse<AccountListResponse>>}
2270
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2271
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
2272
- */
2273
- accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
2274
- /**
2275
- * Acquiring Algorithm
2276
- *
2277
- * Weight: 1
2278
- *
2279
- * @summary Acquiring Algorithm(MARKET_DATA)
2280
- *
2281
- * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
2282
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2283
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
2284
- */
2285
- acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
2286
- /**
2287
- * Acquiring CoinName
2288
- *
2289
- * Weight: 1
2290
- *
2291
- * @summary Acquiring CoinName(MARKET_DATA)
2292
- *
2293
- * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
2294
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2295
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
2296
- */
2297
- acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
2298
- /**
2299
- *
2300
- * Weight: 5
2301
- *
2302
- * @summary Cancel hashrate resale configuration(USER_DATA)
2303
- * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
2304
- *
2305
- * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
2306
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2307
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
2308
- */
2309
- cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
2310
- /**
2311
- * Query Earnings List
2312
- *
2313
- * Weight: 5
2314
- *
2315
- * @summary Earnings List(USER_DATA)
2316
- * @param {EarningsListRequest} requestParameters Request parameters.
2317
- *
2318
- * @returns {Promise<RestApiResponse<EarningsListResponse>>}
2319
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2320
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
2321
- */
2322
- earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
2323
- /**
2324
- * Extra Bonus List
2325
- *
2326
- * Weight: 5
2327
- *
2328
- * @summary Extra Bonus List(USER_DATA)
2329
- * @param {ExtraBonusListRequest} requestParameters Request parameters.
2330
- *
2331
- * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
2332
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2333
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
2334
- */
2335
- extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
2336
- /**
2337
- * Hashrate Resale Detail(USER_DATA)
2338
- *
2339
- * Weight: 5
2340
- *
2341
- * @summary Hashrate Resale Detail(USER_DATA)
2342
- * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
2343
- *
2344
- * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
2345
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2346
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
2347
- */
2348
- hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
2349
- /**
2350
- * Hashrate Resale List
2351
- *
2352
- * Weight: 5
2353
- *
2354
- * @summary Hashrate Resale List
2355
- * @param {HashrateResaleListRequest} requestParameters Request parameters.
2356
- *
2357
- * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
2358
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2359
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
2360
- */
2361
- hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
2362
- /**
2363
- * Hashrate Resale Request
2364
- *
2365
- * Weight: 5
2366
- *
2367
- * @summary Hashrate Resale Request(USER_DATA)
2368
- * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
2369
- *
2370
- * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
2371
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2372
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
2373
- */
2374
- hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
2375
- /**
2376
- * Mining Account Earning
2377
- *
2378
- * Weight: 5
2379
- *
2380
- * @summary Mining Account Earning(USER_DATA)
2381
- * @param {MiningAccountEarningRequest} requestParameters Request parameters.
2382
- *
2383
- * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
2384
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2385
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
2386
- */
2387
- miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
2388
- /**
2389
- * Request for Detail Miner List
2390
- *
2391
- * Weight: 5
2392
- *
2393
- * @summary Request for Detail Miner List(USER_DATA)
2394
- * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
2395
- *
2396
- * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
2397
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2398
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
2399
- */
2400
- requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
2401
- /**
2402
- * Request for Miner List
2403
- *
2404
- * Weight: 5
2405
- *
2406
- * @summary Request for Miner List(USER_DATA)
2407
- * @param {RequestForMinerListRequest} requestParameters Request parameters.
2408
- *
2409
- * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
2410
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2411
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
2412
- */
2413
- requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
2414
- /**
2415
- * Statistic List
2416
- *
2417
- * Weight: 5
2418
- *
2419
- * @summary Statistic List(USER_DATA)
2420
- * @param {StatisticListRequest} requestParameters Request parameters.
2421
- *
2422
- * @returns {Promise<RestApiResponse<StatisticListResponse>>}
2423
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2424
- * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
2425
- */
2426
- statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
1991
+ private configuration;
1992
+ private miningApi;
1993
+ constructor(configuration: ConfigurationRestAPI);
1994
+ /**
1995
+ * Generic function to send a request.
1996
+ * @param endpoint - The API endpoint to call.
1997
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
1998
+ * @param params - Query parameters for the request.
1999
+ *
2000
+ * @returns A promise resolving to the response data object.
2001
+ */
2002
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2003
+ /**
2004
+ * Generic function to send a signed request.
2005
+ * @param endpoint - The API endpoint to call.
2006
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
2007
+ * @param params - Query parameters for the request.
2008
+ *
2009
+ * @returns A promise resolving to the response data object.
2010
+ */
2011
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
2012
+ /**
2013
+ * Query Account List
2014
+ *
2015
+ * Weight: 5
2016
+ *
2017
+ * @summary Account List(USER_DATA)
2018
+ * @param {AccountListRequest} requestParameters Request parameters.
2019
+ *
2020
+ * @returns {Promise<RestApiResponse<AccountListResponse>>}
2021
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2022
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
2023
+ */
2024
+ accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
2025
+ /**
2026
+ * Acquiring Algorithm
2027
+ *
2028
+ * Weight: 1
2029
+ *
2030
+ * @summary Acquiring Algorithm(MARKET_DATA)
2031
+ *
2032
+ * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
2033
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2034
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
2035
+ */
2036
+ acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
2037
+ /**
2038
+ * Acquiring CoinName
2039
+ *
2040
+ * Weight: 1
2041
+ *
2042
+ * @summary Acquiring CoinName(MARKET_DATA)
2043
+ *
2044
+ * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
2045
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2046
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
2047
+ */
2048
+ acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
2049
+ /**
2050
+ *
2051
+ * Weight: 5
2052
+ *
2053
+ * @summary Cancel hashrate resale configuration(USER_DATA)
2054
+ * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
2055
+ *
2056
+ * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
2057
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2058
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
2059
+ */
2060
+ cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
2061
+ /**
2062
+ * Query Earnings List
2063
+ *
2064
+ * Weight: 5
2065
+ *
2066
+ * @summary Earnings List(USER_DATA)
2067
+ * @param {EarningsListRequest} requestParameters Request parameters.
2068
+ *
2069
+ * @returns {Promise<RestApiResponse<EarningsListResponse>>}
2070
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2071
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
2072
+ */
2073
+ earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
2074
+ /**
2075
+ * Extra Bonus List
2076
+ *
2077
+ * Weight: 5
2078
+ *
2079
+ * @summary Extra Bonus List(USER_DATA)
2080
+ * @param {ExtraBonusListRequest} requestParameters Request parameters.
2081
+ *
2082
+ * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
2083
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2084
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
2085
+ */
2086
+ extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
2087
+ /**
2088
+ * Hashrate Resale Detail(USER_DATA)
2089
+ *
2090
+ * Weight: 5
2091
+ *
2092
+ * @summary Hashrate Resale Detail(USER_DATA)
2093
+ * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
2094
+ *
2095
+ * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
2096
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2097
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
2098
+ */
2099
+ hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
2100
+ /**
2101
+ * Hashrate Resale List
2102
+ *
2103
+ * Weight: 5
2104
+ *
2105
+ * @summary Hashrate Resale List
2106
+ * @param {HashrateResaleListRequest} requestParameters Request parameters.
2107
+ *
2108
+ * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
2109
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2110
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
2111
+ */
2112
+ hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
2113
+ /**
2114
+ * Hashrate Resale Request
2115
+ *
2116
+ * Weight: 5
2117
+ *
2118
+ * @summary Hashrate Resale Request(USER_DATA)
2119
+ * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
2120
+ *
2121
+ * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
2122
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2123
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
2124
+ */
2125
+ hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
2126
+ /**
2127
+ * Mining Account Earning
2128
+ *
2129
+ * Weight: 5
2130
+ *
2131
+ * @summary Mining Account Earning(USER_DATA)
2132
+ * @param {MiningAccountEarningRequest} requestParameters Request parameters.
2133
+ *
2134
+ * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
2135
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2136
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
2137
+ */
2138
+ miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
2139
+ /**
2140
+ * Request for Detail Miner List
2141
+ *
2142
+ * Weight: 5
2143
+ *
2144
+ * @summary Request for Detail Miner List(USER_DATA)
2145
+ * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
2146
+ *
2147
+ * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
2148
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2149
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
2150
+ */
2151
+ requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
2152
+ /**
2153
+ * Request for Miner List
2154
+ *
2155
+ * Weight: 5
2156
+ *
2157
+ * @summary Request for Miner List(USER_DATA)
2158
+ * @param {RequestForMinerListRequest} requestParameters Request parameters.
2159
+ *
2160
+ * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
2161
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2162
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
2163
+ */
2164
+ requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
2165
+ /**
2166
+ * Statistic List
2167
+ *
2168
+ * Weight: 5
2169
+ *
2170
+ * @summary Statistic List(USER_DATA)
2171
+ * @param {StatisticListRequest} requestParameters Request parameters.
2172
+ *
2173
+ * @returns {Promise<RestApiResponse<StatisticListResponse>>}
2174
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2175
+ * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
2176
+ */
2177
+ statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
2427
2178
  }
2428
-
2429
- /**
2430
- * Binance Mining REST API
2431
- *
2432
- * OpenAPI Specification for the Binance Mining REST API
2433
- *
2434
- * The version of the OpenAPI document: 1.0.0
2435
- *
2436
- *
2437
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2438
- * https://openapi-generator.tech
2439
- * Do not edit the class manually.
2440
- */
2441
-
2442
- type index_AccountListRequest = AccountListRequest;
2443
- type index_AccountListResponse = AccountListResponse;
2444
- type index_AccountListResponseDataInner = AccountListResponseDataInner;
2445
- type index_AccountListResponseDataInnerListInner = AccountListResponseDataInnerListInner;
2446
- type index_AcquiringAlgorithmResponse = AcquiringAlgorithmResponse;
2447
- type index_AcquiringAlgorithmResponseDataInner = AcquiringAlgorithmResponseDataInner;
2448
- type index_AcquiringCoinnameResponse = AcquiringCoinnameResponse;
2449
- type index_AcquiringCoinnameResponseDataInner = AcquiringCoinnameResponseDataInner;
2450
- type index_CancelHashrateResaleConfigurationRequest = CancelHashrateResaleConfigurationRequest;
2451
- type index_CancelHashrateResaleConfigurationResponse = CancelHashrateResaleConfigurationResponse;
2452
- type index_EarningsListRequest = EarningsListRequest;
2453
- type index_EarningsListResponse = EarningsListResponse;
2454
- type index_EarningsListResponseData = EarningsListResponseData;
2455
- type index_EarningsListResponseDataAccountProfitsInner = EarningsListResponseDataAccountProfitsInner;
2456
- type index_ExtraBonusListRequest = ExtraBonusListRequest;
2457
- type index_ExtraBonusListResponse = ExtraBonusListResponse;
2458
- type index_ExtraBonusListResponseData = ExtraBonusListResponseData;
2459
- type index_ExtraBonusListResponseDataOtherProfitsInner = ExtraBonusListResponseDataOtherProfitsInner;
2460
- type index_HashrateResaleDetailRequest = HashrateResaleDetailRequest;
2461
- type index_HashrateResaleDetailResponse = HashrateResaleDetailResponse;
2462
- type index_HashrateResaleDetailResponseData = HashrateResaleDetailResponseData;
2463
- type index_HashrateResaleDetailResponseDataProfitTransferDetailsInner = HashrateResaleDetailResponseDataProfitTransferDetailsInner;
2464
- type index_HashrateResaleListRequest = HashrateResaleListRequest;
2465
- type index_HashrateResaleListResponse = HashrateResaleListResponse;
2466
- type index_HashrateResaleListResponseData = HashrateResaleListResponseData;
2467
- type index_HashrateResaleListResponseDataConfigDetailsInner = HashrateResaleListResponseDataConfigDetailsInner;
2468
- type index_HashrateResaleRequestRequest = HashrateResaleRequestRequest;
2469
- type index_HashrateResaleRequestResponse = HashrateResaleRequestResponse;
2470
- type index_MiningAccountEarningRequest = MiningAccountEarningRequest;
2471
- type index_MiningAccountEarningResponse = MiningAccountEarningResponse;
2472
- type index_MiningAccountEarningResponseData = MiningAccountEarningResponseData;
2473
- type index_MiningAccountEarningResponseDataAccountProfitsInner = MiningAccountEarningResponseDataAccountProfitsInner;
2474
- type index_MiningApi = MiningApi;
2475
- declare const index_MiningApi: typeof MiningApi;
2476
- type index_MiningApiInterface = MiningApiInterface;
2477
- type index_RequestForDetailMinerListRequest = RequestForDetailMinerListRequest;
2478
- type index_RequestForDetailMinerListResponse = RequestForDetailMinerListResponse;
2479
- type index_RequestForDetailMinerListResponseDataInner = RequestForDetailMinerListResponseDataInner;
2480
- type index_RequestForDetailMinerListResponseDataInnerHashrateDatasInner = RequestForDetailMinerListResponseDataInnerHashrateDatasInner;
2481
- type index_RequestForMinerListRequest = RequestForMinerListRequest;
2482
- type index_RequestForMinerListResponse = RequestForMinerListResponse;
2483
- type index_RequestForMinerListResponseData = RequestForMinerListResponseData;
2484
- type index_RequestForMinerListResponseDataWorkerDatasInner = RequestForMinerListResponseDataWorkerDatasInner;
2485
- type index_RestAPI = RestAPI;
2486
- declare const index_RestAPI: typeof RestAPI;
2487
- type index_StatisticListRequest = StatisticListRequest;
2488
- type index_StatisticListResponse = StatisticListResponse;
2489
- type index_StatisticListResponseData = StatisticListResponseData;
2490
- type index_StatisticListResponseDataProfitToday = StatisticListResponseDataProfitToday;
2491
- declare namespace index {
2492
- 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 };
2179
+ declare namespace index_d_exports {
2180
+ export { AccountListRequest, AccountListResponse, AccountListResponseDataInner, AccountListResponseDataInnerListInner, AcquiringAlgorithmResponse, AcquiringAlgorithmResponseDataInner, AcquiringCoinnameResponse, AcquiringCoinnameResponseDataInner, CancelHashrateResaleConfigurationRequest, CancelHashrateResaleConfigurationResponse, EarningsListRequest, EarningsListResponse, EarningsListResponseData, EarningsListResponseDataAccountProfitsInner, ExtraBonusListRequest, ExtraBonusListResponse, ExtraBonusListResponseData, ExtraBonusListResponseDataOtherProfitsInner, HashrateResaleDetailRequest, HashrateResaleDetailResponse, HashrateResaleDetailResponseData, HashrateResaleDetailResponseDataProfitTransferDetailsInner, HashrateResaleListRequest, HashrateResaleListResponse, HashrateResaleListResponseData, HashrateResaleListResponseDataConfigDetailsInner, HashrateResaleRequestRequest, HashrateResaleRequestResponse, MiningAccountEarningRequest, MiningAccountEarningResponse, MiningAccountEarningResponseData, MiningAccountEarningResponseDataAccountProfitsInner, MiningApi, MiningApiInterface, RequestForDetailMinerListRequest, RequestForDetailMinerListResponse, RequestForDetailMinerListResponseDataInner, RequestForDetailMinerListResponseDataInnerHashrateDatasInner, RequestForMinerListRequest, RequestForMinerListResponse, RequestForMinerListResponseData, RequestForMinerListResponseDataWorkerDatasInner, RestAPI, StatisticListRequest, StatisticListResponse, StatisticListResponseData, StatisticListResponseDataProfitToday };
2493
2181
  }
2494
-
2182
+ //#endregion
2183
+ //#region src/mining.d.ts
2495
2184
  interface ConfigurationMining {
2496
- configurationRestAPI?: ConfigurationRestAPI;
2185
+ configurationRestAPI?: ConfigurationRestAPI;
2497
2186
  }
2498
2187
  declare class Mining {
2499
- restAPI: RestAPI;
2500
- constructor(config: ConfigurationMining);
2188
+ restAPI: RestAPI;
2189
+ constructor(config: ConfigurationMining);
2501
2190
  }
2502
-
2503
- export { type ConfigurationMining, Mining, index as MiningRestAPI };
2191
+ //#endregion
2192
+ export { BadRequestError, ConfigurationMining, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL, Mining, index_d_exports as MiningRestAPI, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
2193
+ //# sourceMappingURL=index.d.mts.map