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