Query editor
SELECTt.block_date,COALESCE(po.owner, 'other') as owner,t.to,count(t.hash) as tx_count,sum(count(t.hash)) over (order by t.block_date, COALESCE(po.owner, 'other')) as cumulative_tx_countFROM (SELECT *FROM linea.transactionsWHERE hash IN (SELECT tx_hashFROM linea.logsWHERE contract_address = 0x3de3893aa4cdea029e84e75223a152fd08315138AND topic0 = 0xfe10586889e06530420fe4a0d86aa4f7afc3c9dc84b0c77b731a9615496ef18a)) tLEFT JOIN dune.verax_lizards.dataset_portalsowners as po ON t.to = po.portaladdressGROUP BY t.block_date, COALESCE(po.owner, 'other'), t.to