SalehFlow vs L1s - Transaction success rates
Updated 2022-05-31Copy 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
›
⌄
with flow as (with tot as (select date_trunc('day' , block_timestamp::date) as "Date", count(*) as "Flow All Transactions"
from flow.core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-05-09'
group by 1
order by 1),
succ as (select date_trunc('day' , block_timestamp::date) as "Date", count(*) as "Flow Successful Transactions"
from flow.core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-05-09'
and TX_SUCCEEDED = true
group by 1
order by 1)
select tot."Date", tot."Flow All Transactions", succ."Flow Successful Transactions",
(succ."Flow Successful Transactions" / tot."Flow All Transactions" * 100) as "Flow Success Rate"
from tot
join succ on succ."Date"=tot."Date"
order by 1),
eth as (with tot as (select date_trunc('day' , block_timestamp::date) as "Date", count(*) as "Ethereum All Transactions"
from flipside_prod_db.ethereum_core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-05-09'
group by 1
order by 1),
succ as (select date_trunc('day' , block_timestamp::date) as "Date", count(*) as "Ethereum Successful Transactions"
from flipside_prod_db.ethereum_core.fact_transactions
where BLOCK_TIMESTAMP >= '2022-05-09'
and STATUS = 'SUCCESS'
group by 1
order by 1)
select tot."Date", tot."Ethereum All Transactions", succ."Ethereum Successful Transactions",
(succ."Ethereum Successful Transactions" / tot."Ethereum All Transactions" * 100) as "Ethereum Success Rate"
from tot
join succ on succ."Date"=tot."Date"
order by 1),
sol as (with tot as (select date_trunc('day' , block_timestamp::date) as "Date", count(*) as "Solana All Transactions"
from flipside_prod_db.solana.fact_transactions
Run a query to Download Data