davidwallUntitled Query
    Updated 2023-01-14
    --credit : https://app.flipsidecrypto.com/velocity/queries/67e5ab02-117f-45f2-91ac-6aca0da42471
    with swaptx as (
    select tx_hash,origin_from_address
    from ethereum.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp >= '2022-12-17'
    and tx_status = 'SUCCESS'


    union ALL

    select tx_hash,origin_from_address
    from arbitrum.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp >= '2022-12-17'
    and tx_status = 'SUCCESS'


    union ALL

    select tx_hash,origin_from_address
    from avalanche.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp >= '2022-12-17'
    and tx_status = 'SUCCESS'


    union ALL

    select tx_hash,origin_from_address
    from bsc.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp >= '2022-12-17'
    and tx_status = 'SUCCESS'


    Run a query to Download Data