Retrieves the authenticated user email for the active in-app wallet.
import { getUserEmail } from "thirdweb/wallets/in-app"; const email = await getUserEmail({ client });console.log(email);
function getUserEmail( options: GetAuthenticatedUserParams,): Promise<undefined | string>;
The arguments for retrieving the authenticated user.
let options: { client: ThirdwebClient; ecosystem?: Ecosystem };
let returnType: Promise<undefined | string>;
The authenticated user email if logged in and wallet initialized, otherwise undefined.