Query editor
WITH attacker_eth_wallets AS (SELECT address FROM (VALUES(0xFcC47866Bd2BD3066696662dbd1C89c882105643),(0x0FE3b6908318B1F630daa5B31B49a15fC5F6B674),(0xD3FEEd5DA83D8e8c449d6CB96ff1eb06ED1cF6C7),(0xAa843eD65C1f061F111B5289169731351c5e57C1),(0xbDdAE987FEe930910fCC5aa403D5688fB440561B)) AS t(address)),eth_flows AS (SELECTdate_trunc('hour', block_time) AS hour,SUM(CASE WHEN "to" IN (SELECT address FROM attacker_eth_wallets) THEN value / 1e18 ELSE 0 END)- SUM(CASE WHEN "from" IN (SELECT address FROM attacker_eth_wallets) THEN value / 1e18 ELSE 0 END)AS net_ethFROM ethereum.tracesWHERE ("to" IN (SELECT address FROM attacker_eth_wallets)OR "from" IN (SELECT address FROM attacker_eth_wallets))AND block_time >= TIMESTAMP '2026-04-01 00:00'AND block_time < TIMESTAMP '2026-04-10 00:00'AND success = trueAND value > 0GROUP BY 1)SELECThour,net_eth,SUM(net_eth) OVER (ORDER BY hour) AS cumulative_eth,SUM(net_eth) OVER (ORDER BY hour) * p.price AS cumulative_usdFROM eth_flowsLEFT JOIN prices.usd_latest pON p.blockchain = 'ethereum'AND p.symbol = 'WETH'ORDER BY hour desc;