> 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-v1-4/api-v1-1/getting-the-details-of-a-transaction.md).

# Getting the details of a transaction

Retrieve the details of a single transaction.

**Path Parameter**

| Parameter | Type   | Required | Description                    |
| --------- | ------ | -------- | ------------------------------ |
| `hash`    | string | Yes      | A hash string of a transaction |

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

| Parameter      | Type   | Description                                                       |
| -------------- | ------ | ----------------------------------------------------------------- |
| `hash`         | string | Hash representation of the transaction                            |
| `amount`       | string | Amount of Hycon transferred in the transaction                    |
| `fee`          | string | Transaction fee, in Hycon, to complete the transaction            |
| `from`         | string | Sender Hycon address                                              |
| `to`           | string | Recipient Hycon address                                           |
| `blockHash`    | string | Hash representation of the block that contains the transaction    |
| `nonce`        | number | Nonce value of the transaction from the address                   |
| `receiveTime`  | number | Timestamp when the transaction is confirmed                       |
| `estimated`    | string | Amount of Hycon needed to complete the transaction                |
| `confirmation` | number | Number of nodes that have processed and validated the transaction |

**Response Error Table**

| Status | Error               | Message                                              |
| ------ | ------------------- | ---------------------------------------------------- |
| 400    | `INVALID_PARAMETER` | address was not provided                             |
| 404    | `NOT_FOUND`         | the resource cannot be found / currently unavailable |

GET/api/v1/tx/{hash}

**Example request**

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

**Response (Success)**

```
{
    "hash": "A3CpvMaSm92mYbShhRwxFuXQYrNba1iZwBeCRrfhoeBn",
    "amount": "25.995459977",
    "fee": "0.000001",
    "from": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
    "to": "H3zYvzxTDGEF9fZtmzLV78h38J4BR2qnL",
    "blockHash": "CW1yZ5ii51zruXn13hTfQaUNmXtxQCPnPVRJYPt1Vydf",
    "nonce": 2120339,
    "receiveTime": 1542011323948,
    "estimated": "25.995460977",
    "confirmation": 85
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://teamhycon.gitbook.io/docs/api-v1-4/api-v1-1/getting-the-details-of-a-transaction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
