kiacryptodaily success rate - layer 2
Updated 2023-03-10Copy Reference Fork
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
›
⌄
select
date_trunc('day', block_timestamp) as date,
count(distinct tx_hash) as tx_count,
(sum(iff(status = 'SUCCESS', 1, 0)) / tx_count) * 100 as success_rate,
'Arbitrum' as blockchain
from arbitrum.core.fact_transactions
where
block_timestamp::date >= '2023-01-01'
group by 1
union all
select
date_trunc('day', block_timestamp) as date,
count(distinct tx_hash) as tx_count,
(sum(iff(status = 'SUCCESS', 1, 0)) / tx_count) * 100 as success_rate,
'Optimism' as blockchain
from optimism.core.fact_transactions
where
block_timestamp::date >= '2023-01-01'
group by 1
union all
select
date_trunc('day', block_timestamp) as date,
count(distinct tx_hash) as tx_count,
(sum(iff(status = 'SUCCESS', 1, 0)) / tx_count) * 100 as success_rate,
'Polygon' as blockchain
from polygon.core.fact_transactions
where
block_timestamp::date >= '2023-01-01'
group by 1
Run a query to Download Data