Query editor
SELECT-- The address of the application/contractt."to" AS contract_address,-- Dune tries to label the contract (e.g., "Uniswap V3", "Tether")COALESCE(c.name, 'Unknown App') AS project_name,-- How much ETH was burned interacting with this appSUM((t.gas_used * t.gas_price) / 1e18) AS eth_gas_spent,-- Percentage of total network usage (Simplified calculation)COUNT(*) AS transaction_countFROM ethereum.transactions tLEFT JOIN ethereum.contracts c ON t."to" = c.addressWHERE t.block_time > NOW() - INTERVAL '24' hour-- Exclude simple ETH transfers (Apps usually have input data)AND t.data != 0xGROUP BY 1, 2ORDER BY 3 DESCLIMIT 20