Afonso_DiazUntitled Query
Updated 2023-02-09
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
›
⌄
select
case
when program_id in ('gateVwTnKyFrE8nxUUgfzoZTPKgJQZUbLsEidpG4Dp2') then 'Stake'
when program_id in ('traderDnaR5w6Tcoi3NFm53i48FTDNbGjBSZwWXDRrg') then 'Marketplace'
when program_id = 'FLEET1qqzpexyaDpqb2DGsSzE2sDCizewCg9WjrA6DBW' then 'Core'
end as event_name,
count(distinct tx_id) as txns_count,
count(distinct signers[0]) as users_count
from solana.core.fact_events
where program_id in (
'gateVwTnKyFrE8nxUUgfzoZTPKgJQZUbLsEidpG4Dp2',
'traderDnaR5w6Tcoi3NFm53i48FTDNbGjBSZwWXDRrg',
'FLEET1qqzpexyaDpqb2DGsSzE2sDCizewCg9WjrA6DBW'
)
group by 1
Run a query to Download Data