Decode Transaction
sap_decode_transactionDecode serialized Solana transactions to obtain stable metadata before signing. Use when other tools return base64 or unsigned transactions.
Instructions
Decode a serialized Solana transaction and return stable transaction metadata. Use this before signing when a SAP MCP, Jupiter, MagicBlock, SNS, Metaplex, or DeFi tool returns transactionBase64 or an unsigned transaction.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sap_decode_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Input encoding | |
| transaction | No | Serialized transaction |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |