{"uid":"cap_t2D1tGMO7o_M45OqK5fxO","slug":"x402-transaction-safety-guardrail-c44e9e17","name":"x402 Transaction Safety Guardrail","description":"Pre-sign safety verdict: one call decodes a pending transaction and checks sanctioned counterparties, unlimited-approval/drainer patterns, contract-vs-EOA, and whether it would revert — returning SAFE / CAUTION / DANGER with reasons. Send { chain, to, data, from?, value? }. The must-have guard every signing agent needs.","url":"https://x402-services-production.up.railway.app/api/safety/guardrail","method":"POST","headers":{},"bodySchema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"0x target address"},"data":{"type":"string","description":"0x calldata (default 0x)"},"from":{"type":"string","description":"0x sender (improves simulation)"},"chain":{"type":"string","description":"Chain, default base"},"value":{"type":"string","description":"Native value in wei"}}},"responseSchema":null,"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_NtG0ZqjtLfnWtwXNE2TmT","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":"Pre-signing safety check that decodes a pending EVM transaction and returns SAFE/CAUTION/DANGER with reasons, detecting sanctioned addresses, drainer patterns, unlimited approvals, and revert risk","exampleAgentPrompt":"Before I sign this transaction, check if it's safe — it's on Base, sending to 0xAbC123...def456 with calldata 0xa9059cbb...0001 from my wallet 0x1234...5678 with 0 value.","exampleUseCases":null,"resultDescription":"A JSON object containing a verdict of SAFE, CAUTION, or DANGER, accompanied by an array of human-readable reasons explaining the assessment — covering sanction hits, drainer or unlimited-approval patterns, EOA vs contract status, and whether the transaction would revert on simulation.","failureModes":["Missing required 'to' field returns validation error","Invalid hex address format causes parse error","Unknown or unsupported chain identifier may default to Base or return error","Simulation failure when 'from' is not provided may reduce accuracy","Contract not verified on chain may limit calldata decoding","RPC node unavailability on target chain causes timeout"],"whenToPreferThis":"Use this endpoint as the mandatory pre-signing guard for any AI agent or wallet that executes on-chain transactions — especially when interacting with unfamiliar contracts, token approvals, or DeFi protocols. Prefer it over generic on-chain data lookups when you specifically need a combined safety verdict that covers sanctions screening, drainer detection, and revert simulation in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:51.695Z","isFirstParty":false}