par_rnStellar 02
    Updated 2025-02-18
    WITH TransactionSummary AS (
    SELECT
    COUNT(*) AS total_transactions
    FROM stellar.core.fact_transactions
    ),
    FeeSummary AS (
    SELECT
    SUM(FEE_CHARGED / POWER(10,7)) AS total_fees,
    AVG(FEE_CHARGED / POWER(10,7)) AS avg_fee,
    MAX(FEE_CHARGED / POWER(10,7)) AS max_fee
    FROM stellar.core.fact_transactions
    ),
    MonthlyTransactionCount AS (
    SELECT
    DATE_TRUNC('month', BLOCK_TIMESTAMP) AS transaction_date,
    COUNT(*) AS transaction_count
    FROM stellar.core.fact_transactions
    GROUP BY transaction_date
    ORDER BY transaction_date DESC
    ),
    TopAccounts AS (
    SELECT
    ACCOUNT,
    COUNT(*) AS transaction_count
    FROM stellar.core.fact_transactions
    GROUP BY ACCOUNT
    ORDER BY transaction_count DESC
    LIMIT 10
    ),
    MonthlyUsersSummary AS (
    SELECT
    DATE_TRUNC('month', BLOCK_TIMESTAMP) AS transaction_date,
    COUNT(DISTINCT ACCOUNT) AS users_count
    FROM stellar.core.fact_transactions
    GROUP BY transaction_date
    ORDER BY transaction_date DESC
    Last run: 27 days ago
    TRANSACTION_DATE
    TRANSACTION_COUNT
    TOTAL_FEES
    USERS_COUNT
    1
    2025-01-01 00:00:00.00015085571694922.823082069408001
    2
    2024-12-01 00:00:00.00015440354473411.140536285464830
    3
    2024-09-01 00:00:00.00012708259330688.986770499381926
    4
    2024-07-01 00:00:00.00012462477255495.0421437211749
    5
    2024-05-01 00:00:00.00014213446666278.961110199223879
    6
    2024-03-01 00:00:00.000183204106108526.505671284273062
    7
    2025-02-01 00:00:00.0007708328943106.754722766251510
    8
    2024-11-01 00:00:00.00015117934694345.575390171555344
    9
    2024-10-01 00:00:00.00012049972537466.146505298242155
    10
    2024-08-01 00:00:00.00013380021652537.584441399220381
    11
    2024-06-01 00:00:00.00011557371660221.212873699216302
    12
    2024-04-01 00:00:00.00014573221268685.485490798226093
    13
    2024-02-01 00:00:00.00014737905074833.930840392271804
    14
    2024-01-01 00:00:00.00013012106754921.017921099279592
    14
    853B
    72s