dex.uniswap_v4_position_holdings_hourly table tracks the hourly changes in v4 position holdings. Changes are derived from position-level liquidity and pool-level price changes. This enables accurate tracking of position and pool level LP holdings, amounts, and TVL over time.
- Status: This model is currently in beta and may be subject to change.
Methodology
Change Types
TVL in USD is defined as the sum of amount0_usd and amount1_usd across all positions in a given pool, priced at the latest hourly pool tick.
Sample Query
How to generate daily balances from block-level balances table.Generating Daily TVL of v4 Pool from Hourly Changes
Generating Daily TVL of v4 Pool from Hourly Changes
Table Columns
Unique Key:position, activity_hour