Skip to main content
1 tables in this category.

Tables

  • agent.ethereum_chain_daily
  • agent.ethereum_prices_day

Sample Queries

1. Bridge volume by protocol this week

Table Schemas

agent.bridge_volume_daily

Daily cross-chain bridge volume in USD with directional flow tracking. One row per (block_date, project, version, source_chain, destination_chain). Each row is a directional flow: deposits contribute (ethereum, X) rows, withdrawals contribute (X, ethereum) rows. Covers Across, Polygon, USDT0, Lighter, Mayan, and other bridges with USD pricing from hourly prices. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: block_date, project, version, source_chain
  • Each row is directional — (Ethereum, Arbitrum) is a separate row from (Arbitrum, Ethereum)
  • For total bridge volume regardless of direction: sum both directions
  • Filter source_chain or destination_chain for chain-specific inflow/outflow analysis
  • volume_usd uses hourly price at bridge time — more precise than daily price
  • Ethereum-centric — only covers bridges with Ethereum as one endpoint
  • Not all bridge protocols are indexed — newer or smaller bridges may be missing
  • USD pricing from hourly CoinGecko — same limitations as DEX prices
  • Mayan bridge uses a separate volume model with different source methodology