interface NameResolver {
    resolveName(name: string): Promise<null | string>;
}

Methods

Methods

  • 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.

    Parameters

    • name: string

    Returns Promise<null | string>