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


---

# 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-v1-4/api-v1/getting-details-of-an-address.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.
