Offset pagination
An endpoint accepts the page number and breaks down the returned entries into pages. See the required parameters in the table below.| Parameter | Description | Sample Value |
|---|---|---|
| size | number of returned entries | 20 |
| page | queried page | 3 |
| sortBy | sorting parameter | AGE |
| orderBy | the order in which the values are returned | ASC - oldest to latest DESC - latest to oldest |
Cursor Pagination
An endpoint accepts a parameter for a cursor (transaction hash, party ID, etc.) and returns the following entries before or after it. See the required parameters in the table below.| Parameter | Description | Sample Value |
|---|---|---|
| nextCursor | the entry (transaction, party ID, etc.) after or before which other entries will be returned | 20 |
| size | number of returned entries | 20 |
| page | queried page | 3 |
| sortBy | sorting parameter | AGE |
| orderBy | the order in which the values are returned | ASC - oldest to latest DESC - latest to oldest |