Afonso_DiazBy Symbol and Type
    Updated 2025-05-19
    with

    tokens as (
    select
    case address
    when '0xe786314c7ee33bb45aaf72dd374d715da1c414e7' then 'swBTC'
    when '0xd557a21f78045380142a7bbccbca0fe3746a0787' then 'swBTC'
    when '0x6a9a65b84843f5fd4ac9a0471c4fc11afffbce4a' then 'enzoBTC'
    else symbol
    end as symbol,
    decimals,
    address as token_address
    from
    swell.core.dim_contracts
    ),

    pricet as (
    select
    hour::date as date,
    'pzETH' as symbol,
    avg(price) as token_price_usd
    from
    crosschain.price.ez_prices_hourly
    where
    blockchain = 'ethereum'
    and token_address = '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
    group by 1, 2

    union all

    select
    hour::date as date,
    'uBTC',
    avg(price) as token_price_usd
    from
    crosschain.price.ez_prices_hourly
    Last run: 30 days ago
    TYPE
    SYMBOL
    TRANSACTIONS
    USERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    1
    Bridge From SwellezETH2780210112539935.38056974510.768122507
    2
    Bridge From SwellpzETH60463867557.0605135164459.284341892
    3
    Bridge From SwelluBTC145584354377662.15021537372.963677124
    4
    Bridge To SwellezETH5033409314923925.23902322965.214631238
    5
    Bridge To SwellpzETH94648487086.5045971690288.154304225
    6
    Bridge To SwelluBTC157089263819494.706667240649.359685775
    6
    418B
    42s