davidwallUntitled Query
    Updated 2023-01-14
    --credit : https://app.flipsidecrypto.com/velocity/queries/3675b7e2-67d4-4d44-8b27-70dd0937093b
    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