{"uid":"cap_enMSSCtPJf-3dDeCzyQlK","slug":"beggar-bot-ens-namehash-utility-c5ff67bf","name":"Beggar Bot ENS Namehash Utility","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/namehash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2LrN_4RYIvF5j0fahW9t_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 for a given name or domain on Base mainnet","exampleAgentPrompt":"What is the ENS namehash for 'myname.base.eth'? I need the canonical node hash to use in a smart contract lookup on Base mainnet.","exampleUseCases":[{"title":"Smart contract ENS node lookup","prompt":"Can you compute the ENS namehash for 'coinbase.base.eth'? I need the node hash so I can query the resolver contract directly on Base."},{"title":"Verify ENS name encoding","prompt":"What is the namehash of 'alice.eth'? I want to double-check the keccak256 node hash before I pass it into my on-chain registration transaction."},{"title":"Batch ENS resolution prep","prompt":"Give me the ENS namehash for 'payments.defi.eth' — I'm building a lookup table for my agent that needs node hashes to query ENS registry events on Base mainnet."}],"resultDescription":"Returns a JSON object containing the computed ENS namehash (a keccak256-based node identifier) for the input domain name, following the ENS namehash algorithm (EIP-137). This hash can be used directly in smart contract calls that require an ENS node identifier.","failureModes":["Invalid or malformed ENS name input returns an error","Empty properties parameter may return a 400 or malformed response","Payment not included or insufficient USDC causes 402 Payment Required","Network congestion on Base mainnet may delay response","Unsupported name format (non-ENS strings) may produce unexpected hash results"],"whenToPreferThis":"Use this endpoint when you need a quick, paid on-demand ENS namehash computation without running your own node or implementing the EIP-137 algorithm locally. Prefer this when working within the Base ecosystem and already using the Beggar Bot suite of on-chain utilities, so payment is handled seamlessly via x402 on Base mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T00:44:25.689Z","isFirstParty":false,"canonicalSlug":"beggar-bot-ens-namehash-utility-c5ff67bf"}