Skip to content

acquire_account_hashrate_history

yangxing edited this page Jan 16, 2020 · 3 revisions

Acquire Account Hashrate History

name type required description
coin string yes coin type
start_date string no start date,such as 2019-01-24
end_date string no end date
utc bool no true/false, default: false
page int no page number
limit int no return amount, default: 50
  • Response:
{
  "code": 0,
  "data": {
    "count": 2,
    "curr_page": 1,
    "data": [
      {
        "coin": "BCH",
        "date": "2018-10-05", 
        "hashrate": "651358832825", 
        "reject_rate": "0"    # reject rate, range 0~1
      },
      {
        "coin": "BCH",
        "date": "2018-10-04",
        "hashrate": "663931951901",
        "reject_rate": "0"
      }
    ],
    "has_next": false,
    "total": 2,
    "total_page": 1
  },
  "message": "OK"
}