articoloquintoSolana wallets active after 1 month
Updated 2022-07-16
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
select 'Active after 1 month' as "status", count(distinct s."address") as "number of addresses" from(
select SIGNERS[0] as "address", dateadd(month, 1, min(BLOCK_TIMESTAMP)) as "date + 7"
from solana.core.fact_transactions
where BLOCK_TIMESTAMP between '2022-01-01' and '2022-06-16'
group by 1) as s
inner join(
select SIGNERS[0] as "address", max(BLOCK_TIMESTAMP) as "date"
from solana.core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-01-01'
group by 1) as a
on s."address" = a."address" and a."date" > s."date + 7"
UNION
select 'No longer active after 1 month' as "status", count(distinct s."address") as "number of addresses" from(
select SIGNERS[0] as "address", dateadd(month, 1, min(BLOCK_TIMESTAMP)) as "date + 7"
from solana.core.fact_transactions
where BLOCK_TIMESTAMP between '2022-01-01' and '2022-06-16'
group by 1) as s
inner join(
select SIGNERS[0] as "address", max(BLOCK_TIMESTAMP) as "date"
from solana.core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-01-01'
group by 1) as a
on s."address" = a."address" and a."date" <= s."date + 7"
Run a query to Download Data