nethermindnarutSol 2022Q1 - Tx Count and Active Addresses
    Updated 2023-02-15
    -- forked from 4903c820-7403-41ec-b196-55435f3b0d59

    -- forked from 074edd9b-3cee-4881-9168-44be8bed2a1f

    -- forked from fae933e2-109c-4000-bc8c-dced64820c00

    SELECT
    BLOCK_TIMESTAMP::DATE AS day,
    COUNT(DISTINCT TX_ID) AS solana_txs_per_day,
    COUNT(DISTINCT GET(GET(ACCOUNT_KEYS, 0), 'pubkey')) AS solana_activeaddrs_per_day
    FROM solana.core.fact_transactions
    WHERE BLOCK_TIMESTAMP >= '2022-01-01'
    AND BLOCK_TIMESTAMP < '2022-04-01'
    GROUP BY 1
    ORDER BY 1;
    Run a query to Download Data