Fetch the confidence of a specific block
Allows us to fetch the confidence in % for a given block number.
Params:
- block number
Response:
- block number
- confidence in %
- serialised confidence
curl "localhost:7007/v1/confidence/1"
Sample Response:
{
"block": 1,
"confidence": 93.75,
"serialised_confidence": "5232467296"
}
If confidence is not computed, and specified block is before the latest processed block:
"Not synced"
If confidence is not computed, and specified block is after the latest processed block:
"Not found"