0xHaM-dContracts & Other Parameters copy
Updated 2024-09-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
›
⌄
select
count(DISTINCT from_address) as n_users,
count(DISTINCT a.tx_hash) as n_txns,
sum(TX_FEE) as consumed_fee,
count(DISTINCT contract_address) as "# Active Contract",
consumed_fee/"# Active Contract" as "Avg Fee Per Contract",
consumed_fee/n_txns as "Avg Fee Per Tx",
n_users/"# Active Contract" as "Avg User Per Contract",
n_txns/"# Active Contract" as "Avg Tx Per Contract"
from kaia.core.fact_transactions a
left outer join kaia.core.fact_event_logs b on a.tx_hash = b.tx_hash
where a.TX_SUCCEEDED = 'TRUE'
QueryRunArchived: QueryRun has been archived