Pool Hashrate Curve Interface
Description
Pool hashrate curve interface is used to obtain the real-time hashrate chart data of AntPool.
URL
/operator/api/hashrateChart.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": { "poolSpeedBeanList": [ { "date": 1492782637110, "speed": 0 }, { "date": 1493034637110, "speed": 0 }, { "date": 1493038237110, "speed": 0 } ], "unit": "H/s" }, "message": "ok" }