Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. */WITHREQ_Contract_interactions AS (SELECTCOUNT(*) AS count_daily_interactions,DATE_TRUNC('day', trans.block_time) AS timeFROMethereum.traces AS transWHEREtrans.to = 0x7b3C4D90e8AF6030d66c07F8F815f9505E379d6FGROUP BY2)SELECTSUM(r1.count_daily_interactions) AS count_monthly_interactions,DATE_TRUNC('month', r1.time) AS timeFROMREQ_Contract_interactions AS r1GROUP BY2ORDER BY2 DESC NULLS FIRST