web3-domain-resolver
Version:
Web3 Library that enable with just one function to resolve domains on multiple web3 providers such as ENS, UnstoppableDomains and Freename
13 lines (12 loc) • 509 B
TypeScript
import { ResolvedResourceType } from "../resolvers/types/resolved-resource-type";
import { MappedName, NameType } from "./name-tools.types";
export declare class NameTools {
static mapName(domainOrTld: string): MappedName | undefined;
private static getItemTypeFromString;
private static getDetailedName;
static isNameAllowed(name: string): {
isAllowable: boolean;
invalidCharacters: string[];
};
static getResolvedResourceType(type: NameType): ResolvedResourceType;
}