Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Prefetch Cursors

POST {api-url}/prefetchCursors?ns={community}

Pre-calculates and returns a map of all cursors needed to navigate through a transaction result set page by page. Useful for retrieving a lot of data in parallel or in batches.

FieldTypeRequirementDescription
UIDxIntegerRequiredThe unique internal identifier for this disbursement.
PageSizeIntegerOptionalThe number of transactions to return per page. Max 1000, defaults to 1000.
SortFieldStringOptionalThe field to sort by (e.g., Amount).
SortOrderStringOptionalThe sort order (asc or desc).
FiltersArrayOptionalAn array of filter objects. See Sort and Filter Rules.
{
"UIDx": 637,
"PageSize": 1000,
"SortField": "Amount",
"SortOrder": "asc",
"Filters": [
{
"Field": "Amount",
"Operator": "<",
"Value": 5000
}
]
}
Terminal window
curl -X POST '{api-url}/prefetchCursors?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"UIDx":637,"PageSize":1000,"SortField":"Amount","SortOrder":"asc","Filters":[{"Field":"Amount","Operator":"<","Value":5000}]}'