fetch_stablecoin_rates

Documentation for eth_defi.feed.stablecoin_rate.fetch_stablecoin_rates function.

fetch_stablecoin_rates(targets, timeout=20.0, progress_bar=False)

Fetch CoinGecko prices for due stablecoin targets.

Parameters
Returns

CoinGecko response keyed by coin id.

Return type

dict[str, dict[str, Any]]