Query editor
with top_contract as(selectcoalesce(c.name, cast(c.address as varchar)) as contract,c.address,count(hash) total_tx,sum(value)/1e18 total_volumefrom base.transactions tjoin base.contracts c on c.address = t.togroup by 1,2order by 3 desclimit 20)selectdate_trunc('day', block_time) as day,c.contract,count(hash) total_tx,sum(value)/1e18 total_volumefrom base.transactions tjoin top_contract c on c.address = t.togroup by 1,2order by 1