KeyrockAVG Tx Per Wallet
    Updated 2024-05-30
    WITH total_wallet AS (
    SELECT
    COUNT(DISTINCT tx_from) AS tot_wallet
    FROM
    sei.core.fact_transactions
    WHERE
    TX_SUCCEEDED = TRUE
    ),
    total_transactions AS (
    SELECT
    COUNT(DISTINCT FACT_TRANSACTIONS_ID) AS tot_transaction
    FROM
    sei.core.fact_transactions
    )
    SELECT
    tot_transaction / tot_wallet AS avg_tx_per_wallet
    FROM
    total_wallet,
    total_transactions;
    QueryRunArchived: QueryRun has been archived