GET /query
Query the oracle for the liveness status of a target node. Returns confidence scores for whether the node is alive, dead, or unknown, along with evidence and partition state information.Query Parameters
The ID of the node to query liveness status for
Response
The ID of the queried target node
Confidence score that the target node is alive (0.0 to 1.0)
Confidence score that the target node is dead (0.0 to 1.0)
Confidence score representing uncertainty about the node’s status (0.0 to 1.0)
Whether the oracle refused to provide a determination
Explanation for why the query was refused (only present if refused is true)
Final determination of whether the node is considered dead
Number of witnesses that contributed to this determination
Measure of disagreement among witnesses (0.0 to 1.0)
Current partition state assessment for the target node
List of evidence strings supporting the determination
Response Example
Error Codes
- Missing
targetparameter - Invalid
targetID format (must be valid uint64)
Request method is not GET