{"uid":"cap_MNOuf0uggi5jV0kmN3BLg","slug":"lumen-eip-712-typed-data-decoder-c8557ee3","name":"Lumen EIP-712 Typed Data Decoder","description":"Decode EIP-712 typed data: domain separator, signing digest, message, and plain-language risk notes (Permit, Permit2, EIP-3009, unlimited values).","url":"https://lumenworks-x402-decoder.onrender.com/v1/eip712/decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"notes":["verifyingContract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on chainId 8453","ERC-2612 Permit: grants token allowance to spender, check value/deadline"],"digest":"0x23e8c55a0b5d344e0f50581dd1210e0656d001958874ac7ac06c60f1c4ad9704","domain":{"name":"USD Coin","chainId":8453,"version":"2","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"message":{"nonce":"0","owner":"0x1111111111111111111111111111111111111111","value":"1000000","spender":"0x111111125421cA6dc452d289314280a0f8842A65","deadline":"1893456000"},"primaryType":"Permit","domainSeparator":"0x02fa7265e7c5d81118673727957699e4d68f74cd74b7db77da710fe8a2c7834f"}},"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_r4xN7WlNHVGMaeC0nQ3Jj","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":"Decodes EIP-712 typed data into its domain separator, signing digest, message fields, and plain-language risk notes covering Permit, Permit2, EIP-3009, and unlimited-value patterns.","exampleAgentPrompt":"Can you decode this EIP-712 typed data for me and tell me in plain language what I'd be agreeing to if I sign it — especially flag if it's granting unlimited token allowance or has a suspicious deadline?","exampleUseCases":[{"title":"Pre-sign Permit risk check","prompt":"Before I sign this EIP-712 Permit message my wallet is showing, decode it and tell me what spender gets allowance, what the value is, and whether the deadline looks risky."},{"title":"Identifying unlimited token approval","prompt":"My dApp is asking me to sign some typed data — decode it and tell me if the value field is set to the max uint256, which would mean unlimited approval, and which contract it's for on which chain."},{"title":"Debugging Permit2 signature payload","prompt":"I'm building a DeFi integration and need to verify my EIP-712 Permit2 payload is constructed correctly — can you decode the domain separator, signing digest, and message fields so I can confirm everything matches what I expect?"}],"resultDescription":"Returns a JSON object containing: the decoded domain object (name, chainId, version, verifyingContract), the primaryType, the decoded message fields (e.g. owner, spender, value, deadline, nonce), the domainSeparator hex, the signing digest hex, and an array of plain-language notes flagging risks such as ERC-2612 Permit grants, Permit2 patterns, EIP-3009 authorization, unlimited values, and chain/contract identity.","failureModes":["Malformed or invalid EIP-712 typed data input returns a parsing error","Missing required typed data fields (types, domain, message) causes decode failure","Unknown or non-standard primary types may produce incomplete notes","Network/service unavailability on the Render-hosted endpoint","Ambiguous chainId may limit contract identification context"],"whenToPreferThis":"Choose this endpoint when you have a raw EIP-712 typed data structure (Permit, Permit2, EIP-3009, or other) and need to programmatically extract its decoded components and receive human-readable risk notes before presenting to a user or making a signing decision. It is distinct from a general transaction decoder (use the calldata endpoint for raw EVM calldata) and from the x402 payment header decoder (a separate sibling endpoint). Ideal for wallet agents, DeFi automation, and pre-sign safety checks on token approval flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:04.246Z","isFirstParty":false,"canonicalSlug":"lumen-eip-712-typed-data-decoder-c8557ee3"}