Retrieves a list of coins currently supported by the CoinGecko API
supported_coins(max_attempts = 3)
(double, positive): specifies the maximum number of attempts to call the CoinGecko API (e.g., if the first call fails for some reason). Additional attempts are implemented with an exponential backoff. Defaults to 3.
A tibble with three columns:
coin_id
(character): coin IDs, ordered alphabetically;
symbol
(character): coin symbols;
name
(character): common names of the coins.
This function is based on the public CoinGecko API, which has a rate limit of 10-30 calls per minute. Please keep this limit in mind when developing your applications.
if (FALSE) {
r <- supported_coins()
head(r, 10)
}