Sub-account Worker Hashrate Interface
Description
Sub-account worker hashrate interface is used to obtain sub-account worker and worker hashrate data, include the data of 10 minutes hashrate, 30 minutes hashrate, 1 hour hashrate in real time, rejection number and payment method.
URL
/operator/api/worker.htm- Parameter
| Parameter | Type | Description |
|---|---|---|
| opId | String | Operator ID |
| coin | String | Coin type (BTC、LTC、ZEC……) |
| params | String | Check the table below |
| sign | String | Signature,check "Interface Authorization" description for details. |
record Description:
| Name | Type | Description |
|---|---|---|
| key | String | API key |
| nonce | Long | Incremental random number |
| workId | String | Worker ID |
- Return Value
{ "code": "000000", "data": { "worker": "antminer_1", "last10m": "0", "last30m": "0", "last1h": "0", "last1d": "0", "prev10m": "0", "prev30m": "0", "prev1h": "0", "prev1d": "0", "accepted": "0", "stale": "0", "dupelicate": "0", "other": "0" }, "message": "ok" }