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