Documentation Index
Fetch the complete documentation index at: https://namehash-krzysztofwrobel-sc-24494-nameguard-remove-goerli-a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Install
Begin by installing @namehash/nameguard:npm install @namehash/nameguard
Import
Next import nameguard using the required network:import { nameguard } from "@namehash/nameguard";
Inspect
You’re now ready to inspect, lookup and verify:
const report = await nameguard.inspectName("nick.eth");
const names = ["vitalik.eth", "notrab.eth"];
const reports = await nameguard.bulkInspectNames(names);
Secure Primary Name Lookup
const result = await nameguard.getSecurePrimaryName("0x...");
const report = await nameguard.fakeEthNameCheck("contractAddress", "tokenId");
const report = await nameguard.inspectGrapheme("𝒶");
const report = await nameguard.inspectLabelhash("0x...", {
parent: "eth",
});
const report = await nameguard.inspectNamehash("0x...");