orbis.getProfile()
Returns the profile details of a user
.
How to use?
let { data, error } = await orbis.getProfile(did);
Parameters
did
: Did of the user
Returns
{
did: "did:pkh:...",
details: {
username: "Baptiste",
description: "",
pfp: "https://..."
},
count_followers: 0,
count_following: 0,
last_activity_timestamp: 1656580635
}
Next steps
Explore other parts of the API.