Sub-account Hashrate Curve Interface
Description
Sub-account hashrate curve interface is used to provide the hashrate curve data of every 10 minutes, each hour and every day for sub-account
URL
/operator/api/subAccountHsChart.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 |
---|---|---|
userId | String | User id |
key | String | API key |
nonce | Long | Incremental random number |
type | String | minute,hour,day |
- Return Value
{ "code": "000000", "data": { "poolSpeedBeanList": [ { "date": 1492782637110, "speed": 0 }, { "date": 1493034637110, "speed": 0 }, { "date": 1493038237110, "speed": 0 } ], "unit": "H/s" }, "message": "ok" }