get_dex_price
Query exact DEX spot prices and liquidity across Base and Solana to retrieve on-chain pool reserves and quotes for trading decisions.
Instructions
[Cost: $0.001 USDC on Base & Solana] Live multi-chain DEX spot price oracle and liquidity quoter.
Keywords: dex price, spot quoter, uniswap, aerodrome, raydium, orca, solana dex price, get_dex_spot_price.
Direct on-chain smart contract pool queries across Base L2 (Uniswap v3, Aerodrome) and Solana (Raydium, Orca).
Returns exact pool reserves, active liquidity, slot/block height, and price quotes.
Supported chains:
- 'base' (default): EVM pairs (WETH-USDC, cbBTC-USDC, AERO-USDC)
- 'solana': SPL pairs (SOL-USDC, BONK-USDC, JUP-USDC, RAY-USDC, WIF-USDC, SOL-USDT)
Args:
pair: Target trading pair symbol (e.g. 'WETH-USDC' for Base, 'SOL-USDC' for Solana).
chain: Target blockchain network ('base' or 'solana', default: 'base').
amount: Token input amount to quote (default: 1.0).
payment_signature: Optional x402 Base/Solana USDC transaction hash or developer mock key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | WETH-USDC | |
| chain | No | base | |
| amount | No | ||
| payment_signature | No |