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 "https://api.lightclient.mainnet.avail.so/v1/status"
Sample Response:
{
"block_num": 89,
"confidence": 93.75,
"app_id": 1
}
If there are no processed blocks:
"Not found"