bachiflowuser2
    Updated 2022-12-20
    select
    'FLOW' as chains,
    MONTH(block_timestamp) as mth,
    count (distinct proposer) as active_users
    from flow.core.fact_transactions
    where block_timestamp::date >= '2022-01-01'
    group by 1,2

    union ALL

    select
    'Ethereum' as chains,
    MONTH(block_timestamp) as mth,
    count (distinct from_address) as active_users
    from ethereum.core.fact_transactions
    where block_timestamp::date >= '2022-01-01'
    group by 1,2

    union ALL

    select
    'Solana' as chains,
    MONTH(block_timestamp) as mth,
    count (distinct signers[0]) as active_users
    from solana.core.fact_transactions
    where block_timestamp::date >= '2022-01-01'
    group by 1,2

    union ALL

    select
    'Avalanche' as chains,
    MONTH(block_timestamp) as mth,
    count (distinct from_address) as active_users
    from avalanche.core.fact_transactions
    where block_timestamp::date >= '2022-01-01'
    Run a query to Download Data