AmiRtotal
    Updated 2025-01-29
    select
    count(DISTINCT TX_hash) as tx_count,
    count (DISTINCT ORIGIN_FROM_ADDRESS) as user,
    count(DISTINCT pool_name) as pool_count,
    count(DISTINCT token_in) as sold_tokens,
    count(DISTINCT token_out) as bought_tokens,
    sum(AMOUNT_OUT_USD) as vol
    from base.defi.ez_dex_swaps
    where BLOCK_TIMESTAMP>=current_date-60 and platform='aerodrome'
    Last run: 3 months ago
    TX_COUNT
    USER
    POOL_COUNT
    SOLD_TOKENS
    BOUGHT_TOKENS
    VOL
    1
    66117334438812342119411734077080915.34
    1
    47B
    8s