Query editor
-- This query used incompatible data types from Dune SQL alpha and may need to be updated.-- More details can be found on https://dune.com/docs/query/dunesql-changes/select tr.block_number, tr.block_time, count(*) as tx_to from polygon.traces tjoin polygon.transactions tr on tr.hash = t.tx_hashwheretrace_address = array[] -- get root traceand (t."from" != tr."from" or t."to" != tr."to")group by 1, 2;