API Docs
Overview
Get BTC Hashprice

Get BTC Hashprice

Retrieves the BTC hashprice.

Example

query getBtcHashprice {
  getBtcHashprice(mpn: BTC, first: 10) {
    edges {
      node {
        time
        hashpriceBtcTh
      }
    }
  }
}

Response

{
  "data": {
    "getBtcHashprice": {
      "edges": [
        {
          "node": {
            "time": "",
            "hashpriceBtcTh": ""
          }
        },
        {
          "node": {
            "time": "",
            "hashpriceBtcTh": ""
          }
        }
      ]
    }
  }
}

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.