Get JIT-backed swap count and per-token volume for a pool
Aggregates the realized V4 swaps for one pool over a trailing window into a swap count and per-token raw volume. Counts only swaps that took Aqua0 JIT liquidity (labeled source: 'jit-backed'), so it is JIT-backed volume and not total pool volume.
Authorization
ApiKeyAuth In: header
Path Parameters
Numeric ID of the chain to query or act on.
The pool's 32-byte identifier (Uniswap v4 PoolId).
Query Parameters
Optional, defaults to 86400 (1 day), max 2592000 (30 days). Trailing window, in seconds, to aggregate swap stats over.
Response Body
application/json
curl -X GET "https://example.com/api/vaults/pools/string/string/swap-stats"{ "chainId": 0, "poolId": "string", "windowSeconds": 0, "source": "jit-backed", "swaps": 0, "volume": [ { "token": "string", "amount": "string" } ], "lastSwapAt": 0}Clear an LP's JIT range preference for a pool
Deactivates the caller's stored JIT range for a pool, withdrawing their curve from JIT pricing. Wallet-bound: only the caller-verified wallet's own preference is cleared.
Get committed JIT depth per tick range for a pool (both token sides)
Aggregates the active LP JIT range preferences for one pool into per-tick-range committed depth, summing each token side independently. This is Aqua0's own committed JIT liquidity (labeled source: 'aqua-committed-jit'), not the pool's total liquidity across all LPs.