Learn R Programming

rllama (version 0.4.4)

get_defillama_chain_tvl: 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()

Arguments

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

Run this code
chain_tvl = get_defillama_chain_tvl()
head( chain_tvl )

Run the code above in your browser using DataLab