List the Uniswap V4 pools on a chain
Returns Aqua0's Uniswap V4 pools on a chain with each pool's tokens, fee, current price and the strategy that holds it.
Authorization
ApiKeyAuth Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.
In: header
Query Parameters
The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.
Set to true to include armedOnCurrentAdapter, read on chain. Off by default.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/vaults/pools?chainId=1"{ "chainId": 8453, "pools": [ { "poolId": "0x5622e547d200169623684248c4e4ac258688aea6dd540acf5fb26965861e8639", "currency0": "0x4200000000000000000000000000000000000006", "currency1": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "fee": 3000, "tickSpacing": 60, "hooks": "0x5Aef2c787AFC743D20FD632D66391B2ccd5c68C0", "poolManager": "0x498581fF718922c3f8e6A244956aF099B2652b2b", "isAqua0Enabled": true, "token0": { "symbol": "WETH", "name": "Wrapped Ether", "decimals": 18, "address": "0x4200000000000000000000000000000000000006" }, "token1": { "symbol": "USDC", "name": "USD Coin", "decimals": 6, "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "sqrtPriceX96": "3960994633772755407296098", "currentTick": -198082, "protocolFee": 0, "lpFee": 3000, "totalLiquidity": "0", "aquaClass": { "status": "resolved", "classId": "38960560214548620419581884607967218229413556116830054641371650059665611327033", "paused": false, "legs": [ { "vault": "0x256218a93992256f47c4735e1fc070d90eaea263", "asset": "0x4200000000000000000000000000000000000006", "symbol": "aqWETH", "committedBacking": "16719015731379870", "availableFor": "16719015731379870" }, { "vault": "0xb367a4306087d3981b38c032464cd7e3a7a03a4e", "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "symbol": "aqUSDC", "committedBacking": "48211758", "availableFor": "48211758" } ], "otherClassIds": [] } } ]}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}List the markets on a chain
Returns every live market on a chain, Uniswap V4 pools and 1inch Aqua ranges, with its pair, fee, tick spacing and the liquidity committed to it.
Open a market
Opens a Uniswap V4 market for a pair and fee, or a 1inch Aqua range for a pair, fee and ticks, at the current market price, for any two tokens that have a price. It takes an API key issued to your integration, and when the open has a network fee for you to pay it answers 402 with the transfer to send first.