Salehn-p-TPS compare
Updated 2022-07-20Copy 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 lst_near as (
select
count(DISTINCT block_timestamp::date) as count_day
,count(TXN_HASH) as tx_count
, (TX_COUNT/COUNT_DAY)/86400 as avg_TPS
from flipside_prod_db.mdao_near.transactions
where block_timestamp::date >= '2022-01-01'
)
, lst_eth as (
select
count(DISTINCT block_timestamp::date) as count_day
,count(DISTINCT TX_HASH) as tx_count
, (TX_COUNT/COUNT_DAY)/86400 as avg_TPS
from ethereum.core.fact_transactions
where block_timestamp::date >= '2022-01-01'
)
, lst_flow as (
select
count(DISTINCT block_timestamp::date) as count_day
,count(DISTINCT TX_ID) as tx_count
, (TX_COUNT/COUNT_DAY)/86400 as avg_TPS
from flow.core.fact_transactions
where block_timestamp::date >= '2022-01-01'
)
select 'NEAR' as type , * from lst_near
union all
select 'Ethereum' as type , * from lst_eth
union all
select 'FLOW' as type , * from lst_flow
Run a query to Download Data