> For the complete documentation index, see [llms.txt](https://teamhycon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teamhycon.gitbook.io/docs/api-v3-3/untitled-2/response-generate-recover-wallet.md).

# 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"
}
```
