blocks
Search and filter blocks with pagination.
Schema Definition
blocks(
first: Int = 10
after: Cursor
where: BlockFilter
orderBy: BlockOrderBy
orderDirection: OrderDirection
): BlockList!
Arguments
| Argument | Type | Description |
|---|---|---|
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. |
where | BlockFilter input | Filter criteria for blocks. |
orderBy | BlockOrderBy enum | Field to sort results by. |
orderDirection | OrderDirection enum | Sort direction (ascending or descending). |
Return Type
| Type | Description |
|---|---|
BlockList! object | Paginated list of blocks. |