adriaparcerisasSunloan deposits: all
    Updated 2023-10-10
    with
    eth_data as (
    select
    'ETH' as symbol,
    amount,
    amount_usd,
    block_timestamp
    from ethereum.core.ez_eth_transfers
    where eth_to_address = lower('0xEF0B56692F78A44CF4034b07F80204757c31Bcc9')
    -- 0xd75233704795206de38Cc58B77a1f660B5C60896
    UNION
    select
    symbol,
    amount,
    amount_usd,
    block_timestamp
    from ethereum.core.ez_token_transfers
    where to_address = lower('0xEF0B56692F78A44CF4034b07F80204757c31Bcc9')
    ),
    eth as (
    SELECT
    symbol as "Symbol",
    amount as "Amount in native tokens",
    amount_usd as "USD equivalent amount",
    block_timestamp as "Date time"
    from eth_data where amount_usd is not NULL
    and amount<1e9
    --and symbol in (select symbol from ethereum.price.ez_hourly_token_prices)
    order by 4 desc

    ),
    poly_data as (
    select
    'MATIC' as symbol,
    amount,
    amount_usd,
    Run a query to Download Data