Skip to main content
6 tables in this category.

Tables

  • agent.arbitrum_prices_day
  • agent.base_prices_day
  • agent.ethereum_erc20
  • agent.ethereum_fees_daily
  • agent.ethereum_prices_day
  • agent.hyperliquid_market_data
  • agent.hyperliquid_perp_meta

Sample Queries

1. Top 10 DEX protocols by volume today

2. Uniswap V3 WETH/USDC trades in the last 24 hours

Table Schemas

agent.ethereum_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology — multiply by 2 for two-sided
  • Filter by project + version for protocol-specific analysis (e.g., project=‘uniswap’, version=‘3’)
  • taker is the EOA that initiated the swap, not the router contract
  • token_pair is alphabetically sorted (ETH-USDC not USDC-ETH) for consistent grouping
  • Use block_date for daily aggregations — it is the partition key
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching

agent.base_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology — multiply by 2 for two-sided
  • Filter by project + version for protocol-specific analysis (e.g., project=‘uniswap’, version=‘3’)
  • taker is the EOA that initiated the swap, not the router contract
  • token_pair is alphabetically sorted (ETH-USDC not USDC-ETH) for consistent grouping
  • Use block_date for daily aggregations — it is the partition key
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching

agent.arbitrum_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology — multiply by 2 for two-sided
  • Filter by project + version for protocol-specific analysis (e.g., project=‘uniswap’, version=‘3’)
  • taker is the EOA that initiated the swap, not the router contract
  • token_pair is alphabetically sorted (ETH-USDC not USDC-ETH) for consistent grouping
  • Use block_date for daily aggregations — it is the partition key
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching

agent.bsc_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology — multiply by 2 for two-sided
  • This is the LARGEST dex_trades table (~4B rows) — always use tight block_date filters
  • PancakeSwap dominates BSC DEX volume — filter by project=‘pancakeswap’ for protocol-specific analysis
  • taker is the EOA that initiated the swap, not the router contract
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching

agent.tron_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology
  • Tron addresses use base58 format (T…) not hex — keep this in mind for address filters
  • SunSwap dominates Tron DEX volume
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching

agent.hyperevm_dex_trades

Enriched DEX swap events with token symbols, decimals, USD amounts, and protocol attribution. One row per swap event. Combines decoded events from all supported DEX protocols on this chain. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_time, tx_hash, evt_index
  • amount_usd is one-sided (token_sold value) following DefiLlama methodology
  • HyperEVM is the EVM-compatible layer on Hyperliquid — distinct from perp trading data
  • Newer chain — data starts from HyperEVM launch, coverage may be thinner than Ethereum
  • No aggregator attribution — a swap routed through 1inch still shows as the underlying DEX
  • USD prices from CoinGecko hourly — illiquid or brand-new tokens may have null amount_usd
  • Does not include limit orders, RFQ fills, or off-chain matching