This client's hashrate over time
/stats/mining/workers/historyThe same worker hashrate as /stats/mining/workers, measured per UTC hour or day so it can
be graphed. Each point sums the differences between consecutive stored observations that end
in its interval, divided by the time they cover. One point per interval.
Only observations from one producer session can be differenced — a restart resets the counters — so intervals spanning a restart are left out rather than clamped. A gap therefore means the interval was not measured, not that nothing was mined.
Range and interval rules match /stats/mining/buckets.
Query parameters
frominteger · int64requiredInclusive start in Unix milliseconds, on a UTC hour or day boundary to match
interval.untilinteger · int64requiredExclusive end in Unix milliseconds. On the same boundary, later than
from, and at most 500 intervals after it.intervalstringdefault "hour"hour | dayBucket size. Both range boundaries must be a whole number of these since the Unix epoch.
Responses
200Measured intervals, oldest first. The list may be empty.LocalHashrateHistory▶
frominteger · int64requiredThe inclusive start you asked for, in Unix milliseconds.
untilinteger · int64requiredThe exclusive end you asked for, in Unix milliseconds.
widthMsinteger · int64requiredone of360000086400000▶
pointsLocalHashratePoint[]requiredMeasured intervals, oldest first. Intervals spanning a producer restart are absent, since resetting counters makes them unmeasurable.
startinteger · int64requiredInclusive UTC interval start in Unix milliseconds.
widthMsinteger · int64requiredone of360000086400000hashesPerSecondstringrequiredAssigned work gained over this interval, divided by its elapsed time.
decimal stringacceptedSharesinteger · int64requiredsuperSharesinteger · int64requiredreducedReportingbooleanrequiredTrue when the interval's shares arrived under reduced reporting.
measuredMsinteger · int64requiredMilliseconds of work measured for this interval, which
hashesPerSecondis rated over. Can exceedwidthMswhen the stretch began in an earlier interval.
statusstringrequiredHow far collection has got.
readymeans it reached the last checked chain tip.catching-upandrecoveringmean replay or reorg work is still running,stalemeans the last successful check is too old, andunavailablemeans collection failed. Ondisabledorloadingthe numbers are not evidence that the period was quiet.one ofdisabledloadingreadystaleunavailablecatching-uprecovering
400A timestamp is missing, malformed, off a bucket boundary, or the range is too long; or `interval` is not hour or day.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503History is loading, disabled, busy, or unreadable. Check `mining.status` in /stats before retrying.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description