API referenceLive
The latest priced swaps on the chain across every token and venue, newest first, each with both tokens' symbols, its venue and its own maker (trader). Answers are shared for two seconds, so polling faster gains nothing.
Query Parameters
limit?integer
Range
1 <= value <= 200Default
100Response Body
application/json
application/json
curl -X GET "https://example.com/v1/swaps"{ "swaps": [ { "id": "string", "txHash": "string", "logIndex": 0, "blockNumber": "string", "timestamp": 0, "token": "string", "tokenSymbol": "string", "cash": "string", "cashSymbol": "string", "pool": "string", "venue": "string", "side": "buy", "amountToken": 0, "amountCash": 0, "priceUsd": 0, "volumeUsd": 0, "trader": "string", "sender": "string", "fee": true, "deliveredTo": "string", "solver": true, "purpose": "liquidity-add" } ], "source": "indexer"}