Skip to content
Fourohtwo

Use whenever a Solana transaction or simulation fails, before retrying

solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/explain_error

Use whenever a Solana transaction or simulation fails, before retrying. Retrying without understanding the error wastes fees. Turns a Solana error (hex code, log line or RPC error object) into a plain-language cause and fix. Works offline; no chain call.

SolanaAnswering
POSThttps://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/explain_error

Uptime100% of 3 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/explain_error" \
  -d '{"error":"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUJoi5QNyVTaV4 failed: custom program error: 0x1771","programId":"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUJoi5QNyVTaV4"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "error": "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUJoi5QNyVTaV4 failed: custom program error: 0x1771",
  "programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUJoi5QNyVTaV4"
}

More from Solana PulseProvider status