Pagination parameters for controlling result set size and navigation.
Used across SDK methods that return lists of items to control how many items are returned and to navigate through large result sets efficiently.
const pagination: PaginationParams = { limit: 20, // Return 20 items offset: 40, // Skip first 40 items (page 3) cursor: 'eyJpZCI6MTIzfQ==' // Or use cursor-based pagination};const files = await vana.data.getUserFiles({ owner: userAddress, pagination}); Copy
const pagination: PaginationParams = { limit: 20, // Return 20 items offset: 40, // Skip first 40 items (page 3) cursor: 'eyJpZCI6MTIzfQ==' // Or use cursor-based pagination};const files = await vana.data.getUserFiles({ owner: userAddress, pagination});
Optional
Maximum number of items to return
Number of items to skip
Cursor for cursor-based pagination
Pagination parameters for controlling result set size and navigation.
Used across SDK methods that return lists of items to control how many items are returned and to navigate through large result sets efficiently.
Example