{"uid":"cap_o06NipE9QlvGsl4Xa8jYV","slug":"paypi-solana-transaction-simulator-213080d7","name":"paypi Solana Transaction Simulator","description":"x402-paid Solana capabilities: transaction decode, simulation, security scan, program explain, and Kamino liquidation risk. Pay per request in USDC.","url":"https://pay.ansht.tech/v1/simulate","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["tx"],"properties":{"tx":{"type":"string"},"cluster":{"type":"string"},"accounts":{}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":false,"err":{"InstructionError":[0,"Custom"]},"logs":[],"failureReason":"insufficient funds","unitsConsumed":4512}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fACDBXSevk74H2sZ_eQbT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates a Solana transaction to preview execution results, compute units consumed, failure reasons, and program logs before broadcasting.","exampleAgentPrompt":"Can you simulate this Solana transaction for me before I send it — the base64 tx is 'AQAAAAAAAAAAAABhcmVhbGJhc2U2NHR4...' — I want to know if it'll succeed, how many compute units it uses, and see any program logs.","exampleUseCases":[{"title":"Pre-flight check before token swap","prompt":"Before I execute this Jupiter swap transaction, simulate it first and tell me if it'll go through or fail — here's the base64-encoded tx: 'AQAAAAA...swap...' — I need to see the logs and how many compute units it'll consume."},{"title":"Debug failing DeFi transaction","prompt":"My Solana transaction keeps failing and I don't know why. Can you simulate this tx 'AQAAAAAxyz...' on mainnet and tell me the failure reason and any error codes so I can figure out what's wrong?"},{"title":"Compute unit estimation for fee optimization","prompt":"I'm building a Solana program and want to know how many compute units this instruction uses — simulate this transaction 'AQAAAABabc...' and give me the unitsConsumed so I can set the right compute budget."}],"resultDescription":"Returns a JSON object indicating whether the simulation succeeded (ok: true/false), an error object with InstructionError details if it failed, program execution logs, the human-readable failure reason (e.g. 'insufficient funds'), and the number of compute units consumed.","failureModes":["Invalid or malformed base64 transaction — returns parse error","Transaction references accounts that don't exist on the chosen cluster","Simulation itself errors due to missing blockhash or expired transaction","Payment not included or insufficient — x402 payment required before response","Cluster value not recognized — defaults or errors depending on implementation"],"whenToPreferThis":"Use this endpoint when you need to dry-run a Solana transaction before broadcasting it — particularly useful for debugging failures, estimating compute units, previewing DeFi instruction outcomes, or validating a transaction built programmatically. Prefer this over on-chain submission when you want zero-cost, zero-risk transaction previewing with detailed logs and error introspection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:35:32.168Z","isFirstParty":false}