Query editor
-- =============================================================================-- EUR Stablecoins – Cumulative Volume Share (last 3 months)-- =============================================================================-- Returns one row per token: their total cumulative transfer volume-- over the last 3 months (all days, including the current day).-- Use as a Pie chart to show market share by volume.-- =============================================================================WITH eur_contracts AS (SELECT 'EURe' AS token, 'ethereum' AS blockchain, 0x39b8b6385416f4ca36a20319f70d28621895279d AS contract, 18 AS decimalsUNION ALL SELECT 'EURe', 'gnosis', 0x420ca0f9b9b604ce0fd9c18ef134c705e5fa3430, 18UNION ALL SELECT 'EURe', 'polygon', 0xe0aea583266584dafbb3f9c3211d5588c73fea8d, 18UNION ALL SELECT 'EURe', 'arbitrum', 0x0c06ccf38114ddfc35e07427b9424adcca9f44f8, 18UNION ALL SELECT 'EURe', 'linea', 0x3ff47c5bf409c86533fe1f4907524d304062428d, 18UNION ALL SELECT 'EURCV', 'ethereum', 0x5f7827fdeb7c20b443265fc2f40845b715385ff2, 18UNION ALL SELECT 'EURI', 'ethereum', 0x9d1a7a3191102e9f900faa10540837ba84dcbae7, 18UNION ALL SELECT 'EURI', 'bnb', 0x9d1a7a3191102e9f900faa10540837ba84dcbae7, 18),all_transfers AS (SELECT ec.token, evt_block_time AS block_time, CAST(value AS DOUBLE) / POW(10, ec.decimals) AS amountFROM erc20_ethereum.evt_Transfer tINNER JOIN eur_contracts ec ON ec.blockchain = 'ethereum' AND t.contract_address = ec.contractWHERE evt_block_time >= TIMESTAMP '2026-01-01'AND evt_block_time < TIMESTAMP '2026-04-01'AND t."from" <> t."to"AND value > UINT256 '0'UNION ALLSELECT ec.token, evt_block_time, CAST(value AS DOUBLE) / POW(10, ec.decimals)FROM erc20_gnosis.evt_Transfer tINNER JOIN eur_contracts ec ON ec.blockchain = 'gnosis' AND t.contract_address = ec.contractWHERE evt_block_time >= TIMESTAMP '2026-01-01'AND evt_block_time < TIMESTAMP '2026-04-01'AND t."from" <> t."to"AND value > UINT256 '0'UNION ALLSELECT ec.token, evt_block_time, CAST(value AS DOUBLE) / POW(10, ec.decimals)FROM erc20_polygon.evt_Transfer tINNER JOIN eur_contracts ec ON ec.blockchain = 'polygon' AND t.contract_address = ec.contractWHERE evt_block_time >= TIMESTAMP '2026-01-01'AND evt_block_time < TIMESTAMP '2026-04-01'AND t."from" <> t."to"AND value > UINT256 '0'UNION ALLSELECT ec.token, evt_block_time, CAST(value AS DOUBLE) / POW(10, ec.decimals)FROM erc20_arbitrum.evt_Transfer tINNER JOIN eur_contracts ec ON ec.blockchain = 'arbitrum' AND t.contract_address = ec.contractWHERE evt_block_time >= TIMESTAMP '2026-01-01'AND evt_block_time < TIMESTAMP '2026-04-01'