What is TVL (Total Value Locked)?
TVL — Total Value Locked — is the dollar-value sum of all assets deposited in a DeFi protocol's smart contracts. It is the standard health metric for DeFi.
A protocol with $1B TVL has $1B in user-deposited assets across its lending pools, AMMs, vaults, and staking contracts. A protocol with $1M TVL has 1/1000th the economic gravity, and proportionately higher risk on every metric — APY sustainability, attack profitability, oracle integrity, withdrawal liquidity.
Why AI agents care
Two protocols offering 8% APY with very different TVLs mean very different things. The $1B-TVL protocol has likely been audited, has battle-tested fee revenue, and has enough liquidity that user withdrawals don't move the price meaningfully. The $1M-TVL protocol is either too new, too risky, or attracting yield only via emissions of an unsustainable token.
Hive's get_yields_pools tool returns TVL alongside APY for every yield pool DefiLlama tracks — so an agent can sort by APY × TVL ratio rather than naked APY. Single-provider APIs like CoinGecko MCP and Codex do not expose protocol-wide TVL.