# Block info for multiple UTXO ids

`POST /blocks/utxoIds` · Lithos client API · Blocks

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

Get confirmed pool-block metadata for the requested UTXO ids from the current usable synchronization view. The whole request returns 404 if any id is unavailable.

## Request body

`string[]`, application/json.

## Responses

### 200: Pool blocks corresponding to ids provided

`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

### 404: Not all ids correspond to an existing pool block

`ApiError`

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

### 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 POST "http://localhost:9000/blocks/utxoIds" \
  -H "Content-Type: application/json" \
  -d '[ "88c297f99da7172f6aa20efbead69aa40e2b7734a1873d66ca1db6b19d214db6" ]'
```

## Example response

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