API Docs
Overview
Get Profile Hashrate History

Get Profile Hashrate History

Retrieves the hashrate history of all sub-accounts of a profile

Example

query getProfileHashrateHistory {
  getProfileHashrateHistory(mpn: BTC, first: 10) {
    edges {
      node {
        dataPoints
        hashrate
        time
      }
    }
  }
}

Response

{
  "data": {
    "getProfileHashrateHistory": {
      "edges": [
        {
          "node": {
            "dataPoints": "",
            "hashrate": "",
            "time": "2023-12-01T08:00:00+00:00"
          }
        },
        {
          "node": {
            "dataPoints": "",
            "hashrate": "",
            "time": "2023-12-01T07:00:00+00:00"
          }
        }
      ]
    }
  }
}

Arguments

  • mpn (MiningProfileName!)
enum MiningProfileName {
  ARRR
  BTC
  DASH
  DCR
  KMD
  LBC
  SC
  SCP
  ZEC
  ZEN
  EQUI
  TBTC
  ETH
  TETH
}
  • first (Int) Only read the first n values of the set.

  • last (Int) Only read the last n values of the set.

  • offset (Int) Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

  • before (Cursor) Read all values in the set before (above) this cursor.

  • after (Cursor) Read all values in the set after (below) this cursor.