Afonso_DiazTotal supported tokens
    Updated 12 hours ago
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    origin_from_address as user,
    nvl(amount_in_usd, amount_out_usd) as amount_usd,
    symbol_in,
    token_in,
    token_out,
    symbol_out,
    iff(symbol_in > symbol_out, symbol_in || ' - ' || symbol_out, symbol_out || ' - ' || symbol_in) as token_pair
    from
    bsc.defi.ez_dex_swaps
    where
    platform ilike 'dodo%'
    and amount_usd > 0
    and amount_usd < 1e6
    ),

    tokens as (
    select
    distinct token_in as token_address from main

    union all

    select
    distinct token_out from main
    )

    select count(distinct token_address) from tokens


    Last run: about 12 hours ago
    COUNT(DISTINCT TOKEN_ADDRESS)
    1
    2284
    1
    8B
    30s