Fetch Apps
This guide will show you how to fetch App data in different ways.
Lens App data has a rich structure that includes the following information:
Addresses of the primitives contracts
App Metadata content
Time of creation
Owner of the App
To illustrate how to fetch apps, we will use the following fragments:
Get an App
- TypeScript
- GraphQL
Use the fetchApp action to fetch a single App by address or by transaction hash.
List Apps
- TypeScript
- GraphQL
Use the paginated fetchApps action to fetch a list of Apps based on the provided filters.
See the Pagination guide for more information on how to handle paginated results.
List App Users
- TypeScript
- GraphQL
Use the paginated fetchAppUsers action to fetch a list of users using an App based on the provided filters.
See the Pagination guide for more information on how to handle paginated results.
List App Feeds
- TypeScript
- GraphQL
Use the paginated fetchAppFeeds action to fetch a list of feeds using an App.
See the Pagination guide for more information on how to handle paginated results.
List App Groups
- TypeScript
- GraphQL
Use the paginated fetchAppGroups action to fetch a list of groups using an App.
See the Pagination guide for more information on how to handle paginated results.
List App Signers
- TypeScript
- GraphQL
Use the paginated fetchAppSigners action to fetch list of signers assigned to an App.
See the Pagination guide for more information on how to handle paginated results.