Afonso_DiazTop contracts (txns)
Updated 2024-10-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
›
⌄
with
transactions as (
select
contract_address,
tx_hash,
block_timestamp,
tx_fee,
from_address as user
from
kaia.core.fact_event_logs
join
kaia.core.fact_transactions using (tx_hash, block_timestamp)
where
tx_succeeded = 1
)
select
project_name,
count(distinct contract_address) as contracts,
count(distinct tx_hash) as transactions,
count(distinct user) as users,
sum(tx_fee) as total_fee
from transactions
join kaia.core.dim_labels
on address = contract_address
group by 1
order by transactions desc
limit 10
QueryRunArchived: QueryRun has been archived