# List all pool blocks

`GET /blocks/all` · Lithos client API · Blocks

Source: https://lithosprotocol.org/docs/api/get-all-pool-blocks

List a page of confirmed metadata 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: List of pool block objects describing all tracked LFSM rollups

`PoolBlock[]`

- `utxoId` (string, required): UTXO id of Lithos contract currently processing this block
- `blockId` (string, required): Header id associated with this block
- `blockHeight` (integer · int32, required): Height of this Lithos-mined block
- `numMiners` (integer · int32, required): Number of miners which are currently being processed by this Lithos pool contract
- `phase` (string, required): Current LFSM phase of the associated Lithos contract

### 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/all"
```

## Example response

```json
[
  {
    "utxoId": "88c297f99da7172f6aa20efbead69aa40e2b7734a1873d66ca1db6b19d214db6",
    "blockId": "2a7de28034ca523685d9a03c30d06c36863a804f69c2e4add4d83c8c2ba26271",
    "blockHeight": 42853,
    "numMiners": 12,
    "phase": "HOLDING"
  }
]
```
