resolveAddress

Take in a Lens handle or local-name and return the wallet address behind that handle/local-name. For example, "lens/vitalik" is a handle, with "lens" being the namespace and "vitalik" being the local name

Example

import { resolveAddress } from "thirdweb/extensions/lens";
const walletAddress = await resolveAddress({
name: "vitalik",
client,
});
function resolveAddress(
): Promise<string>;

Parameters

Type

let options: {
client: ThirdwebClient;
name: string;
overrides?: { chain?: Chain; lensHandleContractAddress?: string };
};

Returns

let returnType: Promise<string>;