get_defillama_chain_tvl {rllama}R 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 )

[Package rllama version 0.4.4 Index]