Retrieves a list of base currencies currently supported by the CoinGecko API
supported_currencies(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 character vector with abbreviated names of the currencies.
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.
FALSE
#> [1] FALSE
r <- supported_currencies()
print(r)
#> [1] "btc" "eth" "ltc" "bch" "bnb" "eos" "xrp" "xlm" "link" "dot"
#> [11] "yfi" "usd" "aed" "ars" "aud" "bdt" "bhd" "bmd" "brl" "cad"
#> [21] "chf" "clp" "cny" "czk" "dkk" "eur" "gbp" "hkd" "huf" "idr"
#> [31] "ils" "inr" "jpy" "krw" "kwd" "lkr" "mmk" "mxn" "myr" "ngn"
#> [41] "nok" "nzd" "php" "pkr" "pln" "rub" "sar" "sek" "sgd" "thb"
#> [51] "try" "twd" "uah" "vef" "vnd" "zar" "xdr" "xag" "xau" "bits"
#> [61] "sats"