KARTODTransaction breakdown according to success/failour - 24 Hours
    Updated 2023-03-14
    select
    case
    when SUCCEEDED = TRUE then 'Successful Transactions'
    when SUCCEEDED = FALSE then 'Failed Transactions'
    else null
    end as Status,
    COUNT(DISTINCT TX_ID) AS "Swaps"
    from solana.core.fact_swaps
    where ( SWAP_PROGRAM = 'raydium v4')
    and BLOCK_TIMESTAMP >= CURRENT_DATE() - interval '24 hour'
    GROUP BY 1
    Run a query to Download Data