Query editor
WITH all_stats AS (SELECT1 AS key_join,COUNT(DISTINCT("from")) AS all_users,COUNT(DISTINCT(hash)) AS all_trans,SUM(gas_used / 1e18 * gas_price) AS all_feesFROM abstract.transactionsWHERE block_time between TIMESTAMP '2026-02-11 16:00' AND now()),contracts AS (SELECTto AS address,COUNT(DISTINCT("from")) AS active_addresses,COUNT(DISTINCT(hash)) AS total_trans,SUM(gas_used / 1e18 * gas_price) AS transaction_feesFROM abstract.transactionsWHERE block_time between TIMESTAMP '2026-02-11 16:00' AND now()GROUP BY 1),decoded_namespace AS (SELECT"to" AS address,INITCAP(namespace) AS name,ROW_NUMBER() OVER (PARTITION BY "to" ORDER BY namespace) AS row_numFROM abstract.traces_decoded)SELECTCONCAT('<a href="https://abscan.org/address/', CAST(c.address AS VARCHAR), '">', CAST(c.address AS VARCHAR), '</a>') AS address,CASE WHEN c.address = 0xDF3969A315e3fC15B89A2752D0915cc76A5bd82D then 'OpenSea - Seaport'WHEN c.address = 0xAC5f79757A785579b9C593018efD6AB27cF8821F then 'SignatureMinter'WHEN c.address = 0x7dF4E182Da01EbA2FF902b3F13b7a7b12bB87dEa then 'ERC20Router'WHEN c.address = 0x0000000059A24EB229eED07Ac44229DB56C5d797 then 'DelegateRegistry'WHEN c.address = 0xaC4EdF9f8cdE86b811e3aa821055c0E8D680cDa8 then 'ERC20Router'WHEN c.address = 0x0D6848e39114abE69054407452b8aaB82f8a44BA then 'ERC1967Proxy'WHEN c.address = 0x1859072d67fdD26c8782C90A1E4F078901c0d763 then 'Blinko by Bearish'WHEN c.address = 0x4275860d895366989ecd0565ff736b79873957cb then 'XEET PACKS mint'WHEN c.address = 0xc0ea454d3db91943d2ceb6415c7d99484fdd026d then 'XEET PACK open'ELSE dn.name end as name,active_addresses,active_addresses / CAST(all_users AS DOUBLE) *100 AS perc_of_address,total_trans,total_trans / CAST(all_trans AS DOUBLE) * 100 AS perc_of_trans,transaction_fees,transaction_fees / CAST(all_fees AS DOUBLE) *100 AS perc_of_feesFROM contracts cLEFT JOIN (SELECT address, nameFROM decoded_namespaceWHERE row_num = 1 -- Select only the first namespace for each address) dn ON c.address = dn.addressLEFT JOIN all_stats ON 1 = key_joinORDER BY active_addresses DESCLIMIT 30;