Vana SDK - v0.1.0
    Preparing search index...

    Interface PaginationParams

    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
    });
    interface PaginationParams {
        limit?: number;
        offset?: number;
        cursor?: string;
    }
    Index

    Properties

    limit?: number

    Maximum number of items to return

    offset?: number

    Number of items to skip

    cursor?: string

    Cursor for cursor-based pagination