Fetch Groups
This guide will help you with fetching Groups from Lens API.
Get a Group
- GraphQL
- React
- TypeScript
Use the group query to fetch a single Group by address or by transaction hash.
Fetching a Group by transaction hash is extremely useful when building a user experience where a user creates a Group and needs it presented back to them.
List Groups
- GraphQL
- React
- TypeScript
Use the paginated groups query to fetch a list of Groups based on the provided filters.
See the Pagination guide for more information on how to handle paginated results.
Search Groups
- GraphQL
- React
- TypeScript
Use the paginated searchGroups query to search for Groups based on the provided query.
See the Pagination guide for more information on how to handle paginated results.