# Lithos client information

`GET /info` · Lithos client API · Info

Source: https://lithosprotocol.org/docs/api/get-lithos-info

Get the detailed synchronization state, last committed cursor, and independent availability of canonical state, the Miner Dictionary, and mempool processing.

## Responses

### 200: Lithos info object

`LithosInfo`

- `network` (string, required, one of MAINNET, TESTNET): The Ergo network this client is configured for.
- `numPoolBlocks` (integer · int32, required): Number of usable rollups in the current canonical view. This is zero while canonical synchronization is unavailable. 
- `synced` (boolean, required): Whether canonical synchronization is caught up and usable
- `status` (string, required, one of Starting, CatchingUp, Ready, Stale, Reorganizing, SyncFailed): Detailed synchronization-state name
- `height` (integer · int32): Height of the last committed block, when one has committed
- `blockId` (string): Id of the last committed block, when one has committed
- `canonicalReason` (string): Why canonical state is unusable, when it is unavailable
- `minerDictionaryAvailable` (boolean, required): Whether the Miner Dictionary can be read and committed against
- `minerDictionaryReason` (string): Why the Miner Dictionary is unusable, when it is unavailable
- `mempoolAvailable` (boolean, required): Whether mempool processing has no recorded availability failure
- `mempoolReason` (string): Why mempool processing is unavailable, when it is unavailable

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

## Example response

```json
{
  "network": "MAINNET",
  "numPoolBlocks": 64,
  "synced": true,
  "status": "Ready",
  "height": 484719,
  "blockId": "2a7de28034ca523685d9a03c30d06c36863a804f69c2e4add4d83c8c2ba26271",
  "canonicalReason": "catching up at height 484719 of 484900",
  "minerDictionaryAvailable": true,
  "minerDictionaryReason": "Miner Dictionary reconstruction failed",
  "mempoolAvailable": true,
  "mempoolReason": "mempool transaction scan exceeded its configured bound"
}
```
