API Docs
Subaccounts Hashrate History

Retrieves all subaccounts hashrate history.

Example

query getAllSubaccountsHashrateHistory {
  getAllSubaccountsHashrateHistory(first: 10, mpn: ARRR, inputInterval: _15_MINUTE) {
    edges {
      node {
        hashrateHistory
        username
      }
    }
  }
}

Response

{
  "data": {
    "getAllSubaccountsHashrateHistory": {
      "edges": [
        {
          "node": {
            "hashrateHistory": [
              {
                "time": "",
                "hashrate": ,
                "data_points":
              }
            ],
            "username": ""
          }
        }
      ]
    }
  }
}

Arguments

mpn (MiningProfileName)

inputInterval (HashrateIntervals)

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.

Type

AggHashrateHistoriesConnection

A connection to a list of AggHashrateHistory values.