Pagination
Large amounts of collectibles can be returned during querying, this section will help you manage the results to provide better UX to your users.
By default, the Assets Query will return 10 results.
Throughout the API we use Relay compliant pagination.
Page Information
This means we allow the following properties in pageInfo
:
endCursor
- The cursor of the last item returnednextPage
- The cursor for the start of the next page (This is the same asendCursor
)startCursor
- The cursor of the first element retrievedhasNextPage
- If there are more pages of datahasPreviousPage
- If there is a previous page of data (Not supported)
In Query Arguments
When running a paginated query the following properties in the query arguments are available:
after
- The cursor to start from. Typically this would be theendCursor
from a previous queryfirst
- The amount of items that you are requesting to be returned
Usage
Last updated