Skip to main content

Get Pool Hashrate History

Gets the current hashrate of a pool

Hello World

Example

query getPoolHashrateHistory {
getPoolHashrateHistory(mpn: ARRR, orgSlug: "String") {
edges {
node {
dataPoints
hashrate
time
}
}
}
}

Response

{
"errors": [
{
"message": "unauthorized",
"locations": [
{
"line": 14,
"column": 3
}
],
"path": ["getPoolHashrateHistory"]
}
],
"data": {
"getPoolHashrateHistory": null
}
}

Arguments

mpn (MiningProfileName!)

orgSlug (String!)

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

ReturnHistoriesConnection

A connection to a list of ReturnHistory values.