View source: R/get_defillama_chain_tvl.R
get_defillama_chain_tvl | R Documentation |
This function retrieves TVL data for various chains from a specified API and formats it into a data.table for analysis.
get_defillama_chain_tvl()
A 'data.table' containing the TVL data with columns: name, symbol, tvl, gecko_id, cmcId, and chainId. The data is sorted by TVL in descending order.
chain_tvl = get_defillama_chain_tvl()
head( chain_tvl )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.