Readonly
Contains flags for features supported by the name on the network where it is located.
Private
Optional
Remove all DNS records for name
Get Ethereum or other blockchain address associated with name
Get multiple coin addresses associated with name
array of coinIds ['ETH', 'BTC']
['ETH', 'BTC']
Get DNS records of given type. Records are in binary format.
Get expiration date of the domain. Returns null if the domain has no expiration date.
Get resolver contract instance
writable instance will allow calling methods that change data
Return resolver contract address
if true will query blockchain for address even if we have it
Get time to live for the records in seconds. Note that DNS records have TTL specified in the records themselves.
Set multiple coin addresses associated with name in a single transaction.
map of coinId to address {'ETH': '0x1234', 'BTC': 'bc1q...'}
{'ETH': '0x1234', 'BTC': 'bc1q...'}
Samples:
Write DNS data in binary wire format
DNS records encoded in binary format
Generated using TypeDoc
Contains flags for features supported by the name on the network where it is located.