SniperTop 10 wallets by volumr of outflow Arbitrum via Axelar bridge
    Updated 2023-04-08
    -- forked from Top 10 wallets by volumr of inflow Arbitrum via Axelar bridge @ https://flipsidecrypto.xyz/edit/queries/8c9290e7-47f2-4e31-9af8-efbf38950659

    WITH prices AS
    (
    SELECT
    HOUR::date as hourly_price,
    symbol,
    TOKEN_ADDRESS,
    AVG(PRICE) as usd_price
    FROM
    ethereum.core.fact_hourly_token_prices
    where TOKEN_ADDRESS in (lower('0x467719aD09025FcC6cF6F8311755809d45a5E5f3'),
    lower('0x6B175474E89094C44Da98b954EedeAC495271d0F'),
    lower('0x853d955aCEf822Db058eb8505911ED77F175b99e'),
    lower('0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'),
    lower('0xdAC17F958D2ee523a2206206994597C13D831ec7'))

    GROUP BY 1, 2,3

    UNION ALL

    SELECT
    RECORDED_HOUR::date,
    SYMBOL,
    CURRENCY as TOKEN_ADDRESS,
    AVG(PRICE) as usd_price
    FROM
    osmosis.core.ez_prices
    WHERE
    SYMBOL = 'axlATOM'
    GROUP BY 1, 2,3
    ),

    clime_airdrop as (
    SELECT
    FROM_ADDRESS as climer
    Run a query to Download Data