getSocialProfiles

Fetches the wallet's available social profiles.

Example

import { getProfiles } from "thirdweb/social";
const profiles = await getProfiles({
address: "0x...",
client,
});
function getSocialProfiles(args: {
address: string;
client: ThirdwebClient;
}): Promise<Array<SocialProfile>>;

Parameters

The arguments to use when fetching the social profiles.

Type

let args: { address: string; client: ThirdwebClient };

Returns

let returnType: {
avatar?: string;
bio?: string;
name?: string;
type: "farcaster" | "lens" | "ens";
};

A promise resolving to the array of social profiles for the given address.