bachiarbitrum transactions
Updated 2023-04-13
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
›
⌄
SELECT Date(block_timestamp) AS day,
Count(DISTINCT tx_hash) AS no_of_txs,
Sum(success) / ( Sum(success) + Sum(failed) ) * 100 AS success_percent,
Avg(success_percent)
OVER (
ORDER BY day) AS avg_sucess_rate,
Sum(no_of_txs)
OVER (
ORDER BY day) AS
cumulative_txs_count,
Count(DISTINCT from_address) AS no_of_users,
Sum(no_of_users)
OVER (
ORDER BY day) AS
cumulative_wallets_count,
Sum(tx_fee) AS txn_fees,
Sum(txn_fees)
OVER (
ORDER BY day) AS cumulative_fees
FROM (SELECT *,
Iff(status = 'SUCCESS', '1', '0') AS success,
Iff(status = 'FALSE', '0', '1') AS failed
FROM arbitrum.core.fact_transactions)
WHERE day >= '2022-06-15' -- Since data is available only from 15th June 2022
GROUP BY day
ORDER BY day DESC
Run a query to Download Data