get_defillama_chain_tvl: Chain TVL Data

View source: R/get_defillama_chain_tvl.R

get_defillama_chain_tvlR Documentation

Chain TVL Data

Description

This function retrieves TVL data for various chains from a specified API and formats it into a data.table for analysis.

Usage

get_defillama_chain_tvl()

Value

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.

Examples

chain_tvl = get_defillama_chain_tvl()
head( chain_tvl )

rllama documentation built on May 29, 2024, 4:40 a.m.