Class ENSService

Hierarchy

Index

Accessors

ensAddrReversOwner

  • get ensAddrReversOwner(): Promise<string>
  • Returns Promise<string>

Methods

destroy

  • destroy(): void

ensAddressesLookup

  • ensAddressesLookup(names: string[]): Promise<string[]>
  • Parameters

    • names: string[]

    Returns Promise<string[]>

ensNamesLookup

  • ensNamesLookup(addresses: string[]): Promise<string[]>
  • Parameters

    • addresses: string[]

    Returns Promise<string[]>

getENSNode

  • getENSNode(nameOrHashOrAddress: string): Promise<ENSNode>
  • Parameters

    • nameOrHashOrAddress: string

    Returns Promise<ENSNode>

getENSNodeOwner

  • getENSNodeOwner(name: string): Promise<string>
  • Parameters

    • name: string

    Returns Promise<string>

getENSRootNode

getENSTopLevelDomains

  • getENSTopLevelDomains(): Promise<string[]>
  • Returns Promise<string[]>

init

reserveENSNode

  • reserveENSNode(name: string): Promise<ENSNode>
  • Parameters

    • name: string

    Returns Promise<ENSNode>

validateENSNode

  • validateENSNode(name: string): Promise<boolean>
  • Parameters

    • name: string

    Returns Promise<boolean>