ENS

Ethereum Name Service (ENS) library for name lookup and standard resolver interface reading.

import EnsLookup from '@browseth/units';

Creating Instances

new EnsLookup ( ethRef )
Initialize EnsLookup object with browseth instance

Prototype

prototype . resolverAddress ( node )
Returns the address of the node’s resolver
prototype . address ( node )
Returns the address field set in the node’s resolver
prototype . name ( node )
Returns the name set in the node’s resolver
prototype . text ( node, key )
Returns the text of a key in the node’s resolver
prototype . supportsInterface ( node, interfaceId )
Checks if the interfaceId is supported by the node’s resolver