{"uid":"cap_ebAcllbNr2N5o0yhhMP9F","slug":"kushbitx-agentproof-transaction-preflight-risk-screening-13f5b45f","name":"KushBitx AgentProof — Transaction Preflight & Risk Screening","description":"Free protected spending policies for AI agents, plus pay-per-call Base transaction preflight, token risk and USDC payment verification. JavaScript SDK available on npm.","url":"https://kushbitx.com/api/transaction-preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Transaction destination."},"data":{"type":"string","pattern":"^0x([a-fA-F0-9]{2})*$","description":"Unsigned calldata."},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional sender used for simulation."},"chain":{"enum":["base"],"type":"string"},"valueWei":{"type":"string","pattern":"^[0-9]+$","description":"Native ETH value in wei."}}},"responseSchema":{"type":"json","example":{"verdict":{"score":0,"decision":"ALLOW","confidence":"high"},"findings":[],"simulation":{},"destination":{}}},"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_nf8sZ5tVkGbBWKKP4aAjy","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":"Screens a Base blockchain transaction for token risks and simulates execution before an AI agent or user submits payment, returning a safety verdict.","exampleAgentPrompt":"Before you send that 0.05 ETH to 0xAbC123...def on Base, run a preflight risk check on the calldata 0xd0e30c0b and tell me if it's safe to proceed.","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"I'm about to do a token swap on Base — the destination is 0x1234...abcd and the calldata is 0xa9059cbb...0001. Can you screen this transaction for token risks and tell me if it's safe before I sign?"},{"title":"AI agent payment guard","prompt":"My agent is about to pay 0.1 ETH to 0xDeAdBeEf...9900 on Base as part of an automated workflow. Run a preflight simulation and risk score on it first — only proceed if the verdict is ALLOW."},{"title":"Unknown contract interaction review","prompt":"I found this contract at 0xFeeD...C0de on Base and want to call it with data 0x12345678. Before I do anything, can you simulate the transaction and check if there are any red flags or risks?"}],"resultDescription":"Returns a JSON object with a verdict containing a numeric risk score, a decision (e.g. ALLOW or BLOCK), and a confidence level (e.g. high/medium/low), plus a findings array listing specific risk signals, a simulation object with execution results, and a destination object with metadata about the target address.","failureModes":["Invalid Ethereum address format returns a validation error","Malformed or non-hex calldata rejected with schema error","Unsupported chain (non-Base) returns an enum validation error","Transaction simulation failure due to insufficient gas or reverted call","Destination contract unverified or unavailable on-chain may reduce confidence","Network or RPC timeout returns a service error"],"whenToPreferThis":"Use this endpoint when an AI agent or automated system needs to verify the safety of a Base blockchain transaction before executing it — especially when dealing with unknown contract addresses, user-submitted calldata, or autonomous payment flows where a bad transaction could cause financial loss. Prefer this over generic block explorers when you need a machine-readable risk verdict with confidence scoring and simulation results in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:39.904Z","isFirstParty":false,"canonicalSlug":"kushbitx-agentproof-transaction-preflight-risk-screening-13f5b45f"}