Pmisha-bmlMdxray.1
Updated 2022-04-03
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
select
date_trunc('day',block_timestamp) as dt,
CASE
when swap_program='raydium v4' then 'Raydium'
when swap_program='jupiter aggregator v2' then 'Jupiter'
when swap_program='orca' then 'Orca'
end as program,
count(distinct swapper) as unq_wlt,
count(tx_id) as qntty_swaps
from solana.fact_swaps
where block_timestamp::date >= '2022-01-01'
and succeeded='TRUE'
group by 1,2 having program is not null
Run a query to Download Data