Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blockdb.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

  • Dataset ID: 0301
  • Tables: blockdb_evm.b0301_liquidity_pools_reserves_v1, blockdb_evm.b0301_liquidity_pools_reserves_details_v1
  • Description: Per-pool reserve snapshots at every on-chain event (one row per event), with optional granular tick/bin/range detail rows joined via snapshot_id.
  • Primary key: (pool_uid, block_number, tx_index, log_index) (reserves); (snapshot_id, tick/bin/range) (details)
  • API: POST /evm/entities/reserves
  • CSV Sample (reserves): Download
  • CSV Sample (details): Download
  • JSON Sample (reserves): Download
  • JSON Sample (details): Download

Sample Viewer

Snapshot columns (blockdb_evm.b0301_liquidity_pools_reserves_v1)

Primary key: (pool_uid, block_number, tx_index, log_index).
ColumnTypeDescription
pool_uidBYTEAPool surrogate key; FK → b0211_liquidity_pools_v1.pool_uid.
exchange_idINTEGERExchange identifier.
type_idINTEGERLiquidity pool type identifier.
block_numberBIGINTBlock when this state was observed.
block_timeTIMESTAMPTZBlock time.
tx_indexINTEGERTransaction index within the block.
log_indexINTEGERLog index within the transaction.
reservesNUMERIC(78,0)[]Current reserves per token for even-style pools (raw units).
current_tickINTEGERCurrent tick (concentrated liquidity, e.g. Uniswap v3).
current_sqrt_priceNUMERIC(49,0)Q64.96 sqrt price integer.
current_binINTEGERCurrent bin id for bin-style AMMs.
_tracing_idBYTEABlockDB tracing ID; unique.
_parent_tracing_idsBYTEA[]Parent tracing IDs.
_created_atTIMESTAMPTZRecord creation time.
_updated_atTIMESTAMPTZRecord last update time.
CHECK (ck_b0301_reserves_has_payload) requires at least one of: reserves, current_tick, current_bin, or (per DDL) liquidity_values, amounts0 when those columns exist in your deployed schema. The shipped DDL file references liquidity_values / amounts0 in the payload check; confirm deployed columns match your environment.

Details columns (blockdb_evm.b0301_liquidity_pools_reserves_details_v1)

Join: details.snapshot_id = reserves._tracing_id.
ColumnTypeDescription
snapshot_idBYTEAParent snapshot _tracing_id.
tickINTEGERSingle-tick locator (v3-style).
lower_tickINTEGERRange lower bound.
upper_tickINTEGERRange upper bound.
bin_idINTEGERSingle-bin locator.
liquidityNUMERIC(38,0)Engine-native liquidity (e.g. Uniswap v3 (L)).
amount0NUMERIC(78,0)Token0 raw amount at locator.
amount1NUMERIC(78,0)Token1 raw amount at locator.
Uniqueness: one row per (snapshot_id, tick), per (snapshot_id, bin_id), or per (snapshot_id, lower_tick, upper_tick) range.
Tick range coverage: Detail rows cover a ±1% range around the current price tick by default. If you need a wider tick range or full tick coverage, contact us.

Use cases

  • Pool state backtesting and simulation
  • Liquidity distribution analysis (ticks/bins)
  • TVL and pricing model inputs

Liquidity pools

Pool registry keyed by pool_uid.

Swap fees

Per-swap economics tied to the same pool events.
Last modified on April 22, 2026