Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/chain/namehash

Normalise an ENS name with ENSIP-15 (catches look-alike and invalid characters) and compute its namehash (the node id resolvers use) plus each label's labelhash (a .eth name's ERC-721 token id). Use before calling ENS contracts, to compare names safely, or to find an ENS NFT token id. Offline; for resolving a name to an address use chain/ens.

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/chain/namehash

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/chain/namehash?name=Vitalik.eth");
console.log(await res.json());

Example input

{
  "name": "Vitalik.eth"
}