ryft.getProfile()
Returns the profile details of a user.
let { data, error } = await ryft.getProfile(did);
Parameters
Returns
{
did: "did:pkh:...",
profile: {
username: "Alice",
description: "",
pfp: "https://..."
},
encrypted_email: {
encryptedString: "...",
encryptedSymmetricKey: "",
accessControlConditions: ""
},
count_followers: 4,
count_following: 2,
last_activity_timestamp: 1656580635
}