rezarwzDaily # of New & Cumulative Users
Updated 2024-12-27
999
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
28
29
30
31
32
33
34
35
36
›
⌄
with Total_mints as (
SELECT
ORIGIN_FROM_ADDRESS as ua,
block_timestamp,
TX_HASH,
DECODED_LOG: price / pow(10, 18) as pack_price,
DECODED_LOG: firstTokenId as firstTokenId,
DECODED_LOG: lastTokenId as lastTokenId,
DECODED_LOG: lastTokenId - DECODED_LOG: firstTokenId + 1 as total_card
FROM
blast.core.ez_decoded_event_logs
where
CONTRACT_ADDRESS = '0x86b58ca576c24f79ad1e5459aee01d40bea22828'
and EVENT_NAME = 'Mint'
),
LVL_UPS AS (
SELECT
ORIGIN_FROM_ADDRESS as ua,
block_timestamp,
TX_HASH,
value as burned_token_id,
DECODED_LOG: mintedTokenId as mintedTokenId
FROM
blast.core.ez_decoded_event_logs,
LATERAL FLATTEN(input => DECODED_LOG:burntTokenIds) f
WHERE
CONTRACT_ADDRESS = '0x86b58ca576c24f79ad1e5459aee01d40bea22828'
and EVENT_NAME = 'LevelUp'
),
lvl_up_r as(
SELECT
ua,
tx_hash,
block_timestamp,
count(DISTINCT burned_token_id) as burned_count,
count(DISTINCT mintedTokenId) as minted_count
QueryRunArchived: QueryRun has been archived