Resolves an ENS name and key to the specified record.
import { resolveText } from "thirdweb/extensions/ens";const twitterUsername = await resolveText({ client, name: "vitalik.eth", key: "com.twitter",});
function resolveText( options: ResolveTextOptions,): Promise<null | string>;
The options for resolving an ENS address.
let options: { client: ThirdwebClient; key: string; name: string; resolverAddress?: string; resolverChain?: Chain;};
let returnType: Promise<null | string>;
A promise that resolves to the text record.