Afonso_Diazlabels using sAVAX
Updated 2025-02-03
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
main as (
select
tx_hash,
block_timestamp,
origin_from_address as user,
project_name,
label_type
from
avalanche.core.fact_event_logs
join
avalanche.core.dim_labels on contract_address = address
where
tx_hash in (select distinct tx_hash from avalanche.core.ez_token_transfers where contract_address = '0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be')
and label_type != 'token'
and label_subtype != 'token_contract'
)
select
label_type,
count(distinct tx_hash) as transactions,
count(distinct user) as users
from
main
where
block_timestamp between '{{ start_date }}' and '{{ end_date }}'
group by 1
order by 2 desc
QueryRunArchived: QueryRun has been archived