Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.allium.so/llms.txt

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

These schemas capture enriched DEX events from Uniswap V2, V3, and V4 liquidity pools. Each event table includes comprehensive token metadata, USD price data, and normalized fields to simplify querying and analysis. This enriched format eliminates the need for additional joins when exploring the data.

Available Event Tables

  • Uniswap V2 Events: Contains swap, Sync, Mint, Burn events from Uniswap V2 Liquidity Pools
  • Uniswap V3 Events: Contains swap, Sync, Mint, Collect, Burn, Initialize, Flash events from Uniswap V3 Liquidity Pools
  • Uniswap V4 Events: Contains OperatorSet, OwnershipTransferred, ProtocolFeeControllerUpdated, Transfer, ProtocolFeeUpdated, Initialize, Swap, ModifyLiquidity, and Donate events from Uniswap V4 PoolManager
For pool creation events, please use the dex.pools table.

Coming Soon

We’re actively working on expanding our DEX pool event coverage to include other major protocols such as:
  • Curve Finance
  • Algebra
  • PancakeSwap
  • And more!
If you’d like to request support for a specific DEX protocol, please reach out to our team.

Key Features

  • All tables include enriched token information (name, symbol, decimals)
  • USD prices are included where applicable
  • High-precision values are available with _str suffix columns
  • Each event has a unique identifier for easy querying
For specific details about each protocol’s events and schema, please refer to their respective documentation files.

Table Columns

Unique Key: unique_id
Column NameData TypeDescription
eventVARCHAREvent log name (e.g. mint, burn, swap, sync, flash)
projectVARCHARName of the project (e.g. uniswap)
protocolVARCHARProtocol name (e.g. uniswap_v2, uniswap_v3, uniswap_v4)
factory_addressVARCHARThe factory address that deployed the liquidity pool
liquidity_pool_addressVARCHARThe liquidity pool address which emitted the event
owner_addressVARCHAROwner address
sender_addressVARCHARAddress of the sender of the event log, which can be the Router
recipient_addressVARCHARAddress of the recipient of the event log, which can be the Router
token0_addressVARCHARToken0 contract address
token0_nameVARCHARToken0 name
token0_symbolVARCHARToken0 symbol
token0_decimalsINTEGERToken0 decimals
token0_amount_raw_strVARCHARToken0 amount unnormalized, in string format for precision
token0_amount_rawFLOATToken0 amount unnormalized
token0_amount_strVARCHARToken0 amount normalized, in string format for precision
token0_amountFLOATToken0 amount normalized
token0_amount_usdFLOATToken0 USD amount
token0_price_usdFLOATToken0 hourly USD price at the time of the event
token1_addressVARCHARToken1 contract address
token1_nameVARCHARToken1 name
token1_symbolVARCHARToken1 symbol
token1_decimalsINTEGERToken1 decimals
token1_amount_raw_strVARCHARToken1 amount unnormalized, in string format for precision
token1_amount_rawFLOATToken1 amount unnormalized
token1_amount_strVARCHARToken1 amount normalized, in string format for precision
token1_amountFLOATToken1 amount normalized
token1_amount_usdFLOATToken1 USD amount
token1_price_usdFLOATToken1 hourly USD price at the time of the event
usd_amountFLOATUSD value of the event
liquidityVARCHARLiquidity field (Uniswap V3/V4 concentrated liquidity positions)
feeINTEGERFee denomination of the pool (Uniswap V3/V4)
tick_spacingINTEGERTick spacing of the pool (Uniswap V3/V4)
sqrt_price_x96VARCHARSquare-root price in Q64.96 fixed-point representation (Uniswap V3/V4)
tickFLOATCurrent price tick of the pool (Uniswap V3/V4)
tick_lowerFLOATThe lower tick of the position (Uniswap V3/V4)
tick_upperFLOATThe upper tick of the position (Uniswap V3/V4)
price_lower_0_1VARCHARLower bound price of token0 per token1
price_upper_0_1VARCHARUpper bound price of token0 per token1
price_lower_1_0VARCHARLower bound price of token1 per token0
price_upper_1_0VARCHARUpper bound price of token1 per token0
transaction_from_addressVARCHARThe address of the sending party of this transaction
transaction_to_addressVARCHARThe address of the receiving party of this transaction
transaction_hashVARCHARTransaction hash of this event
transaction_indexINTEGERTransaction index of this event in the block
transaction_feesFLOATFees paid at the transaction level
transaction_fees_usdFLOATFees paid in USD
fee_detailsOBJECTAdditional fee details of the transaction (gas, gas price, etc.)
selectorVARCHARCall data selector at the transaction level
log_indexINTEGERLog index of this event
block_timestampTIMESTAMP_NTZ(9)Block timestamp of this event
block_numberINTEGERBlock number of this event
block_hashVARCHARBlock hash of this event
unique_idVARCHARUnique ID of each event