Clears the cache. Only applies if caching is enabled.
Resolves an address to a name.
Throws an error under following conditions:
Returns null under following conditions:
Gets all information about a domain by it's name. If you only need to resolve the address, use resolveNameToAddress
instead.
Resolves a domain name to an address.
Throws an error under following conditions:
Returns null under following conditions:
Gets all information about a reverse record by it's address. If you only need to resolve the name, use resolveAddressToName
instead.
Generated using TypeDoc
An interface that defines functions for resolving names and addresses.