Get JIT-backed swap count and per-token volume for a pool
Aggregates the vaults' realized Uniswap V4 swaps for one pool over a trailing window into a swap count and per-token raw volume. Counts only swaps that took vault JIT liquidity, so the figure reflects JIT-backed volume, and the response carries source 'jit-backed' to make that explicit. Volume is the sum of absolute token deltas as decimal strings, and no USD conversion is performed. Windowing uses the on-chain block timestamp. Path parameters: chainId and poolId (32-byte hex). Query: windowSeconds (optional, default 86400, max 2592000). Degrades to zero counts when the vaults are not indexed.
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
curl -X GET "https://example.com/api/vaults/pools/string/string/swap-stats"Clear an LP's JIT range preference for a pool
Deactivates the caller's stored JIT (just-in-time) range for a pool, withdrawing their curve from vault pricing. Wallet-bound: only the caller-verified wallet's own preference is cleared. Path parameters: chainId and poolId (32-byte hex), both required.
Get committed JIT depth per tick range for a pool (both token sides)
Aggregates the vaults' active LP JIT range preferences for one pool into per-tick-range committed depth, summing each token side (depth0/depth1) independently so a one-sided LP still sees the matching liquidity on the other side. Returns per-range depth as decimal strings plus a distinct-LP count (no per-LP addresses). Read-only, and degrades to empty when the pool has no stored ranges. Path parameters: chainId and poolId (32-byte hex), both required. Ranges are sorted by tickLower.