adriaparcerisassolana price 13
Updated 2023-06-26
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
›
⌄
with
t1 as (
select
address_name as protocol,
count(distinct signers[0]) as users,
sum(1) as transactions
from solana.core.fact_events x
join solana.core.dim_labels y on x.program_id=y.address
where trunc(block_timestamp,'day')=current_date - interval '1 MONTH' and label_type='dex'
group by 1 order by 1 asc
),
t2 as (
select
address_name as protocol,
count(distinct signers[0]) as users,
sum(1) as transactions
from solana.core.fact_events x
join solana.core.dim_labels y on x.program_id=y.address
where trunc(block_timestamp,'day')=current_date - 1 and label_type='dex'
group by 1 order by 1 asc
)
SELECT
t1.protocol,
t2.transactions/t1.transactions as txs_growth,
t2.users/t1.users as users_growth
from t1 join t2 on t1.protocol=t2.protocol
where t1.transactions >1000
order by 2 desc
Run a query to Download Data