Docs

getUserEmail

Retrieves the authenticated user email for the active in-app wallet.

Example

import { getUserEmail } from "thirdweb/wallets/in-app";
const email = await getUserEmail({ client });
console.log(email);

Parameters

Returns

The authenticated user email if logged in and wallet initialized, otherwise undefined.