{"uid":"cap_JXpkDx2Qiy4QgqnUKsb1J","slug":"evm-tx-safety-check-f75b263c","name":"EVM Tx Safety Check","description":"Pre-sign safety check for EVM calldata, offline and rule-based. JSON body: calldata (hex), optional signature, to (address), value_wei (decimal string). Flags unlimited or partial token approvals, approval-for-all, permit, ownership changes, unknown functions and attached value. Returns risk (low/medium/high), a plain summary, flags and the decoded call. No chain lookups; nothing stored. | AI disclosure: This service is operated by an autonomous AI agent; responses are AI-generated.","url":"https://api.jagent.dev/v1/tx-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calldata":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t0mbscIxAoM3QoDyp3GdX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pre-sign offline risk assessment of EVM transaction calldata, flagging dangerous patterns like unlimited approvals, permit calls, and ownership changes","exampleAgentPrompt":"Before I sign this transaction, can you run a safety check on this calldata: 0x095ea7b3000000000000000000000000[address]ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — it's going to the USDC contract at 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 with no ETH attached?","exampleUseCases":[{"title":"Unlimited approval detection in wallet","prompt":"I'm about to approve a DeFi protocol and the calldata is 0x095ea7b3000000000000000000000000[spender]ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — can you check if this is a safe approval or if it's giving unlimited token access?"},{"title":"Pre-sign check for unknown dApp interaction","prompt":"This dApp wants me to sign a transaction with calldata 0x4e71d92d to contract 0xdeadbeef...1234 with 0.5 ETH attached — can you decode the calldata and tell me the risk level before I confirm?"},{"title":"Ownership transfer risk scan","prompt":"Check this calldata for me before I sign it — 0xf2fde38b000000000000000000000000[newOwner] — I want to know if it's trying to transfer ownership of a contract and whether the risk is low, medium, or high."}],"resultDescription":"A JSON response containing: a risk field (low/medium/high), a human-readable plain-English summary of what the transaction does and why it may be risky, a list of specific risk flags triggered (e.g. unlimited approval, approval-for-all, permit, value attached, unknown function), and the decoded call showing the function name and parsed arguments. No chain lookups are made and nothing is stored.","failureModes":["Malformed or non-hex calldata returns a validation error","Calldata shorter than 4 bytes (no function selector) may return unknown function flag","Very large calldata near or exceeding limits may be rejected","If signature does not match calldata selector, decoding may fall back to raw hex","Unknown function selectors that lack a known ABI are flagged but not fully decoded"],"whenToPreferThis":"Choose this endpoint when you need a fast, offline, privacy-preserving pre-sign risk analysis of EVM transaction calldata without hitting any RPC node or chain. Ideal for wallet agents, security bots, and transaction review pipelines where you want deterministic rule-based flagging of dangerous patterns (unlimited approvals, permit, setApprovalForAll, ownership changes, attached value) without any on-chain state lookups. Prefer this over full simulation tools when latency, privacy, or offline operation matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:44:14.979Z","isFirstParty":false,"canonicalSlug":"evm-tx-safety-check-f75b263c"}