Query editor
WITH distributors AS (SELECT * FROM (VALUES(0x35fb6f6db4fb05e6a4ce86f2c93691425626d4b1),(0x098b716b8aaf21512996dc57eb0615e2383e2f96),(0xf7b31119c2682c88d88d455dbb9d5932c65cf1be),(0x3e37627deaa754090fbfbb8bd226c1ce66d255e9),(0x53b6936513e738f44fb50d2b9476730c0ab3bfc1),(0xa0e1c89ef1a489c9c7de96311ed5ce5d32c20e4b),(0x08723392ed15743cc38513c4925f5e6be5c17243),(0x3cffd56b47b7b41c56258d9c7731abadc360e073)) AS t(addr))SELECTt."from" AS distributor,COUNT(DISTINCT t."to") AS n_destinations,COUNT(*) AS n_tx,SUM(CAST(t.value AS DOUBLE) / 1e18) AS eth,MIN(t.block_time) AS first_sent,MAX(t.block_time) AS last_sentFROM ethereum.traces tJOIN distributors d ON d.addr = t."from"WHERE t.call_type = 'call' AND t.success AND t.value > 0AND t.block_time >= TIMESTAMP '2022-03-23'AND t.block_time < TIMESTAMP '2023-01-01'GROUP BY 1ORDER BY n_destinations DESC