Skip to main content

rest_node_service_get_all_validators

Function rest_node_service_get_all_validators 

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

GetAllValidators - JSON endpoint.

GET /v2/node/all-validators