{"uid":"cap_LcjgTW4rRAxwEMBz20c4i","slug":"transaction-preflight-guard-56344b77","name":"Transaction Preflight Guard","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/txpreflight/guard?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"from":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"verdict":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"verdict":"caution","warnings":["allowance too low"]}},"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__kaXKXqWW2PFreuM7d8NB","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 an EVM transaction on Base and checks ERC-20 allowances, returning a safety verdict (ok/caution/blocked) before the user signs","exampleAgentPrompt":"Before I sign this transaction, can you preflight-check it on Base — the call is to contract 0xAbC...123 with calldata 0xdeadbeef, sent from my wallet 0x111...222 — and also check whether the spender 0xBBB...333 has an excessive allowance on token 0xTTT...444 that I own?","exampleUseCases":[{"title":"DeFi approval safety check","prompt":"I'm about to approve a DeFi protocol at 0xSPENDER...abc to spend my USDC token at 0xUSDC...def — can you check whether the spender already has an unlimited allowance on my wallet 0xMYWALLET...123 and flag any risks before I sign?"},{"title":"Smart contract call revert check","prompt":"I want to call contract 0xCONTRACT...999 on Base with this calldata 0xa9059cbb... from address 0xME...456 — can you simulate it and tell me if it would revert or if there are any warnings I should know about?"},{"title":"Wallet drainer detection","prompt":"Someone just sent me a transaction request to sign — it's calling 0xSUSPECT...777 with data 0x095ea7b3... from my address 0xMY...888 — can you run a preflight guard check to see if it's safe or if this looks like a drain attack?"}],"resultDescription":"Returns a JSON object with: 'ok' boolean, 'chain' (always 'base'), 'verdict' (ok/caution/blocked), 'safeToSign' boolean, human-readable 'summary', list of 'blockers' (hard stops), list of 'warnings' (soft concerns), 'allowance' details including human-readable amount and unlimited flag, and 'preflight' data including estimated gasUsed and wouldRevert boolean.","failureModes":["Invalid or malformed address fields return validation errors","Calldata that cannot be decoded may produce incomplete analysis","Network timeouts if Base RPC is congested","Missing required 'to' or 'from' fields cause request rejection","Allowance check skipped if token/owner/spender not provided"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet UI needs to protect a user before they sign an EVM transaction on Base — especially when ERC-20 approvals are involved and you want to catch unlimited allowances or reverting calls. Prefer this over generic blockchain RPCs because it combines simulation, allowance inspection, and a human-readable safety verdict in a single pay-per-call API with no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:38.394Z","isFirstParty":false,"canonicalSlug":"transaction-preflight-guard-56344b77"}