---
description: api/v1
---

# Getting details of an HD wallet

**Request Body - `Content-Type: application/json;charset=utf-8`**

| Parameter  | Type   | Required | Description                          |
| ---------- | ------ | -------- | ------------------------------------ |
| `name`     | list   | Yes      | Name of your HD Wallet               |
| `password` | string | Yes      | Password of your wallet              |
| `index`    | string | No       | Starting index of wallet to return   |
| `count`    | string | No       | Number of wallet addresses to return |

**Response Error Table**

| Status | Error       | Message                    |
| ------ | ----------- | -------------------------- |
| 404    | `NOT_FOUND` | the wallet cannot be found |

POST/api/v1/getHDWallet

**Example request**

```
$ curl -X POST http://localhost:2442/api/v1/getHDWallet \
    -H 'Content-Type: application/json;charset=utf-8' \
    -d '{
      "name": "test",
      "password": "",
      "index": 0,
      "count": 2
    }'
```

**Response (Success)**

```
[
    {
        "address": "H34kywGZSMUdPSCa3rqJLeHaRqigS3Bnt",
        "balance": "0",
        "pendingAmount": "0"
    },
    {
        "address": "H2zTphq19pxGWHgHyitKcXgjH9S37JB9L",
        "balance": "0",
        "pendingAmount": "0"
    }
]
```
