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: ResolveTextOptions;
let returnType: Promise<null | string>;
A promise that resolves to the text record.