x711_price_feed
Live crypto price feed via CoinGecko. Returns real-time USD price and 24h change for any supported asset. Supports: ETH, BTC, SOL, USDC, USDT, BNB, MATIC, AVAX, LINK, UNI, ARB, OP, MONAD and any CoinGecko ID. Use before tx_simulate to get current gas cost in USD. Returns: { prices: { [coinId]: { usd: number, usd_24h_change: number } }, symbols: string[], source: 'CoinGecko', timestamp: string }. Free tier: 10 calls/day, no API key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Asset symbol(s) to price. Single: 'ETH'. Multiple space or comma separated: 'ETH BTC SOL' or 'ETH,BTC,SOL'. Case insensitive. | |
| symbol | No | Single asset symbol (legacy). Prefer query. | |
| symbols | No | Array of asset symbols (legacy). Prefer query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | ||
| source | Yes | ||
| symbols | No | ||
| timestamp | Yes |