Resolves the primary name for a specified address.
import { resolveName } from "thirdweb/extensions/ens";const name = await resolveName({ client, address: "0x1234...",});
function resolveName( options: ResolveNameOptions,): Promise<null | string>;
The options for resolving an ENS address.
let options: ResolveNameOptions;
let returnType: Promise<null | string>;
A promise that resolves to the Ethereum address.