API reference
Fetch the status of the latest block processed by the light client

Fetch the status of the latest block processed by the light client

Retrieves the status of the latest block processed by the light client.

Params:

  • None

Response:

  • Latest block number
  • Confidence in %
  • App ID
curl "localhost:7007/v1/status"
Sample Response:
{ 
  "block_num": 89,
  "confidence": 93.75,
  "app_id": 1 
}

If there are no processed blocks:

"Not found"