Query editor
-- How long before dispatch did each Joined event happen, bucketed by hour.-- A batch is dispatched ~min_batch_age after it opens; this chart shows, across-- all joins, the distribution of (dispatch_time - join_time): bucket 0 = joined-- in the final hour before dispatch (last-minute), higher buckets = joined early.-- Only joins whose batch has already dispatched can have a wait, so pending-- batches are excluded. Batcher list + labels come from the registry (query_7787373).WITH reg AS (SELECT address, kind, label FROM query_7787373),joined AS (SELECT contract_address,bytearray_to_uint256(topic1) AS batch_id,block_time AS joined_atFROM ethereum.logsWHERE contract_address IN (SELECT address FROM reg)AND block_time >= TIMESTAMP '2026-06-01'AND topic0 = 0x5f8ebbb209d7895cbfe5cf5a2dfcaedee39eb27774f2986578a70eb7e43031e8),dispatched AS (SELECT contract_address, bytearray_to_uint256(topic1) AS batch_id,min(block_time) AS dispatched_atFROM ethereum.logsWHERE contract_address IN (SELECT address FROM reg)AND block_time >= TIMESTAMP '2026-06-01'AND topic0 = 0xfc50443e0b60182e19ff754c377e74204041a4c5313f72e29c827aa0c4794e72GROUP BY 1, 2),wait AS (SELECT r.label AS batcher,date_diff('second', j.joined_at, d.dispatched_at) AS secs_to_dispatchFROM joined jJOIN dispatched dON d.contract_address = j.contract_address AND d.batch_id = j.batch_idJOIN reg r ON r.address = j.contract_address)SELECTCAST(floor(secs_to_dispatch / 3600.0) AS bigint) AS hours_before_dispatch,batcher,count(*) AS joinsFROM waitWHERE secs_to_dispatch >= 0GROUP BY 1, 2ORDER BY 1, 2