Skip to main content

Documentation Index

Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Follow these steps to diagnose a failed Soroban transaction using the Prism CLI.
1

Identify a failed transaction

Find a transaction hash (tx_hash) that failed with a cryptic error like Error(Contract, #3).
2

Run the decode command

prism decode abc123def456... --network testnet
3

Review the diagnostic report

Prism will resolve the error and provide a clear explanation.
Diagnostic Report:
------------------
Error: InsufficientBalance (resolved from #3)
Contract: CD...123 (MyTokenContract)
Reason: The sender does not have enough XLM to complete the transfer.
Suggested Fix: Ensure the account has at least 10 XLM before retrying.

What’s Next?

Trace Execution

See exactly where the budget was spent.

Interactive Debugging

Set breakpoints and step through host calls.