Skip to main content

Hashrate Score History

curl --request POST 'https://api.beta.luxor.tech/graphql' \
--header 'Content-Type: application/json' \
--header 'x-lux-api-key: YOUR_API_KEY' \
--data-raw '{"query":"getProfileHashrateHistory($mpn: MiningProfileName!) {getProfileHashrateHistory(mpn: $mpn){edges {node {dataPoints hashratetime}}}}"}'

Example

query getHashrateScoreHistory {
hashrateScores(orderBy: NATURAL) {
edges {
node {
time
hashrate
efficiency
revenue
}
}
}
}

Response

{
"data": {
"getHashrateScoreHistory": {
"nodes": [
{
"date": "",
"hashrate": "",
"efficiency": "",
"revenue": ""
}
]
}
}
}

Fields

time (Datetime)

hashrate (BigFloat)

efficiency (BigFloat)

revenue (BigFloat)