dex.trades_flagged table contains trades from dex.trades flagged as wash or otherwise inorganic, one row per trade, from the flag registry or the wash heuristics. Rows are not removed from dex.trades; dex.trades_enriched marks them with is_flagged.
Available on 32 EVM chains: Arbitrum, Arc, Avalanche, Base, Berachain, BOB, BSC, Celo, Elysium, Ethereum, Fraxtal, Gnosis, HyperEVM, Ink, Linea, Mantle, MegaETH, Mode, Monad, Optimism, Plasma, Polygon, Robinhood, Scroll, Soneium, Sonic, Stable, Tempo, Unichain, World Chain, X Layer and ZKsync. crosschain.dex.trades_flagged holds all of them.
Methodology
Adjusted Volume
Flagged trades stay index.trades. To get volume without them:
- Trade level: use
sum(usd_amount_adjusted)fromdex.trades_enriched. - Daily metrics: use the
*_adjustedcolumns inmetrics.overview, such asdex_volume_usd_adjusted, andtotal_volume_usd_adjustedincrosschain.metrics.dex_overview. The columns without_adjustedstay raw.
Table Columns
Unique Key:transaction_hash, unique_id