Getting Profiles
#
Find and load a single profileExample:
Output:
๐ AnyAccountId: AccountId | string
๐ ProfileData: CommonData < SocialAccountWithId, ProfileContent > & { profile?: Profile }
#
Find and load an array of profiles#
Find and load structs and contents separately#
Get structsExample:
Output:
#
Get contentsFind and load off-chain information about profiles from IPFS by a given cid
.
Profile information only exists if there is a corresponding JSON file that represents the profile's content on IPFS.
Example:
Output:
๐ IpfsCid: string | CID | IpfsCid
๐ ContentResult <T>: Record<CidAsStr, T>
๐ ProfileContent: { about: string; avatar: string; name: string }