SocioCryptoBridges ATOM to Cosmos Hub
    Updated 2023-06-24
    -- forked from Bridges to Neutron using Squid @ https://flipsidecrypto.xyz/edit/queries/4db57926-e181-4472-bbc9-1004e7b3a414

    SELECT date_trunc('hour',a.block_timestamp) as hour,
    source_chain,
    count(DISTINCT sender) as n_senders,
    count(DISTINCT tx_hash) as n_bridges,
    sum(amount*price) as vol
    FROM axelar.core.ez_satellite a
    LEFT JOIN osmosis.core.ez_prices b
    on a.token_symbol = b.symbol AND date_trunc('hour',a.block_timestamp) = b.recorded_hour
    WHERE destination_chain = 'cosmoshub'
    AND a.block_timestamp::date >= '2023-05-01'
    GROUP BY 1,2
    Run a query to Download Data