mlhsuccess vs failure transactions in flow since 2022-01-01
    Updated 2022-06-06
    select
    date_trunc ('day',BLOCK_TIMESTAMP) as day,
    COUNT(case when tx_succeeded = 'false' then 'Fail' end) as failed_tx,
    COUNT(case when tx_succeeded = 'true' then 'Succeeded' end) as success_tx,
    success_tx/failed_tx as Rate
    from flow.core.fact_transactions
    where tx_succeeded is not null and block_timestamp :: date >= '2022-01-01'
    group by day
    order by 1
    Run a query to Download Data