Retrieves hashrate history for a worker.
Example
query getWorkerHashrateHistory {
getWorkerHashrateHistory(
inputBucket: _15_MINUTE
inputDuration: _15_MINUTE
mpn: ARRR
username: ""
workerName: ""
first: 10
) {
edges {
node {
time
hashrate
}
}
}
}
Response
{
"data": {
"getWorkerHashrateHistory": {
"edges": [
{
"node": {
"time": "",
"hashrate": ""
}
}
]
}
}
}
Arguments
username
(String!
)
workerName
(String!
)
mpn
(MiningProfileName!
)
inputDuration
(HashrateIntervals!
)
inputBucket
(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
ReturnWorkerHashrateHistoriesConnection
A connection to a list of ReturnWorkerHashrateHistory
values.