Skip to main content

Resolve ENS domain

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

Reverse resolve a given ETH address to its ENS domain.

PATH PARAMS
addressstringrequired
The address to be resolved
Responses
API KEY
import Moralis  from 'moralis';

try {
const address = '0x1234567890123456789012345678901234567890';

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

const response = await Moralis.EvmApi.resolve.resolveAddress({
address,
});
console.log(response?.result);
} catch (e) {
console.error(e);
}

Response Example
{
"name": "Vitalik.eth"
}