Afonso_DiazTop Projects in Terms Of Number of contracts
Updated 2024-10-27
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
transactions as (
select
contract_address,
tx_hash,
block_timestamp,
tx_fee,
from_address as user
from
blast.core.fact_event_logs
join
blast.core.fact_transactions using (tx_hash, block_timestamp)
where
status = 'SUCCESS'
)
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
blast.core.dim_labels
on address = contract_address
where
block_timestamp::date between '{{ start_date }}' and '{{ end_date }}'
and label_type != 'token'
and label_subtype != 'token_contract'
group by 1
order by contracts desc
limit 10
QueryRunArchived: QueryRun has been archived