# Getting details of an address

**Path Parameters**

| Parameter | Type   | Required | Description            |
| --------- | ------ | -------- | ---------------------- |
| `address` | string | Yes      | A Hycon wallet address |

**Response - `200 OK, application/json`**

| Parameter       | Type   | Description                                                    |
| --------------- | ------ | -------------------------------------------------------------- |
| `hash`          | string | A Hycon wallet address                                         |
| `balance`       | string | The amount of Hycon in the address                             |
| `txs`           | list   | A list of transactions sent to or received from by the address |
| `pendings`      | list   | A list of pending transactions awaiting confirmation           |
| `minedBlocks`   | list   | A list of mined blocks by the address                          |
| `pendingAmount` | string | The amount of Hycon pending in the address                     |

**Response Error Table**

| Status | Error               | Message                |
| ------ | ------------------- | ---------------------- |
| 400    | `INVALID_PARAMETER` | Error: {address error} |

GET/api/v1/address/{address}

**Example request**

```
$ curl -X GET http://localhost:2442/api/v1/address/H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT \
    -H 'Content-Type: application/json;charset=utf-8'
```

**Response (Success)**

```
{
    "hash": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
    "balance": "780622.88691486",
    "nonce": 2178449,
    "txs": [
        {
            "hash": "92jiapATwyUj2GhWTvs2kXg4jcLeaLsFXgA3b9T42XDQ",
            "amount": "1.346689458",
            "fee": "0.000001",
            "from": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
            "to": "H4GxCHsAjDLhDBGTMpiwPK9cKAUxwEXmj",
            "estimated": "1.346690458",
            "receiveTime": 1542165841013,
            "nonce": 2178449
        },
        ...
    ],
    "pendings": [],
    "minedBlocks": [
        {
            "blockhash": "7Wn8GbtXEGDUcctRYPk71Jij6ya3o6dvitQgLN9JmU8K",
            "timestamp": 1542165848576,
            "miner": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
            "feeReward": "120"
        },
        ...
    ],
    "pendingAmount": "0"
}
```
