You can use the useProfiles hook to fetch linked profiles for the current wallet.
useProfiles
import { useProfiles } from "thirdweb/react"; const { data: profiles } = useProfiles(); console.log("Type:", profiles[0].type); // "discord"console.log("Email:", profiles[0].details.email); // "john.doe@example.com"
Note that the email field above will differ based on the profile type. We list the expected field below in our list of strategies.
email
details
"guest"
id
"email"
"phone"
phone
"passkey"
"google"
"discord"
"telegram"
"farcaster"
"line"
"apple"
"facebook"
"wallet"
address
"jwt"
"auth_endpoint"