SocioCryptoAvg tps over time Terra
    Updated 2023-04-13
    SELECT date_trunc('week',block_timestamp) as date,
    count(DISTINCT tx_id)/(3600*24) as TPS
    FROM terra.core.fact_transactions
    WHERE tx_succeeded = 'TRUE'
    AND date<=CURRENT_DATE-1
    GROUP by date
    ORDER by date DESC
    Run a query to Download Data