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.
Authorization
ApiKeyAuth In: header
Path Parameters
The wallet address to look up.
Query Parameters
Optional. Restricts results to one chain, and if omitted, returns swaps across every chain Aqua0's vaults are live on.
Optional, defaults to 50, max 200. Maximum number of swaps to return.
Optional. Returns swaps strictly older than this block timestamp, for cursor-based pagination.
Response Body
curl -X GET "https://example.com/api/swap/history/string"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.
Get 1inch Aqua swap calldata for the trader's wallet
Returns the {to, data} pair the trader sends on chain to execute a 1inch Aqua swap. Same input as /quote with venue 'aqua', call /quote first to confirm amountOut and slippage. chainId is a query parameter. The Uniswap V4 venue instead signs via /authorize.