theericstoneUsers acquired all chains with only month and year no date copy
    -- forked from mar1na-catscatscode / Users acquired all chains with only month and year no date @ https://flipsidecrypto.xyz/mar1na-catscatscode/q/XgZbAxvH9e6d/users-acquired-all-chains-with-only-month-and-year-no-date

    -- forked from Sandesh / Users acquired all chains @ https://flipsidecrypto.xyz/Sandesh/q/5N-RAQceGusP/users-acquired-all-chains

    with polygon as (
    with acquired_transaction as (
    select from_address,(block_timestamp) as acquired_time
    from polygon.core.fact_transactions
    where nonce=1
    -- group by from_address
    )

    select
    date_trunc('month',acquired_time) as month_,
    count(distinct from_address) as acquired_users,
    'polygon' as chain
    from acquired_transaction
    where acquired_time >= '{{start_date}}' and acquired_time < '{{end_date}}'
    group by month_
    ),

    ethereum as (
    with acquired_transaction as (
    select from_address,(block_timestamp) as acquired_time
    from ethereum.core.fact_transactions
    where nonce=1
    -- group by from_address
    )

    select date_trunc('month',acquired_time) as month_,
    count(distinct from_address) as acquired_users ,'ethereum' as chain
    from acquired_transaction
    where acquired_time >= '{{start_date}}' and acquired_time < '{{end_date}}'
    group by month_
    ),

    Run a query to Download Data