UNPKG

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

12 lines (11 loc) 255 B
export declare enum NameType { TLD = "tld", SECOND_LEVEL_DOMAIN = "domain", SUB_DOMAINED_DOMAIN = "sub-domain" } export declare type MappedName = { fullname: string; domain?: string | undefined; tld: string; type: NameType; };