# Response (generate/recover wallet)

#### Response (generate/recover wallet) `200 OK, application/json` <a href="#response-generaterecover-wallet-200-ok-applicationjson" id="response-generaterecover-wallet-200-ok-applicationjson"></a>

| Parameter    | Type   | Description                                                                                                    |
| ------------ | ------ | -------------------------------------------------------------------------------------------------------------- |
| **name**     | string | The created wallet name.                                                                                       |
| **address**  | string | The created or recovered wallet public address.                                                                |
| **balance**  | string | The total circulation of HYCON coin.                                                                           |
| **nonce**    | number | The transaction number sent from the address.                                                                  |
| **mnemonic** | string | Random mnemonic or mnemonic used to create the wallet. (*Only when request mnemonic or create/recover wallet*) |
| **index**    | number | The index of the HD wallet to lookup. (*HD Wallet only*)                                                       |

**Response Error Table**

| Status | Error         | Message               |
| ------ | ------------- | --------------------- |
| 400    | `BAD_REQUEST` | wallet duplicate name |

**Response (Success - HD Wallet)**

```
{
    "name": "HD_wallet",
    "address": "H3jbvMss7E2xjso9sxcSTjw2WcQ5e6Qjg",
    "balance": "0",
    "nonce": 0,
    "mnemonic":"위성 그제서야 변명 슬쩍 여행 할머니 하반기 범위 햇살 월세 마음 조직",
    "index": 3
}
```

**Response (Success - Single Address Wallet)**

```
{
    "name": "Non_HD_wallet",
    "address": "H4M6CQ41SRjSfKpucKfNCsRE9xk2k7hSc",
    "balance": "0",
    "nonce": 0,
    "mnemonic": "army pumpkin disease sniff raw since nut icon biology word cute hover"
}
```


---

# 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://teamhycon.gitbook.io/docs/api-v3-3/untitled-2/response-generate-recover-wallet.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.
