Authorize a Uniswap V4 JIT liquidity injection for one swap
Returns a backend-signed EIP-712 authorization that lets a trader pull just-in-time liquidity into the Uniswap V4 pool for one specific swap. The signature binds the exact swap and executor. Call /quote (venue v4) first to preview the fill. venue must be 'v4'. Body: poolId, chainId, token0, token1, classId, amountSpecified (signed, negative = exact-in), sqrtPriceLimitX96 (all required), plus optional swapDirection, tickSpacing, requestedAmount0/1, trader (attribution), tradeType, slippageBps.
curl -X POST "https://example.com/api/swap/authorize"Set an LP's JIT range preference for a pool
Stores the LP's chosen Uniswap V4 tick range for a pool, and this range is the curve the vault's JIT (just-in-time) signer prices swaps against. It carries no capital authority and moves no funds. Wallet-bound: the owner is the caller-verified wallet (from the caller token), so an LP can only set their own range. Path parameter: chainId. Body: poolId (32-byte hex), tickLower, tickUpper, amount0, amount1, token0, token1, all required, plus optional sourceChainId and signature.
Get a wallet's Uniswap V4 swap history
Returns the wallet's realized Uniswap V4 swaps, newest first, joining the authorize-time pool binding to the on-chain settlement for amounts and block time. Deltas are signed from the pool's perspective and returned as decimal strings. Only swaps that took vault JIT liquidity AND carried a trader at authorize time are visible, and swaps not yet settled on-chain are omitted. Path parameter: wallet. Query: chainId (optional, defaults to every chain Aqua0's vaults are live on), limit (optional, default 50, max 200), cursor (optional block timestamp, returns swaps strictly older than it). Degrades to an empty list when the vaults are not indexed.