Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NamingService

Abstract class for different Naming Service supports like

  • ENS
  • ZNS

Hierarchy

Index

Properties

name

name: string

Methods

Abstract address

  • address(domain: string, currencyTicker: string): Promise<string>
  • Parameters

    • domain: string
    • currencyTicker: string

    Returns Promise<string>

Protected ensureSupportedDomain

  • ensureSupportedDomain(domain: string): void

Protected fetch

  • fetch(url: any, options: any): Promise<Response | Response>

Protected isNode

  • isNode(): boolean

Abstract isSupportedDomain

  • isSupportedDomain(domain: string): boolean

Abstract isSupportedNetwork

  • isSupportedNetwork(): boolean

Abstract namehash

  • namehash(domain: string): string

Protected Abstract normalizeSource

Abstract owner

  • owner(domain: string): Promise<string>

Abstract record

  • record(domain: string, key: string): Promise<string>

Abstract resolve

Generated using TypeDoc