resolveName

Resolves the primary name for a specified address.

Example

import { resolveName } from "thirdweb/extensions/ens";
const name = await resolveName({
client,
address: "0x1234...",
});

Parameters

Returns

A promise that resolves to the Ethereum address.