@GET("coins/{id}/market_chart") abstract suspend fun historicalPrices(@Path("id") id: String, @Query("vs_currency") currency: String = "usd", @Query("days") days: String = "max"): CoinGeckoMarketChart
Requests a CoinGeckoMarketChart for a CoinGecko cryptocurrency.
id - The CoinGecko id of the cryptocurrency.
currency - The target currency of the CoinGeckoMarketChart. Defaults to usd.
days - The maximum amount of days. Defaults to unlimited.
Return
The requested CoinGeckoMarketChart.