Eman-RazNumber of New Pools
    Updated 2023-04-13
    with tab1 as (select pool_id, min(block_timestamp::date) as first_tx
    from terra.core.ez_swaps
    where tx_succeeded='TRUE'
    group by 1)

    select count(distinct pool_id) as "Total Number of New Pools"
    from tab1
    where first_tx>='2023-01-01'


    Run a query to Download Data