hessTotal GMP users
    Updated 2023-03-03
    --Credit to https://flipsidecrypto.xyz/jackguy/q/2023-02-27-03-09-pm-iw6gfG
    SELECT
    date_trunc('week', block_timestamp) as date,
    'ethereum' as event_type,
    count(*) as events,
    count(DISTINCT origin_from_address) as users
    FROM ethereum.core.ez_eth_transfers
    WHERE ETH_TO_ADDRESS LIKE lower('0x2d5d7d31F671F86C782533cc367F14109a082712')
    and block_timestamp >= '2022-10-01'
    GROUP BY 1,2

    UNION
    SELECT
    date_trunc('week', block_timestamp) as date,
    'polygon' as event_type,
    count(*) as events,
    count(DISTINCT origin_from_address) as users
    FROM polygon.core.ez_matic_transfers
    WHERE MATIC_TO_ADDRESS LIKE lower('0x2d5d7d31F671F86C782533cc367F14109a082712')
    and block_timestamp >= '2022-10-01'
    GROUP BY 1,2

    UNION

    SELECT
    date_trunc('week', block_timestamp) as date,
    'bsc' as event_type,
    count(*) as events,
    count(DISTINCT origin_from_address) as users
    FROM bsc.core.ez_bnb_transfers
    WHERE BNB_TO_ADDRESS LIKE lower('0x2d5d7d31F671F86C782533cc367F14109a082712')
    and block_timestamp >= '2022-10-01'
    GROUP BY 1,2
    Run a query to Download Data