Retrieves a list of base currencies currently supported by the CoinGecko API

get_supported_coingecko_currencies(max_attempts = 3L)

Arguments

max_attempts

(integer, positive): specifies the maximum number of additional attempts to call a URL if the first attempt fails (i.e. its call status is different from 200). Additional attempts are implemented with an exponential backoff. Defaults to 3.

Value

Character vector with abbreviated names of the currencies.

Examples

r <- get_supported_coingecko_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"