Query editor
SELECTt.to AS relay_address,COUNT(DISTINCT oa_src.owner_key) AS linked_criminal_entities,ROUND(SUM(t.amount_usd) / 1e6, 2) AS volume_usd_millions,COUNT(*) AS tx_countFROM tokens.transfers tINNER JOIN labels.owner_addresses oa_srcON t."from" = oa_src.address AND t.blockchain = oa_src.blockchainINNER JOIN labels.owner_details d_srcON oa_src.owner_key = d_src.owner_keyWHERE d_src.primary_category IN ('Hacks and exploits', 'Social Engineering Scams')AND t.block_month >= DATE '2023-01-01'AND t.blockchain = 'ethereum'AND t.to != 0x0000000000000000000000000000000000000000AND NOT EXISTS (SELECT 1 FROM labels.owner_addresses oa_destWHERE oa_dest.address = t.to AND oa_dest.blockchain = 'ethereum')GROUP BY 1HAVING COUNT(DISTINCT oa_src.owner_key) >= 2ORDER BY 3 DESCLIMIT 15