Resolution constructor
Resolves give domain name to a specific currency address if exists
domain name to be resolved
currency ticker like BTC, ETH, ZIL
A promise that resolves in an address or null
Resolves given domain to a specific currency address or throws an error
domain name
currency ticker such as
Resolves the ipfs email field from whois configurations
domain name
A Promise that resolves in an email address configured for this domain whois
Resolves the ipfs hash configured for domain records on ZNS
domain name
A Promise that resolves in ipfsHash
Resolves the ipfs redirect url for a supported domain records
domain name
A Promise that resolves in redirect url
Checks if the domain is in valid format
domain name to be checked
Checks if the domain is supported by the specified network as well as if it is in valid format
domain name to be checked
Produce a namehash from supported naming service
domain name to be hashed
Namehash either for ENS or ZNS
Owner of the domain
domain name
An owner address of the domain
Resolves the given domain
domain name to be resolved
A promise that resolves in an object
This method is only for ens at the moment. Reverse the ens address to a ens registered domain name
address you wish to reverse
currency ticker like BTC, ETH, ZIL
Domain name attached to this address
Generated using TypeDoc
Blockchain domain Resolution library - Resolution.
let Resolution = new Resolution({blockchain: {ens: {url: 'https://mainnet.infura.io', network: 'mainnet'}}}); let domain = brad.zil let Resolution = Resolution.address(domain);