View source: R/get_defillama_protocol_tvl.R
get_defillama_protocol_tvl | R Documentation |
This function retrieves Total Value Locked (TVL) data for various protocols from a specified API and formats it into a table for analysis.
get_defillama_protocol_tvl(is_cex_include = F)
is_cex_include |
Logical; if FALSE (default), data for CEX will be excluded from the results. Set to TRUE to include CEX data. |
A 'data.table' containing TVL data with columns: symbol, tvl, slug, name, chain, and category. The data is sorted by TVL in descending order.
protocol_tvl = get_defillama_protocol_tvl()
head( protocol_tvl )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.