damidezETH BTC new users
Updated 2024-10-01
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
›
⌄
WITH Yologames AS (
SELECT
MIN(block_timestamp) AS firstdate,
decoded_log:sender AS User
FROM blast.core.ez_decoded_event_logs b
WHERE contract_address IN ('0x693b37a9859ce9465fb2aadeb03811a26a0c37c0',
'0xa56a95f41e64bc76cde7423ab2a2ee1763bd8bcc')
AND event_name IN ('EnterMoon', 'EnterDoom')
AND block_timestamp >= '2024-02-29'
AND tx_status = 'SUCCESS'
GROUP BY User
)
SELECT
DATE_TRUNC('day', firstdate) AS date,
COUNT(DISTINCT User) AS New_users,
SUM(new_users) OVER (ORDER BY date) AS cumulative_date
FROM Yologames
GROUP BY date
ORDER BY date DESC;
QueryRunArchived: QueryRun has been archived