Afonso_Diaz2023-04-27 01:33 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,
    amount as amount_usd
    from axelar.core.ez_squid
    where destination_chain in (select chain from t)
    and block_timestamp >= '2023-02-23'
    )

    select
    case
    when amount_usd < 10 then 'Less than 10$'
    when amount_usd <= 50 then '11$ - 50$'
    when amount_usd <= 100 then '51$ - 100$'
    when amount_usd <= 250 then '101$ - 250$'
    when amount_usd <= 500 then '251$ - 500$'
    Run a query to Download Data