Rektopsy

Can you ask ChatGPT why your Solana transaction failed?

We gave a chatbot the raw logs of 25 real failed transactions. It got the cause right 88% of the time and put 8 numbers in its answers that weren't in the data.

· 2 min read

88% vs 100%: right cause: raw logs to a chatbot vs Rektopsy, 25 real txs

More people now paste errors into a chatbot before they search. For a failed transaction that's a reasonable instinct: the logs are dense, and a language model is good at turning dense text into plain words. We tested how well it works.

The test

We took 25 real failed (and a few successful) Solana mainnet transactions, with a known cause for each. We gave a capable open model (gpt-oss-120b) the raw error and logs and asked it to explain the cause, the fix, and whether funds were safe. Then we compared that with Rektopsy, which uses the same model only to turn facts already extracted by code into sentences.

What we found

  • Cause: the raw-logs approach was right 88% of the time; Rektopsy's pipeline 100%.
  • Numbers not in the data: 8 for the raw-logs approach. One was invented; seven were the model's own maths or rounding, correct but impossible to trace to the transaction. Rektopsy: 0.
  • Fix usefulness (scored 0 to 2): 1.04 versus 1.96. A typical raw answer said "try increasing slippage"; the pipeline gives the value and the rule behind it.
  • Speed: about 15 seconds versus about 3 seconds, median.

The full method and caveats are in our open-source repository: the cause labels come from the same logs the pipeline reads, and the fix scores were assigned by an AI assistant.

Why the gap

Explaining a failure needs two different skills. Finding the facts, such as which program failed first, what the minimum was and what the trade would have given, is exact work that code does reliably. Explaining them is what language models do well. Asking a model to do both from raw logs means trusting it with arithmetic and log parsing it wasn't built for.

If you do use a chatbot

  • Give it the program logs, not just the error message.
  • Check any number it gives you against the explorer.
  • Ignore any "fix" that involves a website, connecting your wallet, or your recovery phrase. People have been sent to phishing sites by AI-written answers and code.

Quick answers

Is ChatGPT accurate at explaining failed crypto transactions?

Partly. In our test of 25 real Solana transactions, a capable model reading raw logs got the cause right 88% of the time but included 8 numbers that couldn't be traced to the transaction.

How does Rektopsy avoid made-up numbers?

Code extracts every fact and computes every fix value. The language model only writes sentences, and any sentence containing a number not in the facts is rejected.

Sources

Why did my Solana transaction fail? The 6 usual causesPhantom says "transaction simulation failed". What now?"Slippage tolerance exceeded" on Solana: what it means and how to fix it