This client's own hashrate
/stats/mining/workersWhat the workers connected to this client are doing, as rates and totals across every
worker together. Narrower than /stats/local: no session identifiers, no fraud targets and
no per-worker breakdown, so it carries nothing the Stratum connection count does not.
Each accepted share is credited the expected hashes behind the difficulty its job advertised.
With reduced reporting on, miners are sent reductionMultiplier times the served difficulty
(see StratumDifficulty), and each share they send carries that difficulty's work. At a
multiplier of 10000 that is the super-share threshold, so every share is a super share.
Either way the rates are in the same units as network difficulty and compare directly with
/stats/mining/difficulty.
hashesPerSecond is the rate over the last 15 minutes — show this as current hashrate.
windowShares is how many shares it rests on: fewer shares, noisier reading.
sessionHashesPerSecond averages the whole session instead, so it reads low if the workers
started after the client did.
nisp says whether the recent super shares make a NISP, and until which height.
Counters restart whenever the producer does, and sessionStartedAt is when that happened —
the totals here are not lifetime figures.
Responses
200Current rates and totals; empty of values until a producer reports.LocalMiningSummary▶
statusstringrequiredFreshness of the underlying producer observation.
one ofdisabledloadingreadystalestoppedenabledbooleanrequiredWhether statistics collection is on at all.
sessionStartedAtinteger · int64When the share producer last started, in Unix milliseconds. Every total below is since then.
observedAtinteger · int64When these counters were last sampled, in Unix milliseconds.
hashesPerSecondstringCurrent hashrate: assigned work gained over the last 15 minutes, divided by that time. Zero when no share arrived in that span. Falls back to the session rate until a second sample exists, and is omitted before there is any work.
decimal stringsessionHashesPerSecondstringAssigned work over the whole session. Reads low when workers joined after the client started. Omitted before there is any work or elapsed time.
decimal stringwindowMsinteger · int64requiredThe span
hashesPerSecondwas measured over. Zero when it fell back to the session rate.windowSharesinteger · int64requiredShares accepted inside that span. The estimate's noise shrinks with this count, so a handful of shares makes a jumpy reading.
acceptedSharesinteger · int64requiredrejectedSharesinteger · int64requiredEvery rejection code added together. See
rejectionsfor the split.blockCandidatesinteger · int64requiredAccepted shares that also solved a block. A subset of
acceptedShares.superSharesinteger · int64requiredAccepted shares that met the super-share threshold on a job using collateral. These are the proofs a NISP is built from, so they are what earns a payout score.
superSharesPerHournumber · doubleSuper shares averaged over the session. Absent until the session has elapsed time.
assignedWorkstringrequiredAn exact nonnegative integer as a decimal string. Parse it without going through a float.
decimal stringsolutionsAcceptedinteger · int64requiredBlock solutions the node accepted. Acceptance is not chain confirmation.
solutionsRejectedinteger · int64requiredreducedReportingbooleanrequiredTrue when miners are sent a difficulty raised by the stratum's reduction multiplier. The rates already account for it; expect fewer, larger samples and a noisier reading.
rejectionsmap<string, string>requiredCount per rejection code, keyed as
rejected<code>.▶
nispNispStatusWhether this client's recent super shares make a NISP. A NISP for a rollup starting at height P takes 10 super shares from heights P -
windowBlocksthrough P, so one holds until the tenth-newest super share iswindowBlocksbehind. Counted from the NISP store at the committed score, so super shares from before a client restart are included. Absent while no Stratum job is being served.heldbooleanrequiredWhether a NISP could be submitted for a rollup starting at
atHeight.superSharesInWindowintegerrequiredSuper shares inside the window, counted up to
required.requiredintegerrequiredSuper shares a NISP carries.
windowBlocksintegerrequiredHow many blocks back from a rollup's start its super shares may come from.
atHeightintegerrequiredThe height a rollup would start at now, which the window is measured from.
validThroughHeightintegerThe last rollup start height this NISP covers. Absent when none is held.
blocksRemainingintegerBlocks from
atHeightuntilvalidThroughHeight. Absent when none is held.sourcestringrequiredstorewhen counted from the NISP store.sessionwhen the store could not be read or no score is known yet, so only super shares found since the client started are counted.one ofstoresession