{"uid":"cap_yHG_DsqD7ebGNztveJJlv","slug":"ens-namehash-and-labelhash-calculator-746ef658","name":"ENS Namehash and Labelhash Calculator","description":"ENS namehash and labelhash for a name — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/eth-namehash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"name":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"eth-namehash","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RID6J9j_3dbyfdr_1pv5e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the ENS namehash and labelhash for a given Ethereum Name Service (ENS) domain name","exampleAgentPrompt":"What is the ENS namehash and labelhash for vitalik.eth?","exampleUseCases":[{"title":"Smart contract ENS node lookup","prompt":"I need the ENS namehash for myproject.eth so I can use it as the node parameter when calling an ENS registry smart contract."},{"title":"ENS subdomain labelhash derivation","prompt":"Can you compute the labelhash for the label 'app' from app.myprotocol.eth? I need it to register a subdomain on-chain."},{"title":"Verify ENS name encoding","prompt":"What are the namehash and labelhash values for alice.eth? I want to double-check that my local computation matches the canonical result before deploying my contract."}],"resultDescription":"Returns a JSON object containing the ENS namehash and labelhash for the provided name, along with a payment receipt including transaction hash, amount paid in USD, and a receipt ID.","failureModes":["Invalid or malformed ENS name returns an error response","Missing 'name' field in request body causes a 400-level error","Payment failure or insufficient funds prevents the call from completing","Network timeout on the UnyKorn endpoint","Name with unsupported characters or encoding may produce unexpected results"],"whenToPreferThis":"Use this endpoint when you need to programmatically compute ENS namehash or labelhash values without implementing the hashing logic locally, especially in agentic workflows that interact with ENS smart contracts on EVM chains. Prefer this over local computation when you want a trusted, pay-per-call reference implementation that removes the risk of encoding bugs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:23:25.838Z","isFirstParty":false,"canonicalSlug":"ens-namehash-and-labelhash-calculator-746ef658"}