Hessishuni - tokens pol oldes
    Updated 2024-09-17
    with

    tokens_list as
    (SELECT block_timestamp,
    PLATFORM,
    TOKEN_IN as tokenx,
    symbol_in as sym,
    TX_HASH
    from polygon.defi.ez_dex_swaps
    where
    PLATFORM ilike '%uniswap%'

    union


    SELECT block_timestamp,

    PLATFORM,
    TOKEN_out as tokenx,
    symbol_out as sym,
    TX_HASH
    from polygon.defi.ez_dex_swaps
    where
    PLATFORM ilike '%uniswap%'),

    valid_tokens as (
    select DISTINCT tokenx , sym
    from tokens_list
    GROUP by all
    having count(distinct tx_hash) > 9)


    SELECT
    DISTINCT sym as token , tokenx as contract,
    QueryRunArchived: QueryRun has been archived