{"service":"REVERT — bytecode-only EVM vulnerability scorer","endpoint":"POST /api/scan","auth":"optional: Authorization: Bearer <supabase_jwt> (anonymous allowed)","request_body":{"address":"0x-prefixed 20-byte contract address","chain":"eth (default; model trained + validated on Ethereum mainnet — other EVM chains coming)"},"response":{"vuln_score":"0.0–1.0 probability of vulnerability","verdict":"low-risk | medium-risk | high-risk","feature_contributions":"per-contract TreeSHAP drivers (name, value, shap, direction)","model_version":"xgb-2025-12-28","latency_ms":"server wall time incl. bytecode fetch"},"example":"curl -X POST https://revert.pro/api/scan -H 'Content-Type: application/json' -d '{\"address\":\"0xdac17f958d2ee523a2206206994597c13d831ec7\",\"chain\":\"eth\"}'","other_endpoints":{"recent_public_scans":"GET /api/recent?limit=8"},"docs":"https://github.com/SergeySolovyev/icicpe-2026-defi-vuln-detection"}