{"uid":"cap_a5tPrZtJJaiIm0P4H_MCT","slug":"x402-ethereum-tx-check-pre-sign-safety-check-49538327","name":"x402 Ethereum Tx Check (Pre-Sign Safety Check)","description":"Pay-per-call Ethereum mainnet tools for agents: simulate a tx, check it before signing, explain a mined tx, broadcast a signed tx privately. USDC on Base via x402. No signup, no API key.","url":"https://sim.0xrelay.party/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"from":{"type":"string","description":"signer address (required with a tx)"},"calls":{"type":"array","description":"bundle instead of a single tx"},"value":{"type":"string"},"typedData":{"type":"object","description":"EIP-712 typed data the user is asked to sign"},"authorizationList":{"type":"array","description":"EIP-7702 authorizations in the tx"}}},"responseSchema":{"flags":"array","summary":"string","verdict":"ok|warn|danger","simulation":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6bIBrors0knq_8ws-6ASp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an unsigned Ethereum transaction or EIP-712 typed data before signing, returning a safety verdict, simulation results, and risk flags.","exampleAgentPrompt":"Before I sign this transaction to 0xUniswapRouter with calldata 0xabc123... from my wallet 0xMyAddress, run a safety check on it — tell me if it's dangerous, what it'll actually do, and any risk flags I should know about.","exampleUseCases":[{"title":"DeFi approval safety check","prompt":"I'm about to approve a token spend on a DeFi protocol — the to address is 0xSomeContract, calldata is 0xabcdef..., from my wallet 0xMyWallet. Can you check whether this is safe to sign before I confirm it?"},{"title":"EIP-712 typed data verification","prompt":"A dApp is asking me to sign this EIP-712 permit message — can you analyze the typed data object and tell me if the domain, spender, and amount look legitimate or if there are any red flags?"},{"title":"Bundled multicall pre-flight","prompt":"I have a bundle of 3 calls I'm about to send in a single transaction — can you simulate and check all of them together from my address 0xMyWallet and give me a verdict on whether it's safe to proceed?"}],"resultDescription":"Returns a JSON object containing: a verdict field (ok, warn, or danger), an array of specific risk flags (e.g. approval to unknown contract, value drain, phishing signature patterns), a human-readable summary string explaining what the transaction does and why it was flagged, and a simulation object showing the expected state changes and gas usage.","failureModes":["Missing required 'to' or 'calls' field — returns 400 with validation error","Invalid address format for 'to' or 'from' — returns parsing error","Transaction simulation reverts on mainnet fork — returns danger verdict with revert reason","Malformed calldata that cannot be decoded — returns warn verdict with unknown-calldata flag","Payment failure via x402 (insufficient USDC balance) — returns 402 Payment Required before processing","Network timeout when forking mainnet for simulation — returns 503 or timeout error"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet interface needs to protect a user from signing a malicious, risky, or unintended Ethereum transaction before it hits the mempool. Ideal for DeFi agents, wallet copilots, and any flow where user funds are at risk. Prefer this over generic calldata decoders when you need both simulation AND risk scoring in one call. Does not require signup or API keys — pay-per-call via USDC on Base using the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T12:42:05.863Z","isFirstParty":false,"canonicalSlug":"x402-ethereum-tx-check-pre-sign-safety-check-49538327"}