get_chain_tvl_history
Get historical total DeFi TVL for a specific chain (e.g., Ethereum) or all chains combined. Returns daily USD TVL points over a chosen number of trailing days.
Instructions
Get historical total DeFi TVL for one chain, or for all of DeFi combined.
Use to chart "Ethereum TVL over the last year" or "how has total DeFi TVL
evolved?" Complements CoinGecko's get_global_defi, which only gives a
single current number with no history.
Args:
chain: Chain name from list_chains_tvl (e.g. "Ethereum", "Solana",
"Base", "Arbitrum"). Empty string returns total TVL across ALL of
DeFi (i.e. all chains combined).
days: Number of trailing daily points to return (1..3650). Default 90.
Returns:
Array of {date, tvl} points, where date is a unix epoch seconds
timestamp at UTC midnight and tvl is the chain's total DeFi TVL in
USD on that day.
Note: chain (when non-empty) is validated against
^[a-z0-9][a-z0-9._-]{0,127}$.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| days | No |