Resolves an ENS name to an Ethereum address.
import { resolveAddress } from "thirdweb/extensions/ens";const address = await resolveAddress({ client, name: "vitalik.eth",});
function resolveAddress( options: ResolveAddressOptions,): Promise<`0x${string}`>;
The options for resolving an ENS address.
let options: { client: ThirdwebClient; name: string; resolverAddress?: string; resolverChain?: Chain;};
let returnType: Promise<`0x${string}`>;
A promise that resolves to the Ethereum address.