Skip to main content

Get Pool Hashrate

Gets the current hashrate of a pool

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":"getPoolHashrate ($mpn: MiningProfileName!, $orgSlug: String!){getPoolHashrate(mpn: $mpn, orgSlug: $orgSlug)}"}'

Example

query getPoolHashrate {
getPoolHashrate(mpn: BTC, orgSlug: "luxor")
}

Response

{
"data": {
"getPoolHashrate": ""
}
}

Arguments

mpn (MiningProfileName!)

orgSlug (String!)

Type

BigFloat

A floating point number that requires more precision than IEEE 754 binary 64