List the V4 pool definitions and on-chain state for a chain
Returns Aqua0's V4 pool definitions plus on-chain state for a chain, each with the Aqua class registered on its currency pair. Read-only and network-mode-aware, so a chain with no real mainnet deployment returns nothing in mainnet mode, and no TVL or APY is produced here.
Authorization
ApiKeyAuth In: header
Query Parameters
Numeric ID of the chain to query. Must be a chain Aqua0's vaults are live on.
Set to true to include armedOnCurrentAdapter, read from the chain. Costs one multicall per request, so it is off by default.
Response Body
application/json
curl -X GET "https://example.com/api/vaults/pools?chainId=string"{ "chainId": 0, "rpcDegraded": true, "pools": [ { "poolId": "string", "currency0": "string", "currency1": "string", "fee": 0, "tickSpacing": 0, "hooks": "string", "poolManager": "string", "isAqua0Enabled": true, "armedOnCurrentAdapter": true, "sqrtPriceX96": "string", "currentTick": 0, "protocolFee": 0, "lpFee": 0, "totalLiquidity": "string", "token0": {}, "token1": {}, "aquaClass": { "status": "resolved", "classId": "string", "strategist": "string", "paused": true, "legs": [ { "vault": "string", "asset": "string", "symbol": "string", "committedBacking": "string", "availableFor": "string" } ], "otherClassIds": [ "string" ] } } ]}List an LP's stored JIT range preferences
Returns the LP's stored JIT range preferences on a chain, for the profile page. Read-only.
Set an LP's JIT range preference for a pool
Stores the LP's chosen V4 tick range for a pool, the curve Aqua0 prices JIT swaps against. It carries no capital authority, moves no funds, and is wallet-bound so an LP can only set their own range.