Query editor
-- part of a query repo-- query name: Ethereum share of DEX volume 🍰-- query link: https://dune.com/queries/21693WITHblockchain_and_volume AS (SELECTblockchain,SUM(CAST(amount_usd AS DOUBLE)) / 1e9 AS eth_billions_volumeFROMdex."trades" AS tWHEREblock_time > NOW() - INTERVAL '7' dayGROUP BYblockchain)SELECT*FROMblockchain_and_volume