RTC Reward Analytics Dashboard
May 28, 2026 ยท View on GitHub
This dashboard adds reward transparency views on top of the existing explorer service.
Endpoints
- Page:
/reward-analytics - API:
/api/reward-analytics
What It Shows
- Reward distribution per epoch (bar chart)
- Top miner earnings over time (line chart)
- Architecture reward breakdown (doughnut chart)
- Multiplier impact model for current epoch (equal share vs weighted share)
- Epoch transition count, average transition interval, and recent transition history
Data Sources
- Node API:
GET /epoch - Local DB:
epochs(epoch transition history)epoch_rewards(reward history)epoch_enroll(current epoch weights)miner_attest_recent(architecture mapping)
The API route is resilient to partial/missing tables and returns empty arrays if one source is unavailable.
Run
From the RustChain host (same as existing explorer):
python3 explorer/rustchain_dashboard.py
Open:
http://localhost:8099/reward-analytics
Notes
- Charts refresh every 30 seconds.
- If historical reward tables are missing, the page still renders with available data.