Soheil_MKUntitled Query
    Updated 2022-12-18
    select
    date_trunc(month,BLOCK_TIMESTAMP) as date,
    count(distinct PROPOSER) as user,
    'Flow' as blockchain
    from flow.core.fact_transactions
    where BLOCK_TIMESTAMP>='2022-01-01'
    group by 1

    union all

    select
    date_trunc(month,BLOCK_TIMESTAMP) as date,
    count(distinct FROM_ADDRESS) as user,
    'Ethereum' as blockchain
    from ethereum.core.fact_transactions
    where BLOCK_TIMESTAMP>='2022-01-01'
    group by 1

    union all

    select
    date_trunc(month,BLOCK_TIMESTAMP) as date,
    count(distinct TX_SIGNER) as user,
    'Near' as blockchain
    from near.core.fact_transactions
    where BLOCK_TIMESTAMP>='2022-01-01'
    group by 1


    union all
    select
    date_trunc(month,BLOCK_TIMESTAMP) as date,
    count(distinct SIGNERS[0]) as user,
    'Solana' as blockchain
    from solana.core.fact_transactions
    Run a query to Download Data