getProfileFollowers
Get followers
of a specified user.
How to use?
const { data, error } = await orbis.getProfileFollowers(did);
Parameters
did
- DID of a profile we are querying followers of
Returns
Returns an array of followers for a given did
.
[
{
did: "did:pkh:...",
details: {
did: "did:pkh:...",
profile: {
username: "Baptiste",
description: "",
pfp: "https://..."
}
}
},
{
did: "did:pkh:...",
details: {
did: "did:pkh:...",
profile: {
username: "Baptiste",
description: "",
pfp: "https://..."
}
}
},
...
]