useProfiles

Retrieves all linked profiles for the current wallet.

Example

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"
function useProfiles(): UseQueryResult<Array<Profile>>;

Returns

let returnType: UseQueryResult<Array<Profile>>;

A React Query result containing the linked profiles for the connected in-app wallet.