{"uid":"cap_ebAcllbNr2N5o0yhhMP9F","slug":"kushbitx-agentproof-transaction-preflight-risk-screening-13f5b45f","name":"KushBitx AgentProof — Transaction Preflight & Risk Screening","description":"Simulation Check: simulate one unsigned Base transaction (eth_call and gas estimate), decode transfers, approvals and setApprovalForAll, and flag unlimited approvals, non-contract targets, the zero address, reverts and destination risk labels. Returns ALLOW, WARN, BLOCK or INCOMPLETE. For one ALLOW, REVIEW or BLOCK verdict before signing (effects, intended recipient, token, batches, signed verdict) use KushBitx Preflight: /api/preflight.","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":{"chain":"base","intent":{"type":"erc20_transfer","selector":"0xa9059cbb"},"sources":[{"methods":["eth_getCode","eth_call","eth_estimateGas"],"provider":"Base RPC"},{"provider":"GoPlus Address Security","available":true}],"verdict":{"score":0,"summary":"No blocking signal was detected by the completed checks.","decision":"ALLOW","confidence":"high"},"findings":[],"simulation":{"success":true,"gasError":null,"attempted":true,"callError":null,"returnData":"0x0000000000000000000000000000000000000000000000000000000000000001","gasEstimate":"45427"},"destination":{"type":"contract","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","balanceWei":"9800646158085843","bytecodeBytes":1852,"externalRiskSignals":[],"externalRiskCheckAvailable":true},"generatedAt":"2026-10-25T13:15:57.104Z","limitations":["Simulation uses current chain state and cannot guarantee future execution.","No private key or signed transaction is requested or stored.","Automated screening is not a smart-contract audit."],"transaction":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","data":"0xa9059cbb000000000000000000000000d2db751a2fdba554706fb535438d81d3a0b4297900000000000000000000000000000000000000000000000000000000000003e8","from":"0x0d68028d06af13379C872FEE032568B4Be712f22","valueWei":"0"},"reportVersion":"1.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nf8sZ5tVkGbBWKKP4aAjy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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-11-29T12:30:34.348Z","isFirstParty":false,"canonicalSlug":"kushbitx-agentproof-transaction-preflight-risk-screening-13f5b45f"}