cypherUntitled Query
Updated 2023-02-08
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 star_atlas_users as (select
signers[0] as user,
min(block_timestamp) as first_tx,
'star atlas' as label
from solana.core.fact_events
where succeeded
and program_id = 'ATLocKpzDbTokxgvnLew3d7drZkEzLzDpzwgrgWKDbmc'
group by user),
aurory_users as (select
signers[0] as user,
min(block_timestamp) as first_tx,
'aurory' as label
from solana.core.fact_events
where succeeded
and program_id = 'STkwf3sbMapjy7KV3hgrJtcVvY4SvRxWQ8pj4Enw1i5'
group by user
),
genopets_users as (select
signers[0] as user,
min(block_timestamp) as first_tx,
'genopets' as label
from solana.core.fact_events
where succeeded
and program_id = 'StaKe9nb7aUjXpjpZ45o6uJBsZxj2BWCDBtjk8LCg2v'
group by user
),
final_distinct as (select user, label from star_atlas_users
union
select user, label from aurory_users
union
select user, label from genopets_users)
-- select * from solana.core.fact_gov_actions
Run a query to Download Data