{"uid":"cap_KWNQIiJfHmX9aYrrhOzwE","slug":"apiacre-com-typed-data-hash-f4cf9609","name":"apiacre.com Typed Data Hash","description":"Validate EIP-712 typed structured data and derive its domain separator, message hash, and signing digest.","url":"https://apiacre.com/v1/crypto/typed-data-hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"typed_data":{"type":"object","title":"Typed Data","additionalProperties":true}}},"responseSchema":{"type":"json","example":{"data":{"valid":true,"messageHash":"0xd6a9eadbfb49313d8b83d02d2bb22b916a5b16e6006946c9ca6fa7959d934b3a","primaryType":"Message","signingHash":"0x7433e410d5f2857cb42d0bfd31bc71e8aa553f02ce0eed397927f01dfb46424c","domainSeparator":"0xc167959bdf834486717879a8cd6eb3e12a864d1b1d7dbcecec40455e1b4bc8c8"},"meta":{"cached":false,"sources":[],"warnings":[],"duration_ms":42,"next_actions":[]},"service":"crypto.typed-data-hash","version":"1","request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dRpr-sBqVO2TII5Wh_zi8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates EIP-712 typed structured data and computes its signing digest (hash).","exampleAgentPrompt":"Can you validate this EIP-712 typed data structure and give me the signing digest I need to sign it? Here's the domain, types, and message values.","exampleUseCases":[{"title":"Permit signature digest for DeFi","prompt":"I'm building a permit-based token approval flow. Can you validate this EIP-712 typed data for the Permit message and return the signing digest so I can pass it to my wallet?"},{"title":"Debugging malformed typed data","prompt":"My dApp keeps rejecting this typed data before signing — can you validate the EIP-712 structure and tell me if there are any errors, then give me the hash if it's valid?"},{"title":"Offchain delegation message hashing","prompt":"I have an EIP-712 delegation message with a domain, types, and message payload. Please validate it and compute the signing digest I need to include in my offchain signature workflow."}],"resultDescription":"Returns a validation status indicating whether the typed data conforms to EIP-712 structure, along with the computed signing digest (hash) if valid, or descriptive error details if validation fails.","failureModes":["Malformed or missing domain separator fields cause validation error","Incorrect or mismatched type definitions return a schema error","Missing primaryType or undefined types result in rejection","Message values that don't match declared types return type mismatch errors","Invalid or unsupported Solidity types in the type definitions cause parsing failure"],"whenToPreferThis":"Choose this endpoint when you need to programmatically validate EIP-712 typed structured data and obtain its signing digest before presenting it to a wallet or signer. Useful in agent workflows that construct permit, delegation, or order messages and need to verify correctness and compute the hash without executing an on-chain transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:00.769Z","isFirstParty":false}