Skip to content

acquire_account_hashrate_chart

yangxing edited this page Jan 16, 2020 · 3 revisions

Acquire Account Hashrate Chart

  • Description: Acquire account hashrate chart

  • Request Method: GET

  • Request Path: /res/openapi/v1/hashrate/chart

  • Signature Required: No

  • Request Parameter:

name type required description
coin string yes coin type
interval string yes min/hour/day,interval of points. min: 10 minutes, hour: 1 hour, day: 1 day
period int no return points count. default: the max poins count
utc bool no true/false, default: false
  • Response:
{
  "code": 0,
  "data":[
    {
      "timestamp": 1548241200,
      "hashrate": "663931951901",
      "reject_rate": "0"
    },
    {
      "timestamp": 1548237600,
      "hashrate": "663931951901",
      "reject_rate": "0"
    },
  ],
  "message": "OK"
}