Retrieving Linked Profiles

You can use the useProfiles hook to fetch linked profiles for the current wallet.

import { useProfiles } from "thirdweb/react";
const { data: profiles } = useProfiles();
console.log("Type:", profiles[0].type); // "discord"
console.log("Email:", profiles[0].details.email); // "[email protected]"

Note that the email field above will differ based on the profile type. We list the expected field below in our list of strategies.

List of Strategies

StrategyTypedetails Field
Guest"guest"id
Email"email"email
Phone"phone"phone
Passkey"passkey"id
Google"google"email
Discord"discord"email
Telegram"telegram"id
Farcaster"farcaster"id
Line"line"id
Apple"apple"email
Facebook"facebook"email
Wallet"wallet"address
JWT"jwt"id
Auth Endpoint"auth_endpoint"id