SpecterKey claimed
Updated 2024-08-10
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
25
26
27
›
⌄
WITH Matrix_log As (
SELECT
BLOCK_TIMESTAMP,
tx_hash,
CONTRACT_ADDRESS,
EVENT_NAME,
decoded_log as log,
log:by AS Address
FROM
polygon.core.fact_decoded_event_logs
where
Contract_address = '0x0f3284bfebc5f55b849c8cf792d39cc0f729e0bc'
And log:eventId = 'claimKey'
)
SELECT
Date_trunc('Day', BLOCK_TIMESTAMP) AS Date,
COUNT(*) AS Key_claimed,
SUM(COUNT(*)) OVER (
ORDER BY
Date
) AS Total_key
FROM
Matrix_log
GROUP BY
Date
order by
date desc
QueryRunArchived: QueryRun has been archived