EVM
ENS namehash of a domain API
Compute the ENS namehash (recursive keccak node) the registry keys records by, e.g. vitalik.eth, via viem's namehash. Answers 'What is the ENS node for vitalik.eth?','What namehash does this domain resolve under?'.
Price$0.01per request
MethodPOST
Route/v1/evm/namehash
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
evmensnamehashkeccakdomainnameresolver
API URL
Integration docshttps://x402.hexl.dev/v1/evm/namehashExample request
{
"name": "vitalik.eth"
}Example response
{
"name": "vitalik.eth",
"namehash": "0xee6c4522aab0003e8d14cd40a6af439055fd2577951148c14b6cea9a53475835"
}Input schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"examples": [
"vitalik.eth",
"eth"
]
}
},
"examples": [
{
"name": "vitalik.eth"
}
]
}Output schema
{
"type": "object",
"additionalProperties": true
}