NuveveCryptoArchivedUntitled Query
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
›
⌄
with weekly as (
select
tx_from as user,
date_trunc('week', block_timestamp) as week,
count(tx_id) as tx_count
from osmosis.core.fact_transactions
group by user, week
),
daus as (
select
user,
avg(tx_count) as weekly_count
from weekly
group by user
having weekly_count >= 5
),
staking as (
select
staking.block_timestamp::date as date,
count(tx_id) as tx_count
from osmosis.core.fact_staking as staking
inner join daus on staking.delegator_address = daus.user
group by 1
)
Run a query to Download Data