Updated 2024-04-06
    -- forked from Freeedom / wallet balance @ https://flipsidecrypto.xyz/Freeedom/q/xMpCaaDPmuoI/wallet-balance

    select
    block_timestamp,
    current_bal,
    bal_delta,
    block_number
    from
    balances_ethereum.erc20_latest
    where
    user_address = lower('{{wallet}}')
    and symbol = 'WETH'
    -- and (contract_address = NULL
    -- or contract_address = ''
    -- or contract_address = 'null')
    order by
    block_timestamp asc


    QueryRunArchived: QueryRun has been archived