Query editor
WITH active AS (SELECT"from" AS address,COUNT(*) AS tx_countFROM avalanche_c.transactionsWHERE block_time >= current_timestamp - interval '7' dayGROUP BY "from")SELECTa.address,a.tx_count,CASE WHEN c.address IS NOT NULL THEN 'CONTRACT' ELSE 'EOA' END AS addr_typeFROM active aLEFT JOIN avalanche_c.contracts cON c.address = a.addressORDER BY a.tx_count DESCLIMIT 50;