Query editor
SELECTDATE_TRUNC('day', t.block_time) AS date,-- "Miner" in PoS Ethereum is the Block Builder / Relay-- Identify dominant Private Tx Builders (e.g., Beaverbuild, Titan, Flashbots)CASEWHEN b.miner = 0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5 THEN 'Beaverbuild'WHEN b.miner = 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97 THEN 'Titan Builder'WHEN b.miner = 0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5 THEN 'Flashbots'ELSE 'Other Builders'END AS builder_name,-- Calculate Direct Transfers (Bribes/Tips) to the Builder from MEV bots/Whales-- Using internal traces to catch direct ETH transfers to the coinbase (builder)SUM(t.value / 1e18) AS total_bribes_eth,COUNT(*) AS stealth_tx_countFROM ethereum.traces tINNER JOIN ethereum.blocks bON t.block_number = b.numberAND t.block_date = b.dateWHERE t.type = 'call'-- The recipient is the block producer (miner)AND t."to" = b.miner-- Exclude 0 value callsAND t.value > 0AND t.block_time > NOW() - INTERVAL '30' dayAND b.date > CURRENT_DATE - INTERVAL '30' dayGROUP BY 1, 2ORDER BY 1 DESC, 3 DESC