Get pool stats
Returns key statistics for Luxor Pool over specified time intervals
Authorization
LuxorAPIKey Use your API key here.
In: header
Path Parameters
Which currency to query, e.g. BTC or DOGE.
Value in
- "BTC"
- "SC"
- "ZEC"
- "LTC"
- "DOGE"
Response Body
application/json
application/json
curl -X GET "https://example.com/v2/pool/pool-stats/BTC"{ "currency_type": "BTC", "hashrate_5m": "1035827914295214", "hashrate_1h": "1035827914295214", "hashrate_24h": "1035827914295214", "active_workers_5m": "string", "hashprice": "string", "minimum_payment_threshold": "string"}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}Get pool hashrate
Returns total hashrate of Luxor Pool for some time intervals. Deprecated: use get-pool-stats instead
Get revenue
Returns a revenue time series for a specified list of subaccounts or for a site. The latest available data is appended daily at 05:00 AM UTC. `revenue` is rounded to the nearest satoshi (8 decimal places). Summing the daily figures across a date range will not always equal a separately rounded total for that range. Each figure can sit up to half a satoshi from its unrounded value, so the residual grows with the number of days summed rather than being bounded at one satoshi. This is arithmetic, not a discrepancy. A field reads 0 when no data exists for that date, which is not distinguishable from a genuine zero.