LTirrell2022-02-25_solana_stepn
Updated 2022-02-28
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
36
›
⌄
with all_info as (
select
date_trunc('day', block_timestamp) as datetime,
tx_from_address,
tx_to_address,
tx_id
from
solana.transactions
where
block_timestamp :: date >= '2022-01-01'
and succeeded = 'TRUE'
and (
pre_mint = 'AFbX8oGjGpmVFywbVouvhQSRmiW2aR1mohfahi4Y2AdB'
or post_mint = 'AFbX8oGjGpmVFywbVouvhQSRmiW2aR1mohfahi4Y2AdB'
)
),
unique_wallets as (
select
datetime,
tx_from_address as address
from
all_info
union
select
datetime,
tx_to_address as address
from
all_info
),
active_wallets as (
select
unique_wallets.datetime,
count(distinct unique_wallets.address) as addresses
from
unique_wallets
group by
Run a query to Download Data