bachiflowspeed2
    Updated 2022-12-12
    with flow_txns as (
    select date(block_timestamp) as day,
    count (distinct tx_id) as no_of_txns,
    round(round(no_of_txns/(24*60*60),2),2) as txns_per_sec
    from flow.core.fact_transactions
    where block_timestamp >= '2022-01-01'
    group by day
    order by day DESC
    ),
    sol_txns as (
    select date(block_timestamp) as day,
    count (distinct tx_id) as no_of_txns,
    round(round(no_of_txns/(24*60*60),2),2) as txns_per_sec
    from solana.core.fact_transactions
    where block_timestamp >= '2022-01-01'
    group by day
    order by day DESC
    ),

    eth_txns as (
    select date(block_timestamp) as day,
    count (distinct tx_hash) as no_of_txns,
    round(round(no_of_txns/(24*60*60),2),2) as txns_per_sec
    from ethereum.core.fact_transactions
    where block_timestamp >= '2022-01-01'
    group by day
    order by day desc
    ),

    bsc_txns as (
    select date(block_timestamp) as day,
    count (distinct tx_hash) as no_of_txns,
    round(no_of_txns/(24*60*60),2) as txns_per_sec
    from bsc.core.fact_transactions
    where block_timestamp >= '2022-01-01'
    group by day
    Run a query to Download Data