Skip to main content

Get Profile Hashrate

Gets profile hashrate given a mining profile name.

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":"getProfileHashrate($mpn: MiningProfileName!) {getProfileHashrate(mpn: $mpn)}"}'

Example

query getProfileHashrate {
getProfileHashrate(mpn: BTC)
}

Response

{
"data": {
"getProfileHashrate": ""
}
}

Arguments

mpn (MiningProfileName!)

Type

BigFloat

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