resolveAddress

Resolves an ENS name to an Ethereum address.

Example

import { resolveAddress } from "thirdweb/extensions/ens";
const address = await resolveAddress({
client,
name: "vitalik.eth",
});

Parameters

Returns

A promise that resolves to the Ethereum address.