SDK Reference
Methods
GetProfile

getProfile

Returns details of a profile.

How to use?

const { data, error } = await orbis.getProfile(did);

Parameters

  • did - DID of a profile you want to query

Returns

{
  did: "did:pkh:...",
  profile: {
    username: "Baptiste",
    description: "",
    pfp: "https://..."
  },
  encrypted_email: {
    encryptedString: "...",
    encryptedSymmetricKey: "",
    accessControlConditions: ""
  },
  count_followers: 132,
  count_following: 31,
  last_activity_timestamp: 1656580635
}