CoinFlip Event API
API Endpoints
GET /api/flips/recent- Get last 20 completed flipsGET /api/flips/user/[address]- Get all flips for a specific userGET /api/stats- Get contract balance and total volume statistics
API running on: http://localhost:3090
Event Listener
Run the event listener with: npm run listener