cURL
curl --request GET \ --url http://localhost:4000/v1/defi/swaps/health \ --header 'Authorization: <api-key>'
{ "status": "healthy", "service": "swaps", "timestamp": 123, "message": "Uniswap V4 Swaps service is running!" }
Check if the swaps service is operational
Use this format: ApiKey <your_api_key>
ApiKey <your_api_key>
Service is healthy
"healthy"
"swaps"
"Uniswap V4 Swaps service is running!"