Gets the linked profiles for the connected in-app or ecosystem wallet.
import { inAppWallet } from "thirdweb/wallets"; const wallet = inAppWallet();wallet.connect({ strategy: "google" }); const profiles = await getProfiles({ client,}); console.log(profiles[0].type);console.log(profiles[0].details.email);
function getProfiles( args: GetAuthenticatedUserParams,): Promise<Array<Profile>>;
let args: { client: ThirdwebClient; ecosystem?: Ecosystem };
let returnType: Promise<Array<Profile>>;
An array of accounts user profiles linked to the connected wallet.