pool_spot_prices
Retrieve live spot prices for token pairs in a liquidity pool contract on Uniswap V2/V3 and forks. Provide chain and pool address to get token prices with optional quote currency conversion.
Instructions
Get the spot token pair prices for a specified pool contract address. Supports pools on Uniswap V2, V3 and their forks. Required: chainName (blockchain network), contractAddress (pool contract address). Optional: quoteCurrency (price currency) for value conversion. Returns spot token pair prices with pool details and token metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainName | Yes | The blockchain network to query (e.g., 'eth-mainnet', 'matic-mainnet', 'bsc-mainnet'). | |
| contractAddress | Yes | The liquidity pool contract address to get spot prices for. Must be a valid Uniswap V2/V3 or compatible DEX pool address. | |
| quoteCurrency | No | Currency to quote pool token values in (e.g., 'USD', 'EUR'). If not specified, uses default quote currency. |