freemartianHourly mints
Updated 2025-03-05
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
28
29
30
31
32
33
34
35
36
›
⌄
with temp1 AS(
SELECT
*
FROM eclipse.core.fact_events_inner
WHERE instruction_PROGRAM_ID = 'RariUNM3vz1rwxPg8UJyRAN7rSKXxgd2ncS2ddCa4ZE'
AND instruction:parsed:info:destination = '25EdY4Q6ejAT5FRuK71pjvxitq88vQwcggEHbUnrEYvx'
AND block_timestamp::date >= '2025-01-01'
),
temp2 as(
SELECT
*
FROM eclipse.core.fact_events_inner
WHERE instruction_PROGRAM_ID = 'RariUNM3vz1rwxPg8UJyRAN7rSKXxgd2ncS2ddCa4ZE'
AND instruction:parsed:info:destination = 'AsSKqK7CkxFUf3KaoQzzr8ZLPm5fFguUtVE5QwGALQQn'
AND block_timestamp::date >= '2025-01-01'
),
all_temps AS(
SELECT temp1.*
FROM temp1
left JOIN temp2 on (temp1.tx_id = temp2.tx_id)
),
all_minters AS(
SELECT
block_timestamp, tx_id, signers[0] as minter,
FROM eclipse.core.fact_events_inner
WHERE event_type = 'mintTo'
AND INSTRUCTION:program = 'spl-token'
AND block_timestamp::date >= '2025-01-01'
AND tx_id IN (SELECT tx_id FROM all_temps)
)
SELECT
date_trunc('hour',block_timestamp) AS time,