mattkstewGroundhog total 2
    Updated 2023-01-13
    with tab1 as (
    select
    from_address as user1,
    'Ethereum' as Chain,
    min(date_trunc('day', block_timestamp)) as date1


    from ethereum.core.fact_transactions
    where block_timestamp > current_date - 365
    group by 1,2

    UNION

    select
    SIGNERS[0] as user1,
    'Solana' as Chain,
    min(date_trunc('day', block_timestamp)) as date1

    from solana.core.fact_transactions
    where block_timestamp > current_date - 365
    group by 1,2
    UNION

    select
    TX_SIGNER as user1,
    'NEAR' as Chain,
    min(date_trunc('day', block_timestamp)) as date1

    from near.core.fact_transactions
    where block_timestamp > current_date - 365
    group by 1,2

    UNION

    Run a query to Download Data