NavidUntitled Query
Updated 2022-11-27Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
with events as (
select
date_trunc('day', block_timestamp) as day,
tx_id
-- instructions[0]['programId'],
-- l.label,
-- case
-- when instructions[0]['programId']='srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX' then 'Openbook'
-- else initcap(l.label)
-- end as dapp_name
from
solana.core.fact_transactions
where
SUCCEEDED
and
instructions[0]['programId']='srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX'
)
select
day,
count(distinct tx_id) as tx_cnt
from
events
group by 1
Run a query to Download Data