getProfiles

Gets the linked profiles for the provided wallet. This method is only available for in-app wallets.

Example

import { inAppWallet } from "thirdweb/wallets";
const wallet = inAppWallet();
wallet.connect({ strategy: "google" });
const profiles = await getProfiles(wallet);
console.log(profiles[0].type);
console.log(profiles[0].details.email);

Parameters

Returns

An array of accounts user profiles linked to the current wallet.