Resolves an ENS name to the avatar URL.
import { resolveAvatar } from "thirdweb/extensions/ens";const address = await resolveAvatar({ client, name: "vitalik.eth",});
function resolveAvatar( options: ResolveAvatarOptions,): Promise<null | string>;
The options for resolving an ENS address.
let options: { client: ThirdwebClient; name: string; resolverAddress?: string; resolverChain?: Chain;};
let returnType: Promise<null | string>;
A promise that resolves to the avatar url, or null if not set.