Afonso_Diazcategorized by number of txns
Updated 2025-04-16
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,
contract_address,
from_address as user,
tx_fee
from
sei.core_evm.fact_event_logs
join
sei.core_evm.fact_transactions using (tx_hash, block_timestamp)
),
contracts as (
select
contract_address,
count(distinct block_timestamp::date) as active_days,
count(distinct tx_hash) as transactions,
count(distinct user) as users
from
main
group by 1
)
select
case
when transactions < 50 then 'a. < 50 Transactions'
when transactions <= 250 then 'b. 51 - 250 Transactions'
when transactions <= 500 then 'c. 251 - 500 Transactions'
when transactions <= 1000 then 'd. 500 - 1000 Transactions'
when transactions <= 10000 then 'e. 1001 - 10,000 Transactions'
when transactions <= 100000 then 'f. 10,000 - 100,000 Transactions'
when transactions <= 1000000 then 'g. 100,000 - 1,000,000 Transactions'
else 'h. > 1,000,000 Transactions'
QueryRunArchived: QueryRun has been archived