jackguyl2 tx 300
    Updated 2023-01-28
    SELECT *
    FROM (


    SELECT
    date_trunc('day', block_timestamp) as day,
    'Polygon' as chain,
    count(DISTINCT tx_hash) as transactions
    FROM polygon.core.fact_transactions
    WHERE STATUS LIKE 'SUCCESS'
    GROUP BY 1,2

    UNION

    SELECT
    date_trunc('day', block_timestamp) as day,
    'Optimism' as chain,
    count(DISTINCT tx_hash) as transactions
    FROM optimism.core.fact_transactions
    WHERE STATUS LIKE 'SUCCESS'
    GROUP BY 1,2

    UNION

    SELECT
    date_trunc('day', block_timestamp) as day,
    'Arbitrum' as chain,
    count(DISTINCT tx_hash) as transactions
    FROM arbitrum.core.fact_transactions
    WHERE STATUS LIKE 'SUCCESS'
    GROUP BY 1,2
    ) WHERE day > '2022-05-01'

    Run a query to Download Data