hbd1994Daily Deposits and Withdrawals
    Updated 2023-10-29
    with USDC_prices as (
    select
    hour,
    case
    when symbol = 'USDC' then 'USDbC'
    end as symbol,
    avg(price) as price
    from ethereum.price.ez_hourly_token_prices
    where symbol in ('USDC')
    and hour >= '2023-08-22'
    group by 1,2),

    WETH_prices as (
    select
    hour,
    case
    when symbol = 'WETH' then 'WETH'
    end as symbol,
    price
    from ethereum.price.ez_hourly_token_prices
    where symbol in ('WETH')
    and hour >= '2023-08-22'),

    cbETH_prices as (
    select
    hour,
    case
    when symbol = 'cbETH' then 'cbETH'
    end as symbol,
    price
    from ethereum.price.ez_hourly_token_prices
    where symbol in ('cbETH')
    and hour >= '2023-08-22')

    (select
    date(block_timestamp) as "Date",
    Run a query to Download Data