TVL / Fees / Yields

Protocol-level daily aggregates for total value locked, fee revenue, and yield rates.

6 tables across three metrics.

TVL (4 chains)

TableChain
agent.ethereum_tvl_dailyEthereum
agent.base_tvl_dailyBase
agent.arbitrum_tvl_dailyArbitrum (newer, may have limited data)
agent.tron_tvl_dailyTron (fewer protocols)

Fees & Yields (Ethereum only)

TableDescription
agent.ethereum_fees_dailyProtocol-level fee/revenue (35+ protocols)
agent.ethereum_yields_dailyPool-level APY data (37 protocols)

TVL Schema

ORDER BY: project, version, block_date

ColumnTypeDescription
blockchainStringChain name
projectStringProtocol name (lowercase)
versionStringProtocol version. Empty for single-version protocols.
block_dateDateGap-filled — every day has a value
tvl_usdNullable(Float64)Supply-side TVL in USD (CoinGecko-priced)

Fees Schema

ORDER BY: project, version, block_date

ColumnTypeDescription
projectStringProtocol name
versionStringProtocol version
block_dateDate
daily_fees_usdNullable(Float64)Total fees (all sources)
daily_user_fees_usdNullable(Float64)Fees paid by end users
daily_revenue_usdNullable(Float64)Protocol + holder revenue
daily_protocol_revenue_usdNullable(Float64)Treasury revenue
daily_holders_revenue_usdNullable(Float64)Token holder revenue
daily_supply_side_revenue_usdNullable(Float64)LP / lender / staker revenue

Yields Schema

ORDER BY: project, version, block_date

ColumnTypeDescription
projectStringProtocol name
versionStringProtocol version
block_dateDate
pool_addressStringPool contract address
symbolNullable(String)Asset symbol
pool_metaStringHuman-readable pool description (e.g., 'WETH-USDC 0.3%')
apyNullable(Float64)Total APY (base + reward)
apy_baseNullable(Float64)Organic yield (from fees/interest)
apy_rewardFloat64Incentivized yield (token rewards)
tvl_usdNullable(Float64)Pool-level TVL
apy_mean_30dNullable(Float64)30-day rolling mean APY
stablecoinNullable(UInt8)1 = stablecoin pool
il_riskStringImpermanent loss risk flag
volume_usd_1dFloat641-day pool trading volume
volume_usd_7dFloat647-day pool trading volume
💡 Tip

Additional yield columns available: apy_base_7d, il_7d, apy_base_borrow, apy_reward_borrow, total_supply_usd, total_borrow_usd, apy_pct_1d/7d/30d, exposure.

Good to Know

  • TVL is supply-side only — borrow balances excluded.
  • CoinGecko-only pricing — unpriced tokens are valued at $0.
  • Fee breakdown: daily_fees = user_fees + supply_side. daily_revenue = protocol_revenue + holders_revenue.
  • Use apy_mean_30d for stable comparisons — daily apy is volatile.
  • Low TVL + high APY = likely risky. Filter tvl_usd > 1000000 for meaningful yields.
  • Reward APY depends on governance token prices — swings with token volatility.