tomingetherum new token tracker
    Updated 2024-02-14
    with
    new_tokens as (
    select
    token_out as tt,
    -- first_value(platform),
    min(block_timestamp) as first_swap,
    min(block_number) as first_swap_block_number
    from ethereum.defi.ez_dex_swaps
    group by 1
    -- order by first_swap desc
    ),
    t as(
    select
    token_out as token_address,
    LISTAGG(DISTINCT symbol_out, ',') as token_name,
    count(DISTINCT(tx_hash)) as tx_num,
    sum(amount_in) as buy,
    min(block_number) as block_number,
    LISTAGG(distinct symbol_in, ',') as buy_in_token
    from ethereum.defi.ez_dex_swaps s
    right join new_tokens n
    on
    s.block_number = n.first_swap_block_number
    and
    s.token_out = n.tt
    where n.first_swap ::date >= current_date() - 30
    group by 1
    )
    -- select
    -- t.token_out, t.tx_num, t.buy, a.symbol_out
    -- from t
    -- LEFT join ethereum.defi.ez_dex_swaps a
    -- on t.token_out = a.token_out
    -- where t.tx_num >= 50 and t.buy >= 20
    -- order by t.tx_num desc
    -- LIMIT 2000
    Last run: about 1 year ago
    TOKEN_ADDRESS
    TOKEN_NAME
    TX_NUM
    BUY
    BLOCK_NUMBER
    BUY_IN_TOKEN
    1
    0x254fe97f1664ba729d029cf1cc9cb238e1cccc31CORN97114307.02929821719112747DAI
    2
    0x3e2324342bf5b8a1dca42915f0489497203d640eBARL1996134.38907942719098427DAI
    3
    0x15e6e0d4ebeac120f9a97e71faa6a0235b85ed12SAVM32312.30693069319037153WETH
    4
    0x1f0efa15e9cb7ea9596257da63fecc36ba469b30ANON18122.15299897719173466WETH
    5
    0xe3dbc4f88eaa632ddf9708732e2832eeaa6688abAIUS71115.37622772319223362WETH
    6
    0xfbcb5cbedeebcc55dcd136d34db1daaf74cf67e8ANIM1196.37821782219169685WETH
    7
    0xf30f0f076c42f6a94e74628f65fa2018a1002b34CHAD7289.68165853919192286WETH
    8
    0x43bf049f99f64928f5915e185f879ecc49f822a5XNEWS5284.63612093919086530WETH
    9
    0x40a7df3df8b56147b781353d379cb960120211d7MOBY1966.91287128719198734WETH
    10
    0xd7db52daa32b738ed55b23a487afd4daa0ad7e72QWIK11958.68030857919020508WETH
    11
    0xd5c02bb3e40494d4674778306da43a56138a383eO4046351.16237623819195642WETH
    12
    0xbcdcb2ff6bac5119533111eb5f8bbf6232f125c9Veil 4045947.5002970319214299WETH
    13
    0xe7468080c033ce50dd09a22ad1e58d1bda69e436YUMYUM2945.50495049519221037WETH
    14
    0x2c06ba9e7f0daccbc1f6a33ea67e85bb68fbee3aLENDS3541.3179950519182723WETH
    15
    0x811c94f62f571c710bbacd5cca59ad40ae8c9839SHAPE5739.97447766219222509WETH
    16
    0x9d6125a1a14744966461a21692450cf3a20fbd10ENGINE5531.06138613919185010WETH
    17
    0xf6443414b7b7dc77b2f633ac83395dbfac03f39dMILADY4042030.13297029719198013WETH
    18
    0x586ee5df24c5a426e42ed7ea6e3eb0f00a4a2256AMB7529.79166666719062724WETH
    19
    0xacf9bcf1e6dd45b57eaa7f59bfdb2bb477f8cf20RDADN4043028.46534653519214840WETH
    20
    0x7bbab7fb8a2ea079ae9dbbb68389c50da92aab12P4041828.30693069319199702WETH
    ...
    130
    11KB
    5s