Gets the linked profiles for the provided wallet. This method is only available for in-app wallets.
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);
function getProfiles( wallet: Wallet<"inApp" | `ecosystem.${string}`>,): Promise<Array<Profile>>;
let wallet: Wallet<"inApp" | `ecosystem.${string}`>;
let returnType: Promise<Array<Profile>>;
An array of accounts user profiles linked to the current wallet.