SDK Reference
Methods
Deprecated
GetGroups

getGroups

⚠️

Groups have been deprecated in favor of Contexts. If you're considering Groups for your project, check out createContext instead.


Return an array of Orbis community groups.

How to use?

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

Parameters

None.

Returns

[
    {
        stream_id: 'k...',
        creator: 'did:pkh:...',
        content: {...},
        last_activity_timestamp: 1676535247,
        channels: [...],
        count_members: 78
    },
    ...
]