# Block info by UTXO id

`GET /blocks/{utxoId}` · Lithos client API · Blocks

Source: https://lithosprotocol.org/docs/api/get-block-by-id

Get confirmed metadata for a specific pool block in the current usable synchronization view. Unconfirmed mempool projections are not included.

## Parameters

| Name | In | Type | Required | Description |

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

| `utxoId` | path | string | yes | Id of the UTXO representing a Lithos block |

## Responses

### 200: Pool block object which shows information about the given Lithos block

`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: UTXO with this id doesn't exist

`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 GET "http://localhost:9000/blocks/{utxoId}"
```

## Example response

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