{"uid":"cap_TQVpHarN75zxvQ80LZ4bO","slug":"lumen-pre-sign-check-fa35830b","name":"Lumen Pre-Sign Check","description":"Lumen Pre-Sign Check: call before signing any EVM transaction or EIP-712 message. Returns {summary, flags[], verdict} (looks_ok | review | do_not_sign_unless_intended). Flags unlimited approvals, Per…","url":"https://lumenworks-x402-decoder.onrender.com/v1/tx/explain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","kind":"transaction","risk":"high","flags":[{"msg":"Unlimited token approval: spender can drain this token at any time.","code":"UNLIMITED_APPROVAL","level":"high"}],"summary":["Approve 0x111111125421cA6dc452d289314280a0f8842A65 (1inch v6 Router) to spend UNLIMITED units of token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"toLabel":"USDC (Base)","verdict":"do_not_sign_unless_intended","calldata":{"source":"built-in","decoded":{"args":["0x111111125421cA6dc452d289314280a0f8842A65","115792089237316195423570985008687907853269984665640564039457584007913129639935"],"signature":"approve(address,uint256)"},"selector":"0x095ea7b3","candidates":[{"args":["0x111111125421cA6dc452d289314280a0f8842A65","115792089237316195423570985008687907853269984665640564039457584007913129639935"],"signature":"approve(address,uint256)"}],"signaturesFound":1},"valueWei":"0","disclaimer":"Informational, not a security guarantee. looks_ok does not mean safe. No simulation, no on-chain state (proxy implementations, spender code, balances) is checked."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u8edPdMyVOMS0UhZW34I7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an EVM transaction or EIP-712 message before signing and returns a human-readable summary, risk flags, and a verdict on whether it is safe to sign.","exampleAgentPrompt":"Before I sign this transaction, can you check if it's safe? It's calling 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with calldata 0x095ea7b3000000000000000000000000111111125421ca6dc452d289314280a0f8842a65ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff and zero ETH value — give me a verdict and flag anything suspicious like unlimited approvals.","exampleUseCases":[{"title":"Unlimited approval risk detection","prompt":"I'm about to sign a token approval transaction with calldata 0x095ea7b3000000000000000000000000<spender>ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff to contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — can you check if this is an unlimited approval and tell me whether I should sign it?"},{"title":"DeFi swap pre-sign safety check","prompt":"My wallet is asking me to sign a transaction to 0xDef1C0ded9bec7F1a1670819833240f027b25EfF with some swap calldata — can you decode what function it's calling and flag any risks before I approve it?"},{"title":"EIP-712 phishing detection","prompt":"I got a signature request that looks like an EIP-712 typed message — can you decode it, tell me what I'd actually be agreeing to, and flag whether it looks like a phishing attempt or is safe to sign?"}],"resultDescription":"Returns a JSON object with: a plain-English summary array describing what the transaction does, a verdict field (looks_ok | review | do_not_sign_unless_intended), an array of flags with code, level, and message for each detected risk (e.g. UNLIMITED_APPROVAL at high severity), the decoded calldata including function signature and arguments, a label for the target contract if known, and a disclaimer noting this is informational only.","failureModes":["Unrecognized function selector returns partial decode with no signature match","Malformed calldata causes decode failure or empty candidates array","Unknown contract address returns no label or context","EIP-712 message with non-standard types may produce incomplete risk notes","Network or server unavailability returns 5xx error","Missing required fields in request body returns 4xx validation error"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet interface needs to explain and risk-assess an EVM transaction or EIP-712 typed-data signature request before the user signs it. It is the right choice when you want a human-readable breakdown of what a transaction does, automated detection of high-risk patterns like unlimited token approvals, and a clear verdict without needing to simulate on-chain state or run a full security audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:34.522Z","isFirstParty":false,"canonicalSlug":"lumen-pre-sign-check-fa35830b"}