Pricing CoinGecko HTTP Guides
Install and use @tetherto/wdk-pricing-coingecko-http for current and historical prices.
Usage
The @tetherto/wdk-pricing-coingecko-http module exposes a CoinGecko-backed pricing client for spot prices, batched price data, and historical series.
Get Started
Install the package and create a CoinGecko pricing client.
Fetch Current Prices
Fetch one pair, batch multiple pairs, and wrap the client with PricingProvider.
Fetch Historical Prices
Read historical price points and downsample chart data.
Handle Errors
Handle unknown symbols, unavailable pairs, old free-tier ranges, and rate limits.