Context
The validator detail page (validator/:id, ValidatorDetails.tsx) shows the current validator info (meta, stats, previous/next epoch panels) but has no historical view. We want to add a staking-history section at the bottom of the page.
Plan
Staking History section (node RPC, no indexer). Add a section at the bottom of the existing validator page showing the stake history
- Note: limited by full-node event retention and pagination cost over long ranges. Fine for a bounded recent window; deep history would need a dedicated indexer (out of scope here).
Out of scope
- Delegators list (addresses staking with the validator): not possible on node RPC (no validator -> stakers reverse lookup; only owner-scoped
getStakes and a network-wide count exist). Needs a custom indexer. Tracking separately.
References
- Page:
apps/explorer/src/pages/validator/ValidatorDetails.tsx; sections apps/explorer/src/components/validator/{ValidatorMeta,ValidatorStats,ValidatorStatusLegend}.tsx.
- Events/APY hooks:
apps/core/src/hooks/useGetValidatorsEvents.ts, useGetValidatorsApy.ts.
- Validator fields:
IotaValidatorSummary in sdk/typescript/src/client/types/generated.ts.
Context
The validator detail page (
validator/:id,ValidatorDetails.tsx) shows the current validator info (meta, stats, previous/next epoch panels) but has no historical view. We want to add a staking-history section at the bottom of the page.Plan
Staking History section (node RPC, no indexer). Add a section at the bottom of the existing validator page showing the stake history
Out of scope
getStakesand a network-wide count exist). Needs a custom indexer. Tracking separately.References
apps/explorer/src/pages/validator/ValidatorDetails.tsx; sectionsapps/explorer/src/components/validator/{ValidatorMeta,ValidatorStats,ValidatorStatusLegend}.tsx.apps/core/src/hooks/useGetValidatorsEvents.ts,useGetValidatorsApy.ts.IotaValidatorSummaryinsdk/typescript/src/client/types/generated.ts.