Query editor
WITH daily_tx AS (SELECTblock_date,COUNT(*) AS total_transactions,COUNT(DISTINCT CAST("from" AS VARCHAR)) AS active_users,COUNT(*) * 1.0 / COUNT(DISTINCT CAST("from" AS VARCHAR)) AS tx_per_user -- ✅ Compute daily transaction frequencyFROM ethereum.transactionsWHERE block_date >= DATE_ADD('month', -3, CURRENT_DATE) -- ✅ Last 3 monthsGROUP BY block_date)SELECTAVG(tx_per_user) AS avg_tx_per_user_over_time -- ✅ Compute overall averageFROM daily_tx;