metricsdao[23] MDAO101: Dex Swaps Query
    Updated 2022-08-16
    select
    date_trunc('w', block_timestamp) as _date,
    platform,
    count(tx_hash) as transaction_count,
    count(distinct origin_from_address) as unique_swappers,
    transaction_count / unique_swappers as tx_per_wallet
    from ethereum.core.ez_dex_swaps
    where block_timestamp::date >= current_date - 365
    group by 1,2
    order by 1
    Run a query to Download Data