saeedmznactive users over time
    Updated 2023-03-27
    with events as (select TX_ID
    from flow.core.fact_events
    where EVENT_CONTRACT ilike '%Dimension%'
    group by 1
    )
    select date_trunc(month,block_timestamp)::date monthly,
    count (DISTINCT proposer) active_users ,
    count (DISTINCT tx_id) num_transactions ,
    sum (num_transactions) over (order by monthly ) transactions_growth
    from flow.core.fact_transactions
    where tx_id in (select tx_id from events )
    and TX_SUCCEEDED = true
    group by 1 order by 1
    Run a query to Download Data