CryptoIcicleOPtimitic or Pessimistic? - TPS Metrics
Updated 2022-10-18
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
›
⌄
-- Are you optimistic or pessimistic about the future of the layer-2 chain known as Optimism?
-- How do you think it will fare going forward compared to other L2s?
-- Pay by Quality Your score determines your final payout.
-- Grand Prize 187.5 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 125 USDC
-- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Advanced
-- Difficulty Elite
-- Are you optimistic or pessimistic about the future of the layer-2 chain known as Optimism?
-- How do you think it will fare going forward compared to other L2s?
-- Make your case with Flipside data. Include at least three visualizations in your submission,
-- and note any particularly interesting trend our outliers you see.
with tps as (
select
block_timestamp::date as date,
sum(n_txns_secs) as sum_tps,
avg(n_txns_secs) as avg_tps,
max(n_txns_secs) as max_tps,
sum(sum_tps) over (order by date asc rows between unbounded preceding and current row) as cumulative_sum_tps,
avg(avg_tps) over (order by date asc rows between unbounded preceding and current row) as overall_avg_tps,
max(max_tps) over (order by date asc rows between unbounded preceding and current row) as overall_max_tps
from(
select
block_timestamp,
count(distinct tx_hash) as n_txns_secs
from optimism.core.fact_transactions
where block_timestamp >= CURRENT_DATE - {{n_days}}
group by block_timestamp
) group by date
)
select * from tps
order by date desc
Run a query to Download Data