DEX Monitoring

Every swap. Every pool. Every chain.

15+ chains. Pre-aggregated daily metrics. Swap-level granularity when you need it.

Track DEX volume, market share, liquidity pool health, and trader behavior in SQL. Pre-built stats tables for fast answers. Raw swap data for custom analysis. AI agents that ping you when something moves.

Eight ways to monitor DEX activity

From protocol-level market share to individual whale swaps. Each use case maps to tables you can query today.

Protocol Performance

Key question:

"Which DEX is winning volume on Base this month?"

  • Volume, unique traders, and tx count by protocol
  • Market share calculated per chain and day
  • Pre-aggregated — no GROUP BY needed
  • Average swap size for institutional vs. retail signal

Crosschain Comparison

Key question:

"Where is DEX volume growing, and where is it leaving?"

  • Daily DEX volume across 15+ chains in one table
  • DEX volume alongside fees, bridges, and TVL
  • Quality-scored active addresses (bots filtered out)
  • EVM, Solana, Aptos, and THORChain in the same schema

Liquidity Pool Health

Key question:

"Which pools are losing capital, and how fast?"

  • Every LP add and remove with USD values
  • Net capital flow per pool (adds minus removes)
  • Pool metadata: tokens, platform, fee tier
  • Stablecoin depth in pools as a first-class metric

Trader Intelligence

Key question:

"What percentage of our volume comes from bots vs. real traders?"

  • Classify traders: whale, bot, power user, casual
  • Large swap alerts ($100K+) with entity labels
  • Crosschain identity: track a whale across chains
  • Built-in quality scoring separates organic from bot

Flash Loan & Arbitrage

Key question:

"How much flash loan arbitrage is happening on my protocol?"

  • Flash loans joined with DEX swaps on tx_hash
  • Multi-swap arbitrage route detection
  • Frequency and size measurement across chains
  • No raw log decoding — pre-built tables

Bridge-to-DEX Flows

Key question:

"Are bridge inflows actually driving trading activity on our chain?"

  • Bridge inflows by protocol, chain, and day
  • Correlate bridge volume with DEX volume per chain
  • DEX-to-bridge ratio as a capital efficiency metric
  • 12 chains with dedicated bridge activity tables

Stablecoin DEX Depth

Key question:

"What percentage of USDC supply is deployed in DEX pools?"

  • First-class AMOUNT_IN_DEX_LIQUIDITY_POOLS column
  • Stablecoin supply vs. DEX pool allocation over time
  • Daily transfer volumes by token and chain
  • No computation needed — pre-calculated per stablecoin

TVL & Capital Deployment

Key question:

"Which protocols gained the most TVL this week?"

  • Protocol-level TVL with 7-day trend comparisons
  • Chain-level TVL aggregations updated daily
  • TVL by token, pool, and protocol breakdown
  • Crosschain capital flow and rebalancing signals

Three tiers of DEX data

Pre-aggregated daily stats for fast charts. Swap-level events for custom analysis. Liquidity pool tables for depth monitoring. Same SQL, every chain.

Explore the schema

Pre-aggregated protocol metrics

Daily volume and market share, no aggregation needed

Three daily stats tables cover the most common DEX queries. Chain-level totals, protocol-level market share, and token-level pair data — all with volume, unique traders, and transaction counts pre-computed.

-- Protocol market share by chain, last 30 days
SELECT blockchain, platform, block_date,
  dex_volume_usd, dex_distinct_addresses,
  dex_volume_usd / SUM(dex_volume_usd)
    OVER (PARTITION BY blockchain, block_date)
    AS market_share
FROM crosschain.stats.ez_dex_protocol_metrics_daily
WHERE block_date >= CURRENT_DATE - 30
ORDER BY block_date DESC, dex_volume_usd DESC
ez_dex_metrics_dailyez_dex_protocol_metrics_dailyez_dex_token_metrics_daily

Swap-level event data

Every trade with USD values, token metadata, and labels

When you need to trace individual trades, filter by trader, or build custom aggregations. Every swap includes platform attribution, token symbols, USD amounts, and the trader address — ready to join with labels for identity enrichment.

-- Large swaps with entity labels, last 24 hours
SELECT s.trader, s.platform,
  s.symbol_in, s.symbol_out, s.amount_in_usd,
  l.label_type, l.project_name
FROM crosschain.defi.ez_dex_swaps s
LEFT JOIN crosschain.core.dim_labels l
  ON s.trader = l.address
  AND s.blockchain = l.blockchain
WHERE s.amount_in_usd >= 100000
  AND s.block_timestamp >= CURRENT_DATE - 1
ORDER BY s.amount_in_usd DESC
ez_dex_swapsdim_labelsdim_tags

Liquidity pool monitoring

Pool metadata, LP actions, and stablecoin depth

Track every LP add and remove with USD values. Calculate net flow per pool to identify capital trends. The stablecoin supply table includes a dedicated column for stablecoin capital deployed in DEX pools — no joins or computation required.

-- Pools with largest net outflows this week
SELECT p.platform, p.pool_address,
  SUM(CASE WHEN a.action = 'add'
    THEN a.amount_usd ELSE -a.amount_usd
  END) AS net_flow_usd
FROM crosschain.defi.ez_dex_liquidity_pool_actions a
JOIN crosschain.defi.dim_dex_liquidity_pools p
  ON a.pool_address = p.pool_address
  AND a.blockchain = p.blockchain
WHERE a.block_timestamp >= CURRENT_DATE - 7
GROUP BY 1, 2 ORDER BY net_flow_usd ASC
dim_dex_liquidity_poolsez_dex_liquidity_pool_actionsez_stablecoins_supply

Agents that watch DEX markets so you don't have to

AI agents run DEX queries on a schedule, detect volume spikes and liquidity shifts, and deliver findings to Slack or email. Set it once, get alerts when something moves.

Volume Spike Alerts

Get pinged when a protocol's daily volume jumps 3x its 7-day average, when a new DEX takes 5%+ market share on a chain, or when a specific trading pair sees unusual activity.

Liquidity Pool Watch

Monitor your key pools for large LP exits, net outflow trends, and concentration changes. Know before your users do when a pool starts thinning out.

Whale Swap Tracker

Track swaps above your threshold ($100K, $1M, whatever you set). Enriched with entity labels so you know when it's a fund, a protocol treasury, or a known arbitrageur.

Crosschain Flow Alerts

Weekly briefings on how bridge inflows correlate with DEX activity per chain. Spot when a competitor chain starts pulling trading volume or when bridged capital feeds a new DEX.

Built for teams that run on DEX data

Protocol Teams

Track volume, market share, LP health, and user growth across chains.

Investors & Funds

Due diligence, protocol comparison, and portfolio monitoring with onchain data.

L1/L2 Ecosystems

Crosschain DEX comparison, ecosystem health, and growth attribution.

Risk & Research

Flash loan detection, liquidity risk analysis, and market structure research.

15+

Chains with DEX data

100+

DEX protocols decoded

3

Pre-aggregated stats tables

Daily

Metrics refresh frequency

Frequently asked questions

Which DEXs does Flipside cover?

Flipside covers every major DEX including Uniswap (v2, v3, v4), Raydium, Jupiter, Orca, Curve, PancakeSwap, SushiSwap, Trader Joe, and dozens more. All swap data lands in normalized ez_dex_swaps tables with USD values, token metadata, and protocol labels. The same schema works across 15+ chains.

Can I get DEX metrics without writing aggregation queries?

Yes. Flipside provides three pre-aggregated stats tables: ez_dex_metrics_daily for chain-level volume, ez_dex_protocol_metrics_daily for protocol-level market share, and ez_dex_token_metrics_daily for pair-level stats. Each includes daily volume, unique traders, and transaction counts — no GROUP BY needed.

How does Flipside distinguish real traders from bots?

Flipside's quality scoring system assigns each address a score from 0-10 based on behavioral signals. A score of 4 or higher indicates organic activity. You can also join ez_dex_swaps with dim_labels to filter out known MEV bots, arbitrageurs, and aggregator contracts. No other platform offers built-in bot-vs-human scoring for DEX analytics.

Can I track liquidity pool health and LP activity?

Yes. dim_dex_liquidity_pools provides pool metadata (tokens, platform, fee tier) and ez_dex_liquidity_pool_actions tracks every LP add and remove with USD values. You can calculate net flow, identify pools losing capital, and monitor LP concentration. The stablecoin supply table also includes a dedicated AMOUNT_IN_DEX_LIQUIDITY_POOLS column.

How do I detect flash loan arbitrage?

Join ez_lending_flashloans with ez_dex_swaps on tx_hash and blockchain. Transactions with a flash loan plus two or more DEX swaps are strong arbitrage signals. Flipside provides both tables with full USD values, so you can measure arbitrage frequency and size across chains without decoding raw logs.

Can I correlate bridge inflows with DEX activity?

Yes. ez_bridge_metrics_daily and ez_dex_metrics_daily share the same blockchain and block_date keys, so you can join them directly to see how bridge volume correlates with DEX trading on each chain. ez_bridge_protocol_metrics_daily breaks this down by bridge protocol for deeper analysis.

Stop refreshing dashboards. Start querying DEXs.

15+ chains, 100+ decoded DEX protocols, pre-aggregated daily stats. Tell us what you're tracking and we'll show you how fast you can get answers.