Skip to main content

Overview

The TVL endpoint provides Total Value Locked snapshots in USD for liquidity pools. Each snapshot represents the poolโ€™s total value computed from reserves multiplied by fiat prices, providing a standardized USD-denominated measure of pool liquidity at each on-chain event.

Endpoint Matrix

Parameter Conventions

number
required
Chain identifier for the target EVM network. See Chain enumeration for supported values.
number
Starting block height (inclusive) for TVL snapshots.
number
Ending block height (inclusive) for TVL snapshots.
string
Starting timestamp (ISO-8601). If it falls between blocks, the next block after this timestamp is used.
string
Ending timestamp (ISO-8601). If it falls between blocks, the last block before this timestamp is used.
string[]
BlockDB pool identifiers for filtering TVL data by pool.
string[]
Pool contract addresses to scope TVL data.
number
Minimum TVL threshold in USD for filtering pools.

Usage Guidance

  • Pool ranking โ€” Use TVL to rank pools by liquidity depth
  • Liquidity migration โ€” Track TVL changes over time to identify liquidity flows
  • Protocol health โ€” Monitor aggregate TVL across pools for protocol-level metrics
  • Risk assessment โ€” Filter pools by minimum TVL for routing and execution quality
  • Dashboards โ€” Build TVL charts and leaderboards with full provenance

TVL Calculation

TVL is computed as:
Where:
  • token_amounts[i] is the decimals-adjusted reserve amount for token i
  • fiat_price[i] is the USD price for token i at the snapshot time

Common Patterns

Rank pools by TVL:
Get TVL history for specific pools:

Dataset Relationships

  • Reserves โ†’ TVL: Reserve snapshots provide token amounts for TVL calculation
  • Prices โ†’ TVL: Fiat prices provide USD conversion for TVL
  • Pools โ†’ TVL: Join pool metadata to TVL snapshots using pool_uid
  • TVL โ†’ Yields: TVL can be used alongside yields for liquidity-adjusted ROI analysis

See Also

Last modified on July 19, 2026