Get state
Description
Retrieve real-time state data for a specific on-chain liquidity pool, including token balances, USD valuations, 24-hour volume, and derived price ratios. Supports all pools indexed by Aleno across supported protocols and chains.
URL
Headers
Query Parameters
address
string
Yes
Pool contract address
chainId
string
Yes
Chain identifier (e.g. eth
, arbitrum
, bsc
, base
, etc.). Must be supported by Aleno.
Response
Returns real-time state and pricing information for the specified liquidity pool, including TVL, token composition, 24-hour volume, and token-to-token price conversion.
Response Fields
data
—object
chainId
—string
Aleno chain identifier (e.g.,eth
,arb
, etc.).address
—string
Pool contract address.protocol
—string
Protocol identifier (e.g.uniswap_v2
,sushiswap
, etc.).usdTvl
—number
Total USD value locked in the pool.h24UsdVolume
—number
24-hour trading volume in USD across all token pairs in the pool.tokens
—array of object
Per-token liquidity and volume details:symbol
—string
Token symbol.address
—string
Token contract address.decimals
—number
Token decimals.tvl
—number
Token balance in the pool (raw units, adjusted for decimals).usdTvl
—number
USD-equivalent value of the token’s liquidity in the pool.h24Volume
—number
Token trading volume over the last 24 hours (raw units).h24UsdVolume
—number
24-hour trading volume in USD for the token.priceUsd
—number
USD price of the token implied from the pool state.
pairs
—array of object
Token-to-token price ratios within the pool:base
—string
Symbol of the base token.quote
—string
Symbol of the quote token.baseToQuotePrice
—number
Price of 1 unit of base token in quote token units.quoteToBasePrice
—number
Price of 1 unit of quote token in base token units.h24UsdVolume
—number
24-hour USD trading volume for this token pair.
Example Response
Last updated
Was this helpful?