Aqua0
API ReferencePools

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.

GET
/api/vaults/pools

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Query Parameters

chainId*string

Numeric ID of the chain to query. Must be a chain Aqua0's vaults are live on.

includeArming?string

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"        ]      }    }  ]}
Empty