{"uid":"cap_yTuj8W1CS3AaALkYBxTWy","slug":"blocknotify-transaction-safety-analyzer-86c513f6","name":"BlockNotify Transaction Safety Analyzer","description":"Transaction safety analysis for EVM wallets and AI agents. Simulates a transaction, detects approval abuse, suspicious contracts, and failure conditions, then returns an allow, warn, or block decision before execution.","url":"https://x402.blocknotify.com/v1/analyze-transaction?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Destination address (contract or EOA)."},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$","description":"Calldata as a 0x-prefixed hex string. Use \"0x\" for plain native-value transfers."},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Sender address (the wallet that would sign and broadcast)."},"chain":{"enum":["ethereum","polygon","arbitrum","optimism","base"],"type":"string","description":"Target EVM chain. The merchant maps this to the appropriate RPC for simulation."},"value":{"type":"string","description":"Native value in wei. Decimal (\"1000000000000000000\" = 1 ETH) or 0x-prefixed hex (\"0xde0b6b3a7640000\"). Use \"0x0\" for token-only transactions."}}},"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_s71uKlJIkW-F9alhIDeI5","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":"Simulates an EVM transaction before execution and returns an allow, warn, or block safety decision with detection of approval abuse, suspicious contracts, and failure conditions.","exampleAgentPrompt":"Before I send this transaction — from 0xAbC...123 to the Uniswap router 0x7a25...fE on base with calldata 0xa9059cbb... and value 0x0 — run a safety simulation and tell me whether to allow, warn, or block it.","exampleUseCases":[{"title":"DeFi agent pre-execution guard","prompt":"I'm about to swap tokens on Arbitrum using my wallet 0x1234...abcd calling the router at 0xdead...beef with calldata 0x38ed1739... and no ETH value — can you simulate it and check for any approval abuse or suspicious behavior before I sign?"},{"title":"Malicious contract detection for NFT mint","prompt":"Check if this NFT mint transaction is safe: I'm the sender 0xAABB...CC, the contract is 0x9988...77 on Ethereum, calldata is 0x1249c58b, and I'm sending 0.08 ETH — will it succeed, and does it look like a scam or rug pull?"},{"title":"Autonomous agent transaction firewall","prompt":"My trading bot is about to execute a transaction on Polygon from 0xBot...wallet to 0xDEX...contract with calldata 0x5c11d795... and value 0x0 — block it automatically if the safety analysis returns anything other than allow."}],"resultDescription":"Returns a safety decision of allow, warn, or block along with detailed risk signals including detected approval abuse patterns, suspicious contract indicators, simulation success/failure status, and the reasons behind the decision — all before the transaction is broadcast to the network.","failureModes":["Invalid address format (not a valid 0x EVM address) returns a validation error","Unsupported chain value outside the allowed enum returns a 400 error","Malformed or non-hex calldata causes a parsing failure","Simulation RPC unavailable for the target chain causes a timeout or 503","Insufficient payment (x402 payment not provided or underpaid) returns a 402 Payment Required","Value field not parseable as decimal or 0x-prefixed hex returns an error"],"whenToPreferThis":"Choose this endpoint when an AI agent or wallet needs a pre-execution safety gate — especially for DeFi interactions, token approvals, or interactions with unknown contracts — where detecting rug pulls, approval exploits, or revert conditions before signing is critical. Prefer it over generic simulation endpoints because it returns a clear actionable allow/warn/block decision with security-specific annotations, not just raw execution traces.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:33:58.073Z","isFirstParty":false,"canonicalSlug":"blocknotify-transaction-safety-analyzer-86c513f6"}