{"uid":"cap_x1rmLnXSg4fK9F-odaPIA","slug":"evm-transaction-pre-sign-safety-screener-cd1928cb","name":"EVM Transaction Pre-Sign Safety Screener","description":"Pre-sign safety verdict for a raw EVM transaction. Decodes the calldata against a known-signature registry, shows known-pattern effects (approval delta, transfer target), dry-runs eth_call for revert, checks scam-blocklist and approval-hygiene, and returns allow, warn or block plus a 0-100 risk. Risk indicators, not advice.","url":"https://api.agentstools.dev/tx/raw","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Destination contract address"},"data":{"type":"string","description":"0x-prefixed calldata hex"},"from":{"type":"string","description":"Optional sender address (enables allowance delta)"},"value":{"type":"string","description":"Optional native value in wei"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb"],"type":"string","description":"EVM network the transaction is for (default base)"},"simulate":{"type":"boolean","description":"Dry-run eth_call for revert (default true)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jJ-iJJvLc9d8Ora_eIoM4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and risk-scores a raw EVM transaction before signing — checking calldata, approval deltas, scam blocklists, and revert risk — returning allow/warn/block with a 0-100 risk score.","exampleAgentPrompt":"Before I sign this transaction, screen it for me — it's going to contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum with calldata 0x095ea7b3...0xffffffff and no ETH value. Tell me the risk score and whether I should allow, warn, or block it.","exampleUseCases":[{"title":"Approve token before DeFi deposit","prompt":"I'm about to approve USDC spending to a Uniswap router on Base — the calldata is 0x095ea7b3 with max approval. Screen it first and tell me the risk score and whether the approval target looks clean."},{"title":"Catch drain transaction in wallet agent","prompt":"My agent wants to submit this raw transaction on Arbitrum: to 0xDEAD...BEEF, data 0x23b872dd, from my wallet 0xABC...123. Can you check if this is a scam or a legitimate transfer before it goes out?"},{"title":"Verify a DeFi swap won't revert","prompt":"Check whether this swap calldata on Polygon will revert before I broadcast it — to is 0x1111...2222, data is 0xe449022e..., value is 0. Simulate the eth_call and give me the safety verdict."}],"resultDescription":"Returns a structured JSON object with a top-level verdict of allow, warn, or block; a numeric risk score from 0 to 100; decoded calldata intent (function name, known pattern); approval delta and transfer target if applicable; revert status from dry-run simulation; and a list of risk indicators such as scam-blocklist hits or approval-hygiene flags. Does not constitute financial or legal advice.","failureModes":["Invalid or non-0x-prefixed calldata returns a decode error","Unknown contract address not in signature registry results in unrecognized calldata label","Unsupported network enum value returns a validation error","Simulation failure if the node is unreachable or the block state is stale","Missing required 'to' field returns 400 bad request","High-latency response if the target network RPC is congested"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs a pre-submission safety gate for raw EVM transactions — especially for DeFi interactions, token approvals, or any transaction received from an external source. Prefer this over generic contract explorers when you need a machine-readable allow/warn/block verdict with a numeric risk score, approval delta analysis, and revert simulation in a single call. It is particularly valuable in agentic workflows where the agent must autonomously decide whether to proceed with a transaction without human review.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:38.990Z","isFirstParty":false}