TxWhy
v0.2.0Failed Solana transaction in, working transaction out. Exact cause, rebuilt tx, verifiable repair.
Endpoint health
online- Last checked
- 11/25/2026, 10:17:34 AM
- Latency
- 1633 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.SUNDRAM07%2Ftxwhy
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.SUNDRAM07/txwhy": {
"url": "https://txwhy.vercel.app/api/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
3 shown · authentication unknown
Diagnose a failed Solana transaction
diagnose_transaction
Explains why a transaction that landed on mainnet failed: the exact failing instruction in the call tree, the named error, its cause, and how to fix it. Read-only and fast. Use repair_transaction when you want a working transaction back.
Schema valid · SHA-256 2f639e80c32b…
View input schema
{ "type": "object", "properties": { "signature": { "type": "string", "description": "Transaction signature or explorer URL." } }, "required": [ "signature" ], "$schema": "https://json-schema.org/draft/2020-12/schema" }Explain a Solana program error code
explain_error
Looks up what a custom program error code means for a given program, using 1,800+ named errors from major Solana programs plus the runtime's own errors. Use it when you only have a code such as 6001 or 0x1771 from a simulation or an RPC response.
Schema valid · SHA-256 467ef754322e…
View input schema
{ "type": "object", "properties": { "programId": { "type": "string", "description": "Base58 address of the program that raised the error." }, "code": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "string" } ], "description": "Error code as a number, or a hex string like 0x1771." } }, "required": [ "programId", "code" ], "$schema": "https://json-schema.org/draft/2020-12/schema" }
Connections
streamable-http
https://txwhy.vercel.app/api/mcp