freemartianWeekly Traders and Trades Count
    Updated 2022-12-06
    select
    date_trunc('week', block_timestamp) as TIME,
    count(tx_id) as transaction_count,
    count(distinct trader) as traders_count
    from terra.core.ez_swaps
    where TX_SUCCEEDED = 'TRUE'
    and block_timestamp >= CURRENT_DATE - {{Past_X_Days}}
    group by TIME

    Run a query to Download Data