{"uid":"cap_-SK_eqTibdYT4MWnkMZfD","slug":"scanpay-transaction-preflight-simulator-ec25bc86","name":"ScanPay Transaction Preflight Simulator","description":"Deterministic AST code security scanner with x402 Solana micropayments, remote MCP, and ERC-8183 Evaluator oracle.","url":"https://scanpay-ob3w.onrender.com/v2/preflight/simulate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["tx","chain"],"properties":{"tx":{"type":"object","description":"Transaction object ({to, data, value} or {instructions})"},"chain":{"type":"string","description":"Target chain: 'base', 'ethereum', or 'solana'"}}},"responseSchema":{"type":"json","example":{"findings":[],"execution_gate":{"verdict":"ALLOW","risk_score":0,"allow_broadcast":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IjLfigE0Pycqwtp87OmDG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates and security-scans a blockchain transaction before broadcast, returning a risk verdict and findings for Base, Ethereum, or Solana chains","exampleAgentPrompt":"Before I broadcast this transaction on Base — it calls contract 0xabc with this data payload — run it through ScanPay's preflight simulator and tell me the risk score and whether it's safe to send.","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"I'm about to approve a token swap on Ethereum — here's the transaction object with the contract address and calldata. Can you run a preflight security scan and tell me if there are any findings or if the verdict is ALLOW?"},{"title":"Solana instruction audit before signing","prompt":"I have a set of Solana instructions from a dApp I don't fully trust. Simulate them through the security scanner and tell me the risk score before I sign anything."},{"title":"Agent auto-gating risky transactions","prompt":"My agent is about to broadcast a Base transaction on my behalf — check it against the preflight oracle first and only proceed if the allow_broadcast flag comes back true and the risk score is zero."}],"resultDescription":"A JSON object containing a list of security findings (empty if none), an execution_gate object with a verdict string (ALLOW or DENY), a numeric risk_score, and a boolean allow_broadcast indicating whether the transaction is safe to broadcast.","failureModes":["Missing required 'tx' or 'chain' field returns a validation error","Unsupported chain value returns an error (only 'base', 'ethereum', 'solana' accepted)","Malformed transaction object may result in simulation failure or partial analysis","Payment not included or insufficient USDC triggers 402 payment required response","Service unavailable on Render cold-start may cause timeout or 502 error"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs a deterministic, pre-broadcast safety gate for blockchain transactions on Base, Ethereum, or Solana. It is especially valuable when automating transactions where a human is not reviewing the calldata in real time, or when interacting with unfamiliar smart contracts. Prefer this over generic RPC simulation when you need an explicit security verdict and risk score, not just execution trace output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:19.361Z","isFirstParty":false,"canonicalSlug":"scanpay-transaction-preflight-simulator-ec25bc86"}