NavidCopy of Untitled Query
    Updated 2022-12-09
    with flowtpm as (
    select
    date_trunc('minute', block_timestamp) as mnt,
    'Flow' as chain,
    floor(count(distinct tx_id)/10)+1 as tx_cnt
    from
    flow.core.fact_transactions
    where
    TX_SUCCEEDED and block_timestamp >= '2022-07-01'
    group by 1
    ), solanatpm as (
    select
    date_trunc('minute', block_timestamp) as mnt,
    'Solana' as chain,
    floor(count(distinct tx_id)/10)+1 as tx_cnt
    from
    solana.core.fact_transactions
    where
    SUCCEEDED and block_timestamp >= '2022-07-01'
    group by 1
    ), ethtpm as (
    select
    date_trunc('minute', block_timestamp) as mnt,
    'Ethereum' as chain,
    floor(count(distinct TX_HASH)/10)+1 as tx_cnt
    from
    ethereum.core.fact_transactions
    where
    STATUS='SUCCESS' and block_timestamp >= '2022-07-01'
    group by 1
    ), algotpm as (
    select
    date_trunc('minute', block_timestamp) as mnt,
    'Algorand' as chain,
    floor(count(distinct TX_ID)/10)+1 as tx_cnt
    from
    Run a query to Download Data