Developers

Arena API

REST and SSE for pool state and trades.

The Arena service runs the demo bot and serves pool state. Base URL: NEXT_PUBLIC_ARENA_API. POST routes need the x-admin-token header.

MethodPathReturns
GET/healthchain, block, bot status, version
GET/confighook, PoolManager, pools, fee config and params
GET/stateblock, oracle, mark, both pools with fee previews
GET/statsLP fee income and bot profit per pool, LPs kept more
GET/trades?limit=50&pool=aven|controltrades, newest first
GET/verify/:txchecks A and B for one swap
GET/streamSSE: state, trade, shock, bot
POST/shockpush both pools off the market price
POST/bot/start · /bot/stopstart or stop the arb bot
HyperEVM's RPC has no websockets and no mempool API (txpool_* isn't served), so the app polls blocks and shows your own transactions as pending until they land.
Aven · MIT · ETHGlobal MumbaiEdit on GitHub ↗