{"uid":"cap__AlQ_czYB6EV5PL6oug8K","slug":"solmachina-transaction-simulator-16551bc3","name":"SolMachina Transaction Simulator","description":"Before an AI agent executes on Solana, it asks SolMachina: risk + a decision (EXECUTE/REVIEW/REJECT) + an SMRI score + a signed receipt, paid per call over x402 in USDC. Trust-first — cites every source, says 'unknown' over guessing. No account, no API key.","url":"https://api.solmachina.com/v1/simulate","method":"GET","headers":{},"bodySchema":{"type":"object","required":["tx"],"properties":{"tx":{"type":"string","description":"Base64-encoded serialized Solana transaction to dry-run."}}},"responseSchema":{"type":"object","properties":{"err":{},"note":{"type":"string"},"willSucceed":{"type":"boolean"},"unitsConsumed":{"type":"integer"},"accountsTouched":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QB1gRIfIETEyL2ifHPc4V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Dry-runs a serialized Solana transaction and returns a success prediction, compute units consumed, accounts touched, and any error details — without broadcasting to the chain.","exampleAgentPrompt":"Before I submit this Solana transaction, simulate it and tell me whether it will succeed, how many compute units it'll use, and which accounts it touches — here's the base64-encoded tx: [base64tx].","exampleUseCases":[{"title":"Pre-flight DeFi swap safety check","prompt":"I'm about to execute a Jupiter swap on Solana — can you dry-run this base64 transaction first and tell me if it will succeed, how many compute units it needs, and whether any unexpected accounts get touched?"},{"title":"Debug a failing Solana transaction","prompt":"My Solana transaction keeps getting rejected on-chain. Here's the base64-encoded tx — can you simulate it and tell me exactly what error it hits and why it fails?"},{"title":"Estimate compute budget before sending","prompt":"I need to set the right compute unit limit for this Solana transaction before I broadcast it. Can you simulate this base64 tx and tell me how many units it actually consumes?"}],"resultDescription":"Returns a JSON object indicating whether the transaction would succeed (willSucceed boolean), compute units consumed (unitsConsumed integer), number of accounts touched (accountsTouched integer), any simulation error (err field, null on success), and an optional human-readable note about the simulation result.","failureModes":["Invalid or malformed base64 encoding returns a parse error","Transaction references accounts or programs that don't exist on-chain, causing simulation failure","Expired blockhash causes simulation to fail with a blockhash-not-found error","Insufficient funds in simulated fee payer account triggers an error","Network or RPC availability issues may return a timeout or 5xx response","Payment failure via x402/USDC results in 402 Payment Required before simulation runs"],"whenToPreferThis":"Use SolMachina's simulate endpoint when an AI agent needs to pre-flight check a Solana transaction before committing it on-chain — particularly for DeFi operations, smart contract calls, or any scenario where transaction failure would have financial consequences. Prefer this over on-chain simulation RPCs when you want a structured, agent-friendly JSON response with success prediction and compute cost in a single pay-per-call model requiring no API key or account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:26.444Z","isFirstParty":false}