Skip to main content

Resolve Unstoppable domain

GEThttps://deep-index.moralis.io/api/v2/resolve/:domain

Resolve a specific Unstoppable domain to its address.

PATH PARAMS
domainstringrequired
The domain to be resolved
QUERY PARAMS
currencystring
The currency to query
Responses
API KEY
import Moralis  from 'moralis';

try {
const domain = 'brad.crypto';

await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});

const response = await Moralis.EvmApi.resolve.resolveDomain({
domain,
});

console.log(response?.result);
} catch (e) {
console.error(e);
}

Response Example
{
"address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"
}