hrst79Chain Users In July
    Updated 2024-09-29
    with base as (
    SELECT
    date_trunc('month', block_timestamp) as date,
    'Near' as chain,
    count (DISTINCT TX_SIGNER) as active_users
    from
    near.core.fact_transactions
    where
    date >= ' 2024-07-01'
    and date <= ' 2024-07-31'
    group by
    1
    UNION
    all
    SELECT
    date_trunc('month', block_timestamp) as date,
    'Ethereum' as chain,
    count (DISTINCT from_address) as active_users
    from
    ethereum.core.fact_transactions
    where
    date >= ' 2024-07-01'
    and date <= ' 2024-07-31'
    group by
    1
    UNION
    all
    SELECT
    date_trunc('month', block_timestamp) as date,
    'Arbitrum' as chain,
    count (DISTINCT from_address) as active_users
    from
    arbitrum.core.fact_transactions
    where
    date >= ' 2024-07-01'
    and date <= ' 2024-07-31'
    QueryRunArchived: QueryRun has been archived