Flow AmbassadorsYear of the Dragon Vol.1 Mints Count
Updated 2025-04-01Copy Reference Fork
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 f_events as (
select
event_data,
event_contract,
event_type,
tx_id,
block_timestamp,
tx_succeeded
from
flow.core.fact_events
where
block_timestamp >= '2024-02-01 17:00:00.000'
),
mints AS (
SELECT
x.EVENT_DATA:editionID :: STRING AS "EditionID",
x.event_data:id AS id,
x.EVENT_DATA:renderID AS "Shape" --y.event_data:to as wallet
FROM
f_events x --join f_events y on x.tx_id=y.tx_id
WHERE
x.EVENT_CONTRACT = 'A.edf9df96c92f4595.Pinnacle'
AND x.EVENT_TYPE = 'PinNFTMinted'
AND "Shape" ILIKE 'LEV1-YOTD%' -- and y.event_type='Deposit'
),
Shapes AS (
SELECT
EVENT_DATA:id :: STRING AS "ID",
2024 AS "seriesID",
EVENT_DATA:renderID AS "Shape",
EVENT_DATA:variant AS "Variant",
EVENT_DATA:isChaser AS "Chaser",
EVENT_DATA:setID AS "SetID"
FROM
f_events
WHERE
QueryRunArchived: QueryRun has been archived