Query editor
-- This query has been migrated to run on DuneSQL.-- If you need to change back because you’re seeing issues, use the Query History view to restore the previous version.-- If you notice a regression, please email [email protected].SELECTCOUNT(DISTINCT "from") AS users,SUM(value / CAST(1e18 AS DOUBLE)) AS total,DATE_TRUNC('day', tx.block_time) AS dayFROMethereum."transactions" AS txWHERE("to" = 0x52ec2F3d7C5977A8E558C8D9C6000B615098E8fC /* Optimism Wrap Speed Bridge Contract */OR "to" = 0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1 /* Optimism Main Bridge Contract */)AND success = TRUEAND value > 0GROUP BY3