saeedmzn[Review of Axelar Users' Activity in 2024] - Total
Updated 2025-01-07
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 new_users as (
select FROM_ADDRESS,
min (BLOCK_TIMESTAMP)::date min_date ,
from avalanche.core.fact_transactions
group by 1 having min_date >= current_date - 90
),
new_user_final as (
select count (DISTINCT FROM_ADDRESS) num_new_users,
count (tx_hash) num_txns_by_new_users
from avalanche.core.fact_transactions
where FROM_ADDRESS in (select FROM_ADDRESS from new_users)
) ,
active_users as (
select
count (tx_hash) num_transactions ,
count (DISTINCT FROM_ADDRESS) num_active_users,
sum (TX_FEE) paid_fees ,
num_transactions / num_active_users avg_transaction_per_user,
paid_fees / num_transactions avg_paid_fees_per_txn
from avalanche.core.fact_transactions
where BLOCK_TIMESTAMP::date >= current_date - 90
and BLOCK_TIMESTAMP::date < date_trunc('week',current_date )
)
select num_new_users ,
num_active_users ,
num_transactions ,
paid_fees,
avg_transaction_per_user,
avg_paid_fees_per_txn,
num_txns_by_new_users
from new_user_final , active_users
QueryRunArchived: QueryRun has been archived