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, taking the same input as /quote with venue 'aqua'. The Uniswap V4 venue does not use this verb and signs via /authorize instead.

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

application/json

curl -X POST "https://example.com/api/swap/prepare?chainId=string"
{  "venue": "aqua",  "calldata": {    "to": "string",    "data": "string"  }}
Empty