useSocialProfiles

Fetches the wallet's available social profiles.

Example

import { useSocialProfiles } from "thirdweb/react";
const { data: profiles } = useSocialProfiles({
client,
address: "0x...",
});
function useSocialProfiles(options: {
address: undefined | string;
client: ThirdwebClient;
}): UseQueryResult<Array<SocialProfile>, Error>;

Parameters

The options to use when fetching the social profiles.

Type

let options: { address: undefined | string; client: ThirdwebClient };

Returns

let returnType: UseQueryResult<Array<SocialProfile>, Error>;

A React Query result containing the social profiles.