thejoyceweak-ivory
Updated 2024-09-30
99
1
2
3
4
5
6
7
8
9
10
11
12
›
⌄
SELECT
TRUNC(BLOCK_TIMESTAMP, 'day') AS day,
COUNT(DISTINCT FROM_ADDRESS) AS active_users
FROM
blast.core.fact_transactions
WHERE
BLOCK_TIMESTAMP >= DATEADD(day, -30, CURRENT_DATE) -- Filter for the last 30 days
GROUP BY
TRUNC(BLOCK_TIMESTAMP, 'day')
ORDER BY
day DESC;
QueryRunArchived: QueryRun has been archived