get_tvl | R Documentation |
Get the Total Value Locked for all DeFi platforms
get_tvl(since = NULL, until = NULL, api_key = Sys.getenv("GN_API_KEY"))
since , until |
A POSIX compatible date-time object. It's converted to a unix date number |
api_key |
The API key to use. Checks the env variable API_KEY |
Returns a tidy data set denominated in USD
## Not run:
# Need a API key to run
x <- get_tvl()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.