inspect_xdr
Decodes TransactionEnvelope XDR and audits it for account merges, signer/threshold changes, clawbacks, excessive fees, and Soroban host invocations to flag unsafe Stellar transactions before signing.
Instructions
Decode a TransactionEnvelope XDR and run a security/safety audit (detecting account merges, signer/threshold changes, clawbacks, excessive fees, and Soroban host invocations).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xdr": "<xdr>"
},
"name": "inspect_xdr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xdr | Yes | Base64-encoded TransactionEnvelope XDR | |
| network | No | Optional network override (defaults to configured STELLAR_NETWORK). |