/** * BlockRun Gateway price fetcher. * * One fetcher, many asset classes. Dispatches on `PriceQueryParams.assetClass` * to the right Pyth-backed Gateway endpoint: * * crypto → /api/v1/crypto/price/{ticker} free * fx → /api/v1/fx/price/{ticker} free * commodity → /api/v1/commodity/price/{ticker} free * stock → /v1/stocks/{market}/price/{ticker} paid ($0.001 x402) — PR 2 * * PR 1 scope: crypto / fx / commodity only. The stock branch returns a * `ProviderError { code: 'insufficient-funds' }` until the x402 signing * wrapper lands, so callers get a useful message instead of a wire-level * 402. * * Response shape from Gateway: Pyth delivers `{ price, confidence, timestamp }` * — no 24h change, no market cap, no volume. Legacy CoinGecko-shaped fields * (`change24hPct`, `volume24hUsd`, `marketCapUsd`) come back as `NaN` for * non-crypto classes; views treat NaN as "not applicable" and render a dash. */ import type { Fetcher } from '../fetcher.js'; import type { PriceData, PriceQueryParams } from '../standard-models.js'; export declare const blockrunPriceFetcher: Fetcher;