StangFASTOverall of users' activities on Avalanche chain
    Updated 2023-05-27
    -- forked from 03 - @ https://flipsidecrypto.xyz/edit/queries/d202861e-359c-4705-b461-7d7caca134cc

    -- forked from 02 - @ https://flipsidecrypto.xyz/edit/queries/bfe61d83-1170-4bb1-a252-1ac7b9ad3fda

    -- forked from 01 - @ https://flipsidecrypto.xyz/edit/queries/c8f77ab4-6594-4441-8003-68f0fe4abc1b

    -- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/f04b6de2-8afc-4024-936e-662d8b44ae69

    -- forked from 02 @ https://flipsidecrypto.xyz/edit/queries/476d368e-4f5a-4b8c-bf32-996e2bcd6761

    -- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/9ca44268-9d38-4372-86b0-d145ddd26dd3

    with

    ava_price AS
    (
    SELECT
    date_trunc( 'day' , a.hour ) AS day
    , avg( a.price ) AS price_usd
    FROM
    avalanche.core.fact_hourly_token_prices a
    WHERE
    a.symbol = 'WAVAX'
    GROUP BY
    1
    ORDER BY
    1 DESC
    )
    ,
    final AS
    (
    SELECT
    b.project_name AS projects
    , b.label_type AS type
    , count( DISTINCT a.from_address ) AS users
    , count( DISTINCT a.tx_hash ) AS transactions
    Run a query to Download Data