# General Calls

## General Calls

### help

Returns a list of all commands supported by the wallet API.

This lists each command, along with its arguments and return types. For more detailed help on a single command, use [`gethelp()`](/api/peerplays-wallet-api/general-calls.md#gethelp)

```cpp
string graphene::wallet::wallet_api::help()const
```

{% tabs %}
{% tab title="Return" %}
A multi-line string suitable for displaying on a terminal.
{% endtab %}
{% endtabs %}

### gethelp

Returns detailed help on a single API command.

```cpp
string graphene::wallet::wallet_api::gethelp(
    const string &method)const
```

{% tabs %}
{% tab title="Parameters" %}

* **`method`**: the name of the API command you want help with
  {% endtab %}

{% tab title="Return" %}
A multi-line string suitable for displaying on a terminal.
{% endtab %}
{% endtabs %}

### info

Returns info about head block, chain\_id, maintenance, participation, current active witnesses and committee members.

```cpp
variant graphene::wallet::wallet_api::info()
```

{% tabs %}
{% tab title="Return" %}
Runtime info about the blockchain
{% endtab %}
{% endtabs %}

### about

Returns info such as client version, git version of graphene/fc, version of boost, openssl etc.

```cpp
variant_object graphene::
wallet
::
wallet_api
::about()const
```

{% tabs %}
{% tab title="Return" %}
Compile time info and client and dependencies versions.
{% endtab %}
{% endtabs %}

#### network\_add\_nodes

```cpp
void graphene::wallet::wallet_api::network_add_nodes(
    const vector<string> &nodes)
```

{% tabs %}
{% tab title="Parameters" %}
**`nodes`**: Nodes to be added.<br>
{% endtab %}
{% endtabs %}

### network\_get\_connected\_peers

```cpp
vector<variant> graphene::wallet::wallet_api::network_get_connected_peers()
```

{% tabs %}
{% tab title="Return" %}
List of connected peers.
{% endtab %}
{% endtabs %}


---

# 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://community.peerplays.com/api/peerplays-wallet-api/general-calls.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.
