type | USER_COUNT | WALLET_COUNT_PERCENTAGE | |
---|---|---|---|
1 | A : < 1 days | 15062 | 37.835665 |
2 | B : < 1-10 days | 9071 | 22.786305 |
3 | C : < 10-30 days | 7251 | 18.214474 |
4 | D : < 30-90 days | 4166 | 10.46497 |
5 | E : < 90-180 days | 3117 | 7.829888 |
6 | F : < 180-365 days | 1017 | 2.554699 |
7 | G : over 1 year | 125 | 0.313999 |
elsina2024-09-14: Age wallet
Updated 2025-01-23
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 t1 as (
SELECT
buyer_address as user,
min(block_timestamp) as min_nft_tx
from
sei.nft.ez_nft_sales
group by user
),
t2 as (
SELECT
user,
min_nft_tx,
min(block_timestamp) as min_tx
from
sei.core.fact_transactions b left join t1 a on user = tx_from
group by
user, min_nft_tx
),
t3 as (
select
user,
datediff('day' , min_tx , min_nft_tx) as age_wallets
from t2
)
select
case
when age_wallets < 1 then 'A : < 1 days'
when age_wallets < 10 then 'B : < 1-10 days'
when age_wallets < 30 then 'C : < 10-30 days'
when age_wallets < 90 then 'D : < 30-90 days'
when age_wallets < 180 then 'E : < 90-180 days'
when age_wallets < 365 then 'F : < 180-365 days'
else 'G : over 1 year'
Last run: 3 months ago
7
246B
38s