{"uid":"cap_cedQqrzLe0kWl7mYDHXvU","slug":"100btc-preflight-transaction-safety-check-20e3e12e","name":"100BTC Preflight Transaction Safety Check","description":"Thirty x402 v2 pay-per-call APIs by 100BTC. Listing data is generated from each live HTTP 402 challenge and runtime Bazaar schema.","url":"https://vps-fc89c157-1.taila28d02.ts.net:10000/api/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string"},"value":{"type":"string"},"chain_id":{"type":"integer"},"to_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"from_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}},"responseSchema":{"type":"json","example":{"reasons":["Simulation passed, no malicious proxy patterns or unlimited allowance detected."],"decision":"ALLOW","risk_score":0,"simulation":{"success":true},"estimated_gas":31535}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_02bdmbZUgOTG_lZmPQuMl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates and analyzes an EVM transaction before execution to detect malicious proxy patterns, unlimited allowances, and estimate gas costs","exampleAgentPrompt":"Before I sign this transaction, can you run a preflight safety check on it? The calldata is 0xa9059cbb000000000000000000000000abcdef1234567890abcdef1234567890abcdef12, sending from 0x1234567890abcdef1234567890abcdef12345678 to 0xabcdef1234567890abcdef1234567890abcdef12 on chain 1 — I want to know if there are any malicious proxy patterns or unlimited allowances, the risk score, and the estimated gas.","exampleUseCases":[{"title":"DeFi approval safety screen","prompt":"I'm about to approve a new DeFi protocol to spend my USDC — the contract is 0xabcdef1234567890abcdef1234567890abcdef12, I'm on Ethereum mainnet (chain 1), and my wallet is 0x1234567890abcdef1234567890abcdef12345678. Can you simulate the transaction and tell me if it's setting an unlimited allowance or doing anything sketchy?"},{"title":"Pre-sign NFT contract check","prompt":"Before I mint from this NFT contract, run a preflight check on the transaction — calldata is 0x6a627842000000000000000000000000abcdef1234567890abcdef1234567890abcdef12, from 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef to 0x1234567890123456789012345678901234567890 on Base (chain 8453). What's the risk score and will the simulation pass?"},{"title":"Agent wallet transaction guard","prompt":"My AI agent is about to execute a swap transaction — data is 0x38ed1739, from 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa to 0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb on Polygon (chain 137). Run a safety preflight and tell me the decision and estimated gas before it proceeds."}],"resultDescription":"Returns a JSON object with a decision field (ALLOW or DENY), a numeric risk_score (0 = no risk), an array of human-readable reasons explaining the assessment, a simulation object indicating whether the transaction simulation succeeded, and an estimated_gas value for the transaction.","failureModes":["Invalid Ethereum address format returns validation error","Unsupported chain_id results in simulation failure","Malformed calldata causes simulation to fail with error","Network unreachable on target RPC results in timeout","Missing required fields returns 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) pre-execution safety check on an EVM transaction — especially useful before signing approve() calls, interacting with unknown contracts, or when an AI agent needs automated go/no-go decisions. Prefer this over manual inspection when you need automated detection of malicious proxy patterns and unlimited allowance risks with gas estimation in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:12:04.134Z","isFirstParty":false,"canonicalSlug":"100btc-preflight-transaction-safety-check-20e3e12e"}