{"uid":"cap_ln6YHzX0Tjd1n6h9Xh9R8","slug":"scanpay-blockchain-transaction-preflight-security-scanner-8d0b404c","name":"ScanPay — Blockchain Transaction Preflight Security Scanner","description":"Deterministic AST code security scanner with x402 Solana micropayments, remote MCP, and ERC-8183 Evaluator oracle.","url":"https://scanpay-ob3w.onrender.com/api/v1/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_6QAJ62FQJRc8IFH2znsNJ","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 risk findings and an allow/deny execution gate verdict.","exampleAgentPrompt":"Before I send this Base transaction — to address 0xABC...123 with this calldata — can you run a ScanPay preflight simulation to check for security risks and tell me whether it's safe to broadcast?","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"I'm about to send a token swap transaction on Base — the 'to' address is 0xDEF...456 and here's the calldata. Can you run a preflight security scan on it and tell me the risk score before I broadcast?"},{"title":"Solana program call validation","prompt":"I have a set of Solana instructions I want to submit — can you simulate them through ScanPay's security oracle to check for any findings and confirm I have a green light to execute?"},{"title":"Smart contract interaction pre-check","prompt":"Before my agent submits this Ethereum transaction calling a new DeFi protocol, run a security preflight on it — I need to know the verdict and whether there are any high-risk findings in the calldata."}],"resultDescription":"Returns a JSON object with a 'findings' array listing any detected security issues, and an 'execution_gate' object containing a verdict ('ALLOW' or 'DENY'), a numeric risk_score, and an allow_broadcast boolean indicating whether it's safe to proceed.","failureModes":["Missing required 'tx' or 'chain' fields returns a validation error","Unsupported chain value (not 'base', 'ethereum', or 'solana') causes rejection","Malformed transaction object structure returns a parse error","Payment failure via x402 micropayment protocol blocks the request","Service unavailability on the Render-hosted instance may cause timeouts"],"whenToPreferThis":"Use this endpoint when an AI agent or autonomous system needs a deterministic, oracle-backed security verdict on a blockchain transaction before broadcasting — especially in automated DeFi workflows where human review is absent. It is particularly valuable for multi-chain agents operating on Base, Ethereum, or Solana that need a programmatic go/no-go signal with a structured risk score rather than a heuristic guess.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:49.824Z","isFirstParty":false,"canonicalSlug":"scanpay-blockchain-transaction-preflight-security-scanner-8d0b404c"}