Block list
Page through canonical block headers from the indexed head back to genesis. Fetch an individual block to include its transactions.
GET
/blocksParameters
limitQuery · optional- Page size from 1 to 100. Defaults to 20.
cursorQuery · optional- Pass nextCursor from the preceding response with the same filters. A removed snapshot returns HTTP 409. Start again without the cursor.
Request · cURL
curl -fsS 'https://api.qlattice.xyz/dev/v1/blocks'
Response fields
indexedHeight, indexedHashInteger / hash- Canonical snapshot used for every page in this traversal.
itemsArray- Records ordered newest first, then by descending position within each block.
nextCursorString or null- Use for the next page. Null means you have reached the end.