Docs

resolveAddress

Resolves an ENS name to an Ethereum address.

Example

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

Parameters

Returns

A promise that resolves to the Ethereum address.