binhachonUnique Users on Algorand - Transactions and price
    Updated 2022-04-03
    with transaction_table as (
    select
    'WETH' as blockchain,
    date_trunc('day', block_timestamp) as time,
    count(distinct origin_address) as "Number of unique users"
    from ethereum.udm_events
    where block_timestamp >= '2022-02-01 00:00:00.000'
    group by blockchain, time
    union all
    select
    'LUNA' as blockchain,
    date_trunc('day', block_timestamp) as time,
    count(distinct tx_from) as "Number of unique users"
    from terra.transactions
    where block_timestamp >= '2022-02-01 00:00:00.000'
    group by blockchain, time
    union all
    select
    'SOL' as blockchain,
    date_trunc('day', block_timestamp) as time,
    count(distinct tx_from_address) as "Number of unique users"
    from solana.transactions
    where block_timestamp >= '2022-02-01 00:00:00.000'
    group by blockchain, time
    union all
    select
    'ALGO' as blockchain,
    date_trunc('day', block_timestamp) as time,
    count(distinct sender) as "Number of unique users"
    from algorand.transactions
    where block_timestamp >= '2022-02-01 00:00:00.000'
    group by blockchain, time
    ),
    first_week as (
    select
    *,
    Run a query to Download Data