MLDZMNmango3
    Updated 2023-04-10

    select
    date_trunc('day',block_timestamp) as date,
    count(distinct SIGNERS[0]) as no_users,
    Count(distinct tx_id) as no_txn,
    sum(no_users) over (order by date) as total_users,
    sum(no_txn) over (order by date) as total_usage
    from solana.core.fact_events

    where SUCCEEDED='TRUE'
    and PROGRAM_ID = '4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg'
    and block_timestamp>='2023-01-01'
    group by 1
    Run a query to Download Data