olavsuccess and fail rate by day
Updated 2022-09-26Copy 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
34
35
36
›
⌄
select * from (
select
block_timestamp::date as datetime,
'Pre Merge' as status,
count (iff(status = 'SUCCESS', 1, null)) as success_rate,
count (iff(status = 'FAIL', 1, null)) as fail_rate
from ethereum.core.fact_transactions
where 1 = 1
and block_timestamp::date >= '2022-09-08'
and block_timestamp::date < '2022-09-15'
group by datetime
union
select
block_timestamp::date as datetime,
'Day of Merge' as status,
count (iff(status = 'SUCCESS', 1, null)) as success_rate,
count (iff(status = 'FAIL', 1, null)) as fail_rate
from ethereum.core.fact_transactions
where 1 = 1
and block_timestamp::date = '2022-09-15'
group by datetime
union
select
block_timestamp::date as datetime,
'Post Merge' as status,
count (iff(status = 'SUCCESS', 1, null)) as success_rate,
count (iff(status = 'FAIL', 1, null)) as fail_rate
from ethereum.core.fact_transactions
where 1 = 1
and block_timestamp::date > '2022-09-15'
and block_timestamp::date < '2022-09-23'
group by datetime
Run a query to Download Data