permarytotal transactions
    Updated 2024-10-16
    with total_transactions as (
    select
    'Aptos' as blockchain,
    count(*) as total_count
    from aptos.core.fact_transactions
    where block_timestamp between '2024-10-01' and '2024-10-31'
    UNION ALL
    select
    'Solana' as blockchain,
    count(*) as total_count
    from solana.core.fact_transactions
    where block_timestamp between '2024-10-01' and '2024-10-31'

    UNION ALL
    select
    'Polygon' as blockchain,
    count(*) as total_count
    from polygon.core.fact_transactions
    where block_timestamp between '2024-10-01' and '2024-10-31'

    UNION ALL
    select
    'Avalanche' as blockchain,
    count(*) as total_count
    from avalanche.core.fact_transactions
    where block_timestamp between '2024-10-01' and '2024-10-31'
    )

    select
    blockchain,
    total_count
    from total_transactions;
    QueryRunArchived: QueryRun has been archived