{"uid":"cap_ckYl945CFCxe2bSPqCruT","slug":"eip-712-domain-separator-lookup-b7343b8f","name":"EIP-712 Domain Separator Lookup","description":"EIP-712 domain separator of a token — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/erc20-domain-separator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"erc20-domain-separator","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_Lvz1STZeiMLHq3pb5Tqvb","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":"Returns the EIP-712 domain separator bytes for a given ERC-20 token contract on a specified EVM chain","exampleAgentPrompt":"What is the EIP-712 domain separator for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"Verify permit signature domain","prompt":"Can you fetch the EIP-712 domain separator for the DAI token at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum? I need to verify it matches what I'm using to construct permit signatures."},{"title":"Debug token integration on Base","prompt":"Grab the EIP-712 domain separator for the USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I'm integrating permit-based transfers and need to confirm the domain hash."},{"title":"Cross-chain domain separator audit","prompt":"Look up the EIP-712 domain separator for the USDT contract 0xc2132D05D31c914a87C6611C10748AEb04B58e8F on Polygon so I can audit whether it differs from the Ethereum mainnet version."}],"resultDescription":"Returns a JSON object with ok=true, a type field set to 'erc20-domain-separator', the domain separator value, and a receipt containing a transaction hash, USD amount paid, and a unique receipt ID along with a generated_at ISO8601 timestamp.","failureModes":["Invalid or non-ERC-20 contract address returns an error response","Unsupported chain name outside the allowed enum returns a validation error","Contract does not implement EIP-712 domain separator (older tokens) may return an error or empty result","Network or node connectivity issues may cause timeouts","Malformed contract address (not matching 0x + 40 hex chars) fails schema validation"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve the EIP-712 domain separator for an ERC-20 token on a supported EVM chain (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll) without running your own node. It is ideal for permit signature construction, DeFi integration auditing, or cross-chain domain separator comparison. Prefer this over manual RPC calls when you need a managed, pay-per-call solution with a receipt trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:49.875Z","isFirstParty":false,"canonicalSlug":"eip-712-domain-separator-lookup-b7343b8f"}