Resolve

resolveDomain

Resolves an Unstoppable domain and returns the address (asynchronous).

Options:

  • currency(optional): The currency to query. Available values : eth, 0x1. Default value : eth.

  • domain (required): Domain to be resolved.

// get polygon NFTs for address
const options = { currency: 'eth', domain: 'brad.crypto' };
const resolve = await Moralis.Web3API.resolve.resolveDomain(options );

Example result:

{
"address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"
}