Pool Statistics Interface
Description
Pool statistics interface is used to obtain sub-account list and real-time hashrate and revenue data for each sub-account.URL
/operator/api/poolStats.htm
Parameter
Parameter | Type | Description |
---|---|---|
opId | String | Operator ID |
coin | String | Coin type (BTC、LTC、ZEC……) |
params | String | Record will use API key for AES encryption,check "Interface Authorization" description for details |
sign | String | Signature,check "Interface Authorization" description for details |
record description:
Name | Type | Description |
---|---|---|
key | String | API key |
nonce | Long | Incremental random number |
- Return Value
{ "code": "000000", "data": { "poolHashrate":"0", //矿池算力(单位为:MH/s) "activeWorkerNumber":"0", //有效矿工数 "networkDiff":"0", //当前网络难度 "totalBlockValue":"0", //总块收益 "totalBlockNumber":"0" //总Block数 }, "message": "ok" }