Skip to main content

blocks

Search and filter blocks with pagination.

Schema Definition

blocks(
first: Int = 10
after: Cursor
where: BlockFilter
orderBy: BlockOrderBy
orderDirection: OrderDirection
): BlockList!

Arguments

ArgumentTypeDescription
first
Int scalar
Maximum number of results to return (default: 10, max: 100).
after
Cursor scalar
Cursor for pagination. Pass the endCursor from a previous query to get the next page.
whereFilter criteria for blocks.
orderByField to sort results by.
orderDirectionSort direction (ascending or descending).

Return Type

TypeDescription
BlockList! object
Paginated list of blocks.