Bounty: 30 RTC
Document all public RustChain node API endpoints in OpenAPI 3.0 format with a Swagger UI page.
Developers building tools (wallets, dashboards, bots) currently have to reverse-engineer the API by reading server source code. Proper API docs lower the barrier to entry.
GET /health — Node health checkGET /ready — Readiness probeGET /epoch — Current epoch, slot, enrolled minersGET /api/miners — Active miners with attestation dataGET /api/stats — Network statisticsGET /api/hall_of_fame — Hall of Fame leaderboard (5 categories)GET /api/fee_pool — RIP-301 fee pool statisticsGET /balance?miner_id=X — Miner balance lookupGET /lottery/eligibility?miner_id=X — Epoch eligibility checkGET /explorer — Block explorer pagePOST /attest/submit — Submit hardware attestationPOST /wallet/transfer/signed — Ed25519 signed transferPOST /wallet/transfer — Admin transfer (requires admin key)POST /withdraw/request — Withdrawal requestopenapi.yaml — OpenAPI 3.0 spec fileswagger.html — Self-contained Swagger UI pageScottcjn/Rustchain in docs/api/swagger-cli validate openapi.yamlcurl -sk https://rustchain.org/health