Identity and difficulty
Every workshare has a canonical identity, itsworkshareId, and an achieved
difficulty derived from its hash.
Durable history
The workshare history an explorer indexes is served from immutable snapshots with reorg-checked cursors, and it is bound to canonical blocks only. Its result and error shapes are frozen by contract, so an indexer built against it does not break under a version bump. Start fromkrnx_getWorkshareCapabilities,
which reports whether the API is enabled, the canonical history anchors, the
frozen limits and the parent-chain mappings. Then page through
krnx_getWorkshares. See
Explorer integration for the paging rules.
Getting paid
Each workshare in a block is paid its own reward, minted for it and locked like every block reward; the block’s priority fees go to the sealer and its uncles. To confirm that a specific share was credited, callkrnx_getWorkshareReward with the workshareId
recorded at submit time, or with the pair powId and powHash.
The reward itself is computed from a curve that is configured per parent chain —
see Rewards.