simulate_transaction
Find out whether your transaction will succeed before you pay for it. Simulates on mainnet and returns the decoded error (translated to plain language), logs, compute units consumed, and expected account changes. Use before submitting any unfamiliar or high-value transaction. Never sends — simulation only. $0.01 per call in USDC on Solana.
transaction_base64: base64-encoded signed or unsigned Solana transaction
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_base64": "<transaction_base64>"
},
"name": "simulate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_base64 | Yes |