Query editor
-- query to find the top projects on Base based on their transaction counts.-- the tables to explore should include-- protocol_list (tokens.erc20)-- count of transactions (linea.transactions)with protocol_list AS (SELECTsymbol, contract_addressFROM tokens.erc20WHERE blockchain = 'linea'),transaction AS (SELECTCOUNT (DISTINCT "from") as wallets, "to" AS address, SUM (value/1e18) AS amountFROM linea.transactionsGROUP BY 2)SELECTsymbol, concat ('<a href = "https://explorer.linea.build/address/', cast(address as varchar), '"target = "_blank"> address </a>') as contract_address, sum (wallets) as active_wallets, sum (amount) as amount_ethFROM protocol_list pJOIN transaction tON p.contract_address = t.addressGROUP BY 1, 2ORDER BY 3 DESCLIMIT 50;