Query editor
-- https://dune.com/queries/8452960 | PropAMM — monthly volume by chain-- Where prop AMM volume lives: monthly prop AMM volume split by chain.WITH t AS (SELECT blockchain, block_month, amount_usdFROM dex.tradesWHERE project IN ('dodo','woofi','tessera_v','elfomofi')AND block_month >= date '2025-01-01'AND amount_usd BETWEEN 0 AND 1e10UNION ALLSELECT blockchain, block_month, amount_usdFROM dex_solana.tradesWHERE project IN ('bisonfi','solfi','zerofi','tessera','goonfi','aquifer','alphaq','scorch','humidifi','obric','whalestreet')AND block_month >= date '2025-01-01'AND amount_usd BETWEEN 0 AND 1e10)SELECT block_month AS month,blockchain AS chain,sum(amount_usd) AS volume_usdFROM tWHERE block_month < date_trunc('month', current_date)GROUP BY 1, 2ORDER BY 1, 3 DESC