mo115bebop transactions total
    Updated 2024-03-17
    -- forked from bebop transactions @ https://flipsidecrypto.xyz/edit/queries/12b6dd81-6425-4402-ab19-1c755d2fd1f1
    with txs as (
    SELECT
    FROM_ADDRESS,TX_HASH
    from polygon.core.ez_token_transfers
    WHERE ( to_address = '0x0087bb802d9c0e343f00510000729031ce00bf27'or to_address ='0xaf0b0000f0210d0f421f0009c72406703b50506b'or to_address ='0x00000000ae347930bd1e7b0f35588b92280f9e75')
    and (ORIGIN_TO_ADDRESS = '0xbeb09beb09e95e6febf0d6eeb1d0d46d1013cc3c' or ORIGIN_TO_ADDRESS = '0x29fbd00940df70cfc5dad3f2370686991e2bbf5c' or ORIGIN_TO_ADDRESS = '0xaf0b0000f0210d0f421f0009c72406703b50506b'or ORIGIN_TO_ADDRESS = '0x00000000ae347930bd1e7b0f35588b92280f9e75')

    union

    SELECT
    FROM_ADDRESS,TX_HASH
    from arbitrum.core.ez_token_transfers
    WHERE ( to_address = '0x0087bb802d9c0e343f00510000729031ce00bf27'or to_address ='0xaf0b0000f0210d0f421f0009c72406703b50506b'or to_address ='0x00000000ae347930bd1e7b0f35588b92280f9e75')
    and (ORIGIN_TO_ADDRESS = '0xbeb09beb09e95e6febf0d6eeb1d0d46d1013cc3c' or ORIGIN_TO_ADDRESS = '0x29fbd00940df70cfc5dad3f2370686991e2bbf5c' or ORIGIN_TO_ADDRESS = '0xaf0b0000f0210d0f421f0009c72406703b50506b'or ORIGIN_TO_ADDRESS = '0x00000000ae347930bd1e7b0f35588b92280f9e75')

    union

    SELECT
    FROM_ADDRESS,TX_HASH
    from ethereum.core.ez_token_transfers
    WHERE ( to_address = '0x0087bb802d9c0e343f00510000729031ce00bf27'or to_address ='0xaf0b0000f0210d0f421f0009c72406703b50506b'or to_address ='0x00000000ae347930bd1e7b0f35588b92280f9e75')
    and (ORIGIN_TO_ADDRESS = '0xbeb09beb09e95e6febf0d6eeb1d0d46d1013cc3c' or ORIGIN_TO_ADDRESS = '0x29fbd00940df70cfc5dad3f2370686991e2bbf5c' or ORIGIN_TO_ADDRESS = '0xaf0b0000f0210d0f421f0009c72406703b50506b'or ORIGIN_TO_ADDRESS = '0x00000000ae347930bd1e7b0f35588b92280f9e75')

    )
    select count (distinct FROM_ADDRESS ) as wallets ,count (distinct TX_HASH) as transactions
    from txs

    QueryRunArchived: QueryRun has been archived