Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. */SELECTDATE_TRUNC('day', evt_block_time) AS time,SUM(CAST(value AS DOUBLE) / 1e18) AS amount,COUNT(CAST(value AS DOUBLE)) AS cnt,SUM(SUM(CAST(value AS DOUBLE) / 1e18)) OVER (ORDER BYDATE_TRUNC('day', evt_block_time)) AS total_amount,SUM(COUNT(CAST(value AS DOUBLE))) OVER (ORDER BYDATE_TRUNC('day', evt_block_time)) AS total_cntFROMerc20_ethereum.evt_TransferWHEREcontract_address = 0xae78736cd615f374d3085123a210448e74fc6393AND "from" = 0x0000000000000000000000000000000000000000GROUP BY1ORDER BY1