Skip to main content

rest_node_service_get_validators

Function rest_node_service_get_validators 

Source
async fn rest_node_service_get_validators<S>(
    __arg0: State<Arc<S>>,
    headers: HeaderMap,
    __arg2: Query<GetValidatorsRequest>,
) -> Result<Json<ValidatorsResponse>, RestError>
where S: NodeService + Send + Sync + 'static,
Expand description

GetValidators - JSON endpoint.

GET /v2/node/validators