Skip to main content
This schema contains comprehensive datasets for tracking Uniswap fundamental data across multiple metrics categories, including trading activity, fees, revenue distribution, liquidity, treasury, and market data.

Available Tables

Uniswap data is available in several tables:
  • ez_metrics: Main aggregated metrics for the entire Uniswap protocol
  • ez_metrics_by_chain: Metrics broken down by blockchain (Ethereum, Arbitrum, Optimism, etc.)
  • ez_metrics_by_pool: Metrics broken down by individual liquidity pools
  • ez_metrics_by_token: Metrics broken down by token

Table Schema

Trading and Activity Metrics

Fee and Revenue Metrics

Token Incentives and Expenses

Treasury Metrics

Market and Token Metrics

Metrics by Chain

The ez_metrics_by_chain table provides a breakdown of Uniswap’s performance across the various blockchains where the protocol is deployed. Based on the SQL file, here are the actual columns in this table: It’s important to note that gas costs represent the fees paid by users to the underlying blockchain networks (like Ethereum, Arbitrum, etc.) for transaction execution, not fees paid to Uniswap itself. These gas costs vary significantly across chains and can impact user behavior. This table is valuable for comparing Uniswap’s adoption, trading volume, and TVL across different blockchains, and for understanding how different ecosystem factors (like gas costs) affect the protocol’s performance on each chain.

Metrics by Pool

The ez_metrics_by_pool table provides detailed metrics for each individual liquidity pool in the Uniswap ecosystem. This table is particularly valuable for analyzing the performance of specific token pairs across different Uniswap versions and blockchains. In Uniswap, a pool represents a trading pair where users can swap one token for another. The pool contains liquidity for both tokens, allowing for these exchanges to occur. Users typically swap token_0 to obtain token_1, or vice versa. Uniswap v3 introduced the concept of concentrated liquidity, which allows liquidity providers to specify price ranges for their capital. This makes individual pool performance analysis even more important, as capital efficiency and fee generation can vary significantly between pools, even for the same token pair but with different fee tiers.

Metrics by Token

The ez_metrics_by_token table provides detailed metrics for each token traded on Uniswap across different blockchains. This allows for analyzing how individual tokens perform within the Uniswap ecosystem, including their contribution to fees, treasury holdings, and trading volumes. This table is particularly useful for:
  • Tracking which tokens generate the most fees on Uniswap
  • Monitoring treasury composition over time
  • Analyzing which tokens have the most liquidity (TVL) on the platform
  • Comparing token performance across different blockchains

Sample Queries

Basic Protocol Activity Query

Revenue and Cash Flow Analysis

Treasury Analysis

Cross-Chain Comparison

Top Pools Analysis

Token-specific Analysis

Protocol Economics Analysis

User and Holder Growth Analysis