The "order" parameter of the /coins/markets API query is missing from the query string dictionary in the GetCoinMarkets method of the CoinsClient class.
public async Task<List<CoinMarkets>> GetCoinMarkets(string vsCurrency, string[] ids, string order, int? perPage,
int? page, bool sparkline, string priceChangePercentage,string category)
{
return await GetAsync<List<CoinMarkets>>(QueryStringService.AppendQueryString(CoinsApiEndPoints.CoinMarkets,
new Dictionary<string, object>
{
{"vs_currency", vsCurrency},
{"ids", string.Join(",", ids)},
{"order", order}, <--------- this line is missing
{"per_page", perPage},
{"page", page},
{"sparkline", sparkline},
{"price_change_percentage", priceChangePercentage},
{"category",category}
})).ConfigureAwait(false);
}
The "order" parameter of the /coins/markets API query is missing from the query string dictionary in the GetCoinMarkets method of the CoinsClient class.