Firewall-check an unsigned transaction
check_transactionDecode a serialized Solana transaction (legacy or v0) and check its top-level instructions against a policy: lamport outflow cap, rent floor, program allowlist, authority changes, upgrades, approvals and durable nonces. CPI inner instructions are not simulated and address lookup tables are never fetched over RPC (pass them in addressLookupTables), so prefer the local stdio server for transactions you have not signed.
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": {
"transaction": "<transaction>"
},
"name": "check_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | Overrides of the default firewall policy; omitted fields keep their defaults. | |
| signer | No | ||
| encoding | No | ||
| transaction | Yes | ||
| trackedAccounts | No | ||
| addressLookupTables | No | ||
| signerBalanceLamports | No |