# List UTXO ids for blocks

`GET /blocks` · Lithos client API · Blocks

Source: https://lithosprotocol.org/docs/api/get-contract-ids

Get a page of UTXO ids (hex encoded) for usable rollups in the current canonically committed synchronization view. The list is empty while canonical synchronization is unavailable.

## Parameters

| Name | In | Type | Required | Description |

|---|---|---|---|---|

| `limit` | query | integer · int32 | no | The number of items in list to return |

| `offset` | query | integer · int32 | no | The offset to start the list from |

## Responses

### 200: Array of UTXO ids

`string[]`

### default: Error

`ApiError`

- `error` (integer, required): Error code
- `reason` (string, required): Error message explaining the reason of the error
- `detail` (string, required): Detailed error description

## Example request

```bash
curl -X GET "http://localhost:9000/blocks"
```

## Example response

```json
[
  "88c297f99da7172f6aa20efbead69aa40e2b7734a1873d66ca1db6b19d214db6"
]
```
