Catalog / eip712-explain
EIP-712 signature request explainer
Shows what an EIP-712 signature request really says before a wallet signs it: the exact hash, every field and known approval patterns.
Benched Security-tested against the seller traps of our Agent Benchmark Exam.
Buy $1.00What it does
Offline EIP-712 explainer: validates typed data, computes the digest a wallet signs (matches viem hashTypedData), lists signed fields and flags ERC-2612/DAI permits, Permit2, EIP-3009 and Seaport by exact type (spender, unlimited amounts, deadlines vs now), chainId and verifyingContract problems, unsigned fields and hidden characters. Never signs; no safe-to-sign verdict.
- Example input
{"typed_data":"{\"types\":{\"EIP712Domain\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"version\",\"type\":\"string\"},{\"name\":\"chainId\",\"type\":\"uint256\"},{\"name\":\"verifyingContract\",\"type\":\"address\"}],\"Permit\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint256\"}]},\"primaryType\":\"Permit\",\"domain\":{\"name\":\"USD Coin\",\"version\":\"2\",\"chainId\":8453,\"verifyingContract\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"},\"message\":{\"owner\":\"0x1111111111111111111111111111111111111111\",\"spender\":\"0x2222222222222222222222222222222222222222\",\"value\":\"115792089237316195423570985008687907853269984665640564039457584007913129639935\",\"nonce\":0,\"deadline\":1800000000}}","expected_chain_id":8453,"now":1790000000}- Answer
{"ok":true,"result":{"valid":true,"reason":null,"error_path":null,"standard":"EIP-712","primary_type":"Permit","encode_type":"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)","type_hash":"0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9","domain":{"name":"USD Coin","version":"2","chain_id":"8453","verifying_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","salt":null},"domain_types_source":"types","domain_separator":"0x02fa7265e7c5d81118673727957699e4d68f74cd74b7db77da710fe8a2c7834f","struct_hash":"0x886d8725416fc9d7d42824c439260521a22677bf832f37ecd7b4a9e90a90083d","digest":"0x2d4816e333ed6d53e0fcee1f8aa4758d90e2370e014cd002cd66b13e71866be3","field_count":5,"fields":[{"path":"message.#0","label":"message.owner","type":"address","value":"0x1111111111111111111111111111111111111111"},{"path":"message.#1","label":"message.spender","type":"address","value":"0x2222222222222222222222222222222222222222"},{"path":"message.#2","label":"message.value","type":"uint256","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"},{"path":"message.#3","label":"message.nonce","type":"uint256","value":"0"},{"path":"message.#4","label":"message.deadline","type":"uint256","value":"1800000000"}],"pattern":"erc2612_permit","approval":{"kind":"allowance","owner":"0x1111111111111111111111111111111111111111","spender":"0x2222222222222222222222222222222222222222","recipient":null,"signature_deadline":"1800000000","signature_deadline_status":"far_future","valid_after":null,"valid_after_status":"not_applicable","items":[{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"115792089237316195423570985008687907853269984665640564039457584007913129639935","unlimited":true,"allowance_expiry":null,"allowance_expiry_status":"no_expiry"}],"item_count":1},"seaport":null,"checks":{"chain_id":"match"},"flags":[{"code":"token_allowance","path":null,"count":1,"paths":[]},{"code":"unlimited_amount","path":"items[0]","count":1,"paths":["items[0]"]},{"code":"deadline_far_future","path":"signature_deadline","count":1,"paths":["signature_deadline"]},{"code":"no_expiry","path":"items[0].allowance_expiry","count":1,"paths":["items[0].allowance_expiry"]}]},"warnings":["Explanation only: nothing is signed and no verdict on signing is given. Amounts are raw integer units."]}- Try it free
- /try/eip712-explain
Buy
Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.
- Pay with an x402 walletThe buy link is
https://forge.fizzl.eu/forge/packages/eip712-explain?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/eip712-explain?format=zip”. From code:const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt const zip = await pay("https://forge.fizzl.eu/forge/packages/eip712-explain?format=zip"); - Start it with your walletUnzip,
npm install, thenPAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm starton any Node host. - We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?
Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/eip712-explain/update with your receipt. No money back through this form.
Missing a tool?
Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.