Get Equi Hashrate Score History
Retrieves switch hashrate revenue scoring summary for a user.
Example
query getEquiHashrateScoreHistory {
getEquiHashrateScoreHistory(uname: "your_username", first: 100) {
nodes {
date
efficiency
hashrate
balance
bonusBtc
upliftPercentage
uptimePercentage
uptimeTotalMachines
uptimeTotalMinutes
}
}
}
Response
{
"data": {
"getEquiHashrateScoreHistory": {
"edges": [
{
"nodes": {
"date": "",
"efficiency": "",
"hashrate": "",
"balance": "",
"bonusBtc": "",
"upliftPercentage": "",
"uptimePercentage": "",
"uptimeTotalMachines": "",
"uptimeTotalMinutes": ""
}
}
]
}
}
}
Arguments
-
uname
(String!
) -
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
EquiHashrateScoreHistoriesConnection
A connection to a list of EquiHashrateScoreHistory
values.
type EquiHashrateScoreHistoriesConnection {
nodes: [EquiHashrateScoreHistory!]!
edges: [EquiHashrateScoreHistoriesEdge!]!
pageInfo: PageInfo!
totalCount: Int!
}
Fields
nodes
([EquiHashrateScoreHistory!]!)
A list of EquiHashrateScoreHistory
objects.
type EquiHashrateScoreHistory {
date: Datetime!
hashrate: BigFloat!
efficiency: BigFloat!
balance: BigFloat!
upliftPercentage: BigFloat!
bonusBtc: BigFloat!
uptimeTotalMachines: BigFloat
uptimeTotalMinutes: BigFloat
uptimePercentage: BigFloat
}
edges
([EquiHashrateScoreHistoriesEdge!]!)
A list of edges which contains the EquiHashrateScoreHistory
and cursor to aid in pagination.
type EquiHashrateScoreHistoriesEdge {
cursor: Cursor
node: EquiHashrateScoreHistory!
}
-
pageInfo
(PageInfo!) Information to aid in pagination.type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! startCursor: Cursor endCursor: Cursor }
-
totalCount
(Int!
) The count of allEquiHashrateScoreHistory
you could get from the connection.