Aqua0
API ReferenceSwaps

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.

POST
/api/swap/authorize

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Response Body

curl -X POST "https://example.com/api/swap/authorize"
Empty
Empty