Aqua0
API ReferenceSwaps

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.

POST
/api/swap/prepare

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Query Parameters

chainId*string

Numeric ID of the chain to query or act on.

Response Body

curl -X POST "https://example.com/api/swap/prepare?chainId=string"
Empty
Empty