Afonso_Diaz2023-04-27 02:49 PM
    Updated 2023-04-27
    with
    t as (
    select t.chain
    from ((values
    ('assetmantle'),
    ('juno'),
    ('kujira'),
    ('comdex'),
    ('umee'),
    ('axelarnet'),
    ('stargaze'),
    ('agoric'),
    ('terra2'),
    ('osmosis'),
    ('crescent'),
    ('evmos'),
    ('secret')
    ) as t(chain)
    )),

    t4 as (
    select
    tx_hash,
    source_chain as chain,
    amount as amount_usd
    from axelar.core.ez_squid
    where destination_chain in (select chain from t)
    and block_timestamp >= '2023-02-23'
    )

    select
    chain,
    case
    when amount_usd < 10 then 'Less than 10$'
    when amount_usd <= 50 then '11$ - 50$'
    when amount_usd <= 100 then '51$ - 100$'
    Run a query to Download Data