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