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.
Authorization
ApiKeyAuth In: header
Query Parameters
Numeric ID of the chain to query or act on.
Response Body
curl -X POST "https://example.com/api/swap/prepare?chainId=string"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.
Preview a swap quote (1inch Aqua or Uniswap V4)
Simulates a swap and returns the preview WITHOUT any signature or capital hold. Both venues are just-in-time, meaning neither holds capital between swaps. The `venue` body field selects the path. `aqua` simulates against the 1inch Aqua router for a shipped-strategy fill (body: order, tokenIn, tokenOut, amountIn, takerData, with chainId as a query parameter). `v4` prices a just-in-time liquidity fill against Aqua0's own vault capital and JIT range preferences (body: poolId, chainId, token0, token1, swapDirection, tickSpacing, requestedAmount0/1, tradeType). Read-only.