Subaccounts Hashrate History
Retrieves all subaccounts hashrate history.
Example
query getAllSubaccountsHashrateHistory {
getAllSubaccountsHashrateHistory(first: 10, mpn: BTC, inputInterval: _15_MINUTE) {
edges {
node {
hashrateHistory
username
}
}
}
}
Response
{
"data": {
"getAllSubaccountsHashrateHistory": {
"edges": [
{
"node": {
"hashrateHistory": [
{
"time": "",
"hashrate": ,
"data_points":
}
],
"username": ""
}
}
]
}
}
}
Arguments
mpn
(MiningProfileName!)
enum MiningProfileName {
ARRR
BTC
DASH
DCR
KMD
LBC
SC
SCP
ZEC
ZEN
EQUI
TBTC
ETH
TETH
}
inputInterval
(HashrateIntervals)
enum HashrateIntervals {
_15_MINUTE
_1_HOUR
_6_HOUR
_1_DAY
}
-
first
(Int
) Only read the firstn
values of the set. -
last
(Int
) Only read the lastn
values of the set. -
offset
(Int
) Skip the firstn
values from ourafter
cursor, an alternative to cursor based pagination. May not be used withlast
. -
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.
type AggHashrateHistoriesConnection {
nodes: [AggHashrateHistory!]!
edges: [AggHashrateHistoriesEdge!]!
pageInfo: PageInfo!
totalCount: Int!
}
Fields
nodes
([AggHashrateHistory!]!)
edges
([AggHashrateHistoriesEdge!]!)
A list of edges which contains the AggHashrateHistory
and cursor to aid in pagination.
type AggHashrateHistoriesEdge {
cursor: Cursor
node: AggHashrateHistory!
}
Fields
-
cursor
(Cursor
) A cursor for use in pagination. -
node
(AggHashrateHistory!) TheAggHashrateHistory
at the end of the edge.
pageInfo
Information to aid in pagination.
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: Cursor
endCursor: Cursor
}
totalCount
(Int!
) The count of allAggHashrateHistory
you could get from the connection.