license: cc-by-nc-4.0
tags:
- ethereum
- evm
- blockchain
- cryptocurrency
- crypto
- onchain-data
- tabular
- timeseries
- datasets
- pandas
- polars
- duckdb
pretty_name: BlockDB Liquidity Pools - Sample
size_categories:
- 10M<n<100M
Sample Notice
This dataset contains a small sample of the full BlockDB Liquidity Pools dataset.
It is provided for evaluation, research, and interoperability testing only.
If you need full historical coverage, real-time streaming, or end-of-day (EOD) exports please contact us directly:
π§ support@blockdb.io
π https://www.blockdb.io
Dataset Overview
Canonical list of liquidity pools across all supported DEXes. Each row represents a unique pool with its configuration (exchange, type, tokens, factory) and identifiers (contract address for v2/v3-style pools, pool_id for v4-style pools).
This table serves as the single source of truth for pool identity; child time-series tables (reserves, swaps, yields) reference pools by their pool_uid.
Chains and Coverage
ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request). Full history from chain genesis; reorg-aware real-time ingestion and updates.
Schema
List of columns exactly as delivered:
β’ pool_uid BYTEA β Unique pool identifier derived from address or pool_id (primary key)
β’ exchange_id INTEGER β Exchange/DEX identifier
β’ type_id INTEGER β Pool type identifier (FK to liquidity_pool_types)
β’ block_number BIGINT β Block of the log attributed as the genesis/recognition point
β’ block_time TIMESTAMPTZ β UTC timestamp when the block was mined
β’ tx_index INTEGER β Transaction index within the block
β’ log_index INTEGER β Log index within the block
β’ factory BYTEA β 20-byte DEX factory/pool-manager address
β’ tokens BYTEA[] β Array of 20-byte token addresses in the pool
β’ contract_address BYTEA β 20-byte address for v2/v3-style pools (nullable for id-only v4)
β’ pool_id BYTEA β 32-byte identifier for v4-style pools (nullable for v2/v3)
β’ pairnum NUMERIC(6) β Pair number, if applicable
β’ asset_managers BYTEA[] β Array of asset manager addresses, if applicable
β’ amp NUMERIC(6) β Amplification parameter for stable pools
β’ weights NUMERIC(6,5)[] β Token weights (0..1) for weighted pools
β’ tick_spacing SMALLINT β Tick spacing for concentrated liquidity pools
β’ _tracing_id BYTEA β Tracing ID of this pool record
β’ _genesis_tracing_ids BYTEA[] β Tracing IDs of the genesis records leading to this pool record
β’ _parent_tracing_ids BYTEA[] β Tracing IDs of the parent records leading to this pool record
β’ _created_at TIMESTAMPTZ β Record creation timestamp
β’ _updated_at TIMESTAMPTZ β Record last update timestamp
Notes
β’ At least one of contract_address or pool_id is always populated.
β’ Indexes on block_number, factory, type_id, (factory, type_id), and tokens (GIN) support fast lookups.
β’ Binary values can be rendered as hex via encode(column, 'hex') in SQL for display or downstream joins.
Lineage
Each pool record includes deterministic _tracing_id, _genesis_tracing_ids, and _parent_tracing_ids, providing:
β’ Provenance tracking from raw logs to pool discovery
β’ Reproducible analytics and signal extraction
β’ Cross-system consistency checks (RPC vs. indexers vs. internal warehouses)
Common Use Cases
β’ Building DEX pool registries across multiple protocols
β’ Pool discovery and new listing detection
β’ Foundation for swap, reserves, and yield analytics
β’ Cross-DEX liquidity analysis and comparison
Quality
β’ Verifiable lineage: deterministic cryptographic hashes per row
β’ Reorg-aware ingestion: continuity and consistency across forks
β’ Complete historical coverage: from chain genesis to present