get_solana_dex_price
Retrieve live Solana DEX spot prices and swap estimates for supported pairs on Raydium and Orca, with real-time slot and token decimals.
Instructions
[Cost: $0.0010 USDC on Base & Solana] Live on-chain Solana DEX spot price oracle and swap calculator.
Quotes real-time prices across Raydium & Orca with live slot height and token decimals.
Supported pairs: 'SOL-USDC', 'BONK-USDC', 'JUP-USDC', 'RAY-USDC', 'WIF-USDC', 'SOL-USDT'.
Args:
pair: Target trading pair (e.g. 'SOL-USDC', 'BONK-USDC').
amount: Token input amount to estimate output for (default: 1.0).
dex: Target DEX liquidity protocol (default: 'Raydium (Solana Mainnet)').
payment_signature: Optional x402 transaction hash (defaults to developer mock key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | Raydium (Solana Mainnet) | |
| pair | No | SOL-USDC | |
| amount | No | ||
| payment_signature | No |