Methods
Abstract address
- address(domain: string, currencyTicker: string): Promise<string>
-
Parameters
-
domain: string
-
currencyTicker: string
Returns Promise<string>
Abstract email
- email(domain: string): Promise<string>
-
Parameters
Returns Promise<string>
Protected ensureSupportedDomain
- ensureSupportedDomain(domain: string): void
Abstract httpUrl
- httpUrl(domain: string): Promise<string>
-
Parameters
Returns Promise<string>
Protected ignoreResolutionError
- ignoreResolutionError<T>(code: ResolutionErrorCode | undefined, promise: Promise<T>): Promise<T | undefined>
-
Type parameters
Parameters
Returns Promise<T | undefined>
Abstract ipfsHash
- ipfsHash(domain: string): Promise<string>
-
Parameters
Returns Promise<string>
Protected isResolutionError
-
Parameters
Returns boolean
Abstract isSupportedDomain
- isSupportedDomain(domain: string): boolean
-
Parameters
Returns boolean
Abstract isSupportedNetwork
- isSupportedNetwork(): boolean
Abstract namehash
- namehash(domain: string): string
-
Parameters
Returns string
Protected Abstract normalizeSource
Abstract owner
- owner(domain: string): Promise<string>
-
Parameters
Returns Promise<string>
Abstract record
- record(domain: string, key: string): Promise<string>
-
Parameters
-
domain: string
-
key: string
Returns Promise<string>
Abstract class for different Naming Service supports like