Skip to content

NameResolver

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/address/index.d.ts:36

An interface for any object which can resolve an ENS name.

resolveName(name): Promise<null | string>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/address/index.d.ts:44

Resolve to the address for the ENS %%name%%.

Resolves to null if the name is unconfigued. Use [[resolveAddress]] (passing this object as %%resolver%%) to throw for names that are unconfigured.

ParameterType
namestring

Promise<null | string>