Skip to content

acquire_miner_group_hashrate

yangxing edited this page Jan 16, 2020 · 3 revisions

Acquire Miner Group Hashrate

  • Description: Acquire miner groups realtime hashrate

  • Request Method: GET

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

  • Signature Required: No

  • Request Parameter:

name type required description
coin string yes coin type
page int no page number
limit int no return amount, default: 50
{
  "code": 0,
  "data": {
    "count": 2,
    "curr_page": 1,
    "data": [
      {
        "active_workers": 2,
        "coin": "BTC",
        "group_id": 14,
        "group_name": "group1",
        "hashrate_10min": "498445271257",
        "hashrate_1hour": "296868139498",
        "hashrate_24hour": "0",
        "reject_rate": "0",
        "total_workers": 2
      },
      {
        "active_workers": 0,
        "coin": "BTC",
        "group_id": 15,
        "group_name": "group2",
        "hashrate_10min": "0",
        "hashrate_1hour": "0",
        "hashrate_24hour": "0",
        "reject_rate": "0",
        "total_workers": 1
      }
    ],
    "has_next": false,
    "total": 2,
    "total_page": 1
  },
  "message": "OK"
}