Query editor
WITH ioc AS (SELECT address FROM query_9053100),out AS (SELECT t.block_time, t.symbol, t.amount_usd, t."from", t."to", t.tx_toFROM tokens.transfers tWHERE t.blockchain = 'ethereum' AND t.block_month >= DATE '2026-10-01' AND t.block_date >= DATE '2026-10-29'AND t."from" IN (SELECT address FROM ioc) AND t."to" NOT IN (SELECT address FROM ioc)),labeled AS (SELECT address FROM labels.owner_addresses WHERE blockchain = 'ethereum' AND address IN (SELECT "to" FROM out)UNION SELECT address FROM cex.addresses WHERE blockchain = 'ethereum' AND address IN (SELECT "to" FROM out)),recips AS (SELECT o."to" AS recipient, round(sum(o.amount_usd)) AS usd_in_from_ioc, count(*) AS n, min(o.block_time) AS first_in, max(o.block_time) AS last_in,array_join(slice(array_agg(DISTINCT o.symbol), 1, 5), ',') AS symbols, count(DISTINCT o."from") AS n_ioc_sendersFROM out o WHERE o."to" NOT IN (SELECT address FROM labeled) AND o."to" <> 0x0000000000000000000000000000000000000000GROUP BY 1),onward AS (SELECT t."from" AS recipient, round(sum(t.amount_usd)) AS usd_out_onward, count(DISTINCT t."to") AS n_onward_recipients, max(t.block_time) AS last_outFROM tokens.transfers tWHERE t.blockchain = 'ethereum' AND t.block_month >= DATE '2026-10-01' AND t.block_date >= DATE '2026-10-29'AND t."from" IN (SELECT recipient FROM recips ORDER BY usd_in_from_ioc DESC NULLS LAST LIMIT 25)GROUP BY 1)SELECT r.*, w.usd_out_onward, w.n_onward_recipients, w.last_out,(SELECT count(*) FROM ethereum.creation_traces c WHERE c.address = r.recipient) > 0 AS is_contractFROM recips r LEFT JOIN onward w ON w.recipient = r.recipientORDER BY r.usd_in_from_ioc DESC NULLS LASTLIMIT 25