cheeyoung-kekUSDC sol 3
Updated 2022-10-10
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
›
⌄
with
outflow as(
select
date_trunc('week', block_timestamp) as date,
count(tx_id) as transactions,
count (tx_from) as sender
from solana.core.fact_transfers a
join solana.core.dim_labels b
on a.TX_TO = b.address
where MINT ='EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
and date >= '2022-01-01'
group by 1
),
inflow as(
select
date_trunc('week', block_timestamp) as date,
count(tx_id) as transactions,
count (tx_from) as sender
from solana.core.fact_transfers a
join solana.core.dim_labels b
on a.TX_FROM = b.address
where MINT ='EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
and date >= '2022-01-01'
group by 1
)
select *, 'inflow' as flow
from inflow
union all
select * , 'outflow' as flow from outflow
Run a query to Download Data