# Diagnostics using the Network UI

The **Human Network Interface** is a web-based utility that enables node operators to validate their node's network configuration and check their participation status in the consensus mechanism.

It offers a streamlined interface to interact with a set of RPC endpoints that help perform connectivity checks and fetch quorum-related data.

***

### Features

#### Network Connectivity Checks

* **`mishti_ping()`**\
  Check if your node's RPC interface is reachable.\
  \&#xNAN;*Requires your `rpc_url` as a parameter.*
* **`mishti_quic_ping(peer_id: string)`**\
  Verify if your node is reachable over the QUIC protocol.\
  \&#xNAN;*Requires your `peer_id` as a parameter.*

#### Quorum and Election Monitoring

* **`mishti_fetch_voting_power(peer_id: string)`**\
  Retrieve your node’s voting power in the current quorum.\
  \&#xNAN;*Requires your `peer_id` as a parameter.*
* **`mishti_fetch_election_info(peer_id: string)`**\
  Get details about the current election round and quorum state.\
  \&#xNAN;*Requires your `peer_id` as a parameter.*

***

### How to Run the Interface

You can run the Human Network UI locally using Docker:

```bash
docker run -p 3000:3000 -e NEXT_PUBLIC_RELAY_NODE_URL=http://44.217.242.218:8081/ mishtinetwork/network-ui:latest
```

> **Note**\
> Please contact the team to request access to the `mishtinetwork/network-ui:latest` Docker image.

Once the container is running, open <http://localhost:3000> in your browser to access the interface.

***

### Environment Variable

| Variable                     | Description                                                        |
| ---------------------------- | ------------------------------------------------------------------ |
| `NEXT_PUBLIC_RELAY_NODE_URL` | URL of the relay node that exposes the RPC methods used by the UI. |

***

### RPC Reference

| Method                                | Description                           | Required Parameter |
| ------------------------------------- | ------------------------------------- | ------------------ |
| `mishti_ping()`                       | Pings the node via TPC.               | `rpc_url`          |
| `mishti_quic_ping(peer_id)`           | Pings the node over QUIC.             | `peer_id`          |
| `mishti_fetch_election_info(peer_id)` | Fetches current election information. | `peer_id`          |
| `mishti_fetch_voting_power(peer_id)`  | Fetches node’s voting power.          | `peer_id`          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.network.human.tech/for-operators/diagnostics-using-the-network-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
