Query editor
with a as (select count(*) as txs, "to" from zksync.transactions where success=true group by "to"),b as (SELECT DISTINCTcontract_project,contract_category,contract_subcategory,contract_addressFROM dune.matter_labs.result_zksync_era_dapp_activitywhere contract_project !=''order by contract_project asc)select row_number() over (order by a.txs desc) as rank, a.txs, b.* from b left join a on b.contract_address=a."to" where b.contract_address is not NULL