{"uid":"cap_xuL5NaESIYkI64UohFRxE","slug":"preflight-transaction-pre-sign-safety-checker-1ec8777a","name":"PreFlight Transaction Pre-Sign Safety Checker","description":"Pre-trade & pre-sign checks for autonomous agents: everything an agent verifies BEFORE signing a transaction — token due diligence, calldata red-flag decoding, oracle freshness, holder concentration, bridge routing with executable calldata, cross-venue perp funding, gas and price sanity checks. EVM chains: Ethereum, Base, Arbitrum, Optimism.","url":"https://meryol-agenticmarket-x402.hf.space/tx/explain","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["chain","to","data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x[0-9a-fA-F]+$"},"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"},"value":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["verdict","explanation"]}}}}},"responseSchema":{"type":"json","example":{"to":"0xabc...","chain":"base","notes":[],"verdict":"danger","selector":"0x095ea7b3","signature":"approve(address,uint256)","risk_flags":["unlimited_token_approval","approval_to_unverified_contract"],"explanation":"This grants type(uint256).max allowance on USDC to 0xabc... which is not source-verified. Common drainer pattern.","decoded_args":null,"what_it_does":"Approve unlimited USDC spend by an unverified router.","recommended_action":"decline"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BqIHy7rpl2Sn9xIueuCEJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes EVM transaction calldata before signing to detect risk flags, decode intent, and recommend whether to approve or decline","exampleAgentPrompt":"Before I sign this transaction, check if it's safe — it's an approve() call to 0xabc... on Base with calldata 0x095ea7b3... and I want to know the risk flags, what it actually does, and whether I should decline it.","exampleUseCases":[{"title":"Wallet security check before signing","prompt":"I'm about to sign a transaction on Ethereum but I'm not sure what it does. Can you decode the calldata and tell me if there are any red flags? The transaction is going to 0x68b3465833fb72B5A828cCEDA4284a1E6c7E19CA with data 0xa4d66daf and I want to know if it's safe to approve."},{"title":"Detect unlimited token approval drains","prompt":"My agent just flagged an approve() call to an unfamiliar contract address. Decode what's happening and check if this is an unlimited approval that could drain my tokens — I need the risk verdict and your recommendation on whether to sign it or not."},{"title":"Pre-trade safety check for bridge routing","prompt":"Before my agent executes this cross-chain swap on Arbitrum, run a pre-sign check on the calldata. I want to verify the bridge routing is legitimate, check for any phishing patterns, and get your verdict on whether this transaction is safe to submit."}],"resultDescription":"A JSON object containing the decoded function selector and signature, a plain-English explanation of what the transaction does, a list of specific risk flags (e.g. unlimited_token_approval, approval_to_unverified_contract), an overall verdict (e.g. 'danger'), a recommended action (e.g. 'decline'), and the target contract address and chain.","failureModes":["Unrecognized or non-standard calldata selector returns null decoded_args","Contract not verified on-chain yields limited context and higher uncertainty","Unsupported chain returns an error (only Ethereum, Base, Arbitrum, Optimism supported)","Malformed or truncated calldata may produce incomplete decoding","Rate limiting or payment failure returns HTTP 402 or 429"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to evaluate the safety of an EVM transaction BEFORE signing — especially for token approvals, bridge calls, or unfamiliar contract interactions. Prefer this over generic contract explorers when you need a structured risk verdict with actionable recommended_action and decoded argument context, not just ABI decoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:10.360Z","isFirstParty":false}