# TransactionResponse

When the client sends the node a transaction of any kind, the node replies with this, which simply says that the transaction passed the precheck (so the node will submit it to the network) or it failed (so it won't). To learn the consensus result, the client should later obtain a receipt (free), or can buy a more detailed record (not free).

| Field                         | Type                                                                             | Description                                                                                                                   |
| ----------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `nodeTransactionPrecheckCode` | [ResponseCodeEnum](/docs/sdks-and-apis/hedera-api/miscellaneous/responsecode.md) | The response code that indicates the current status of the transaction.                                                       |
| `cost`                        | uint64                                                                           | If the response code was INSUFFICIENT\_TX\_FEE, the actual transaction fee that would be required to execute the transaction. |


---

# 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://dev.uniultra.xyz/docs/sdks-and-apis/hedera-api/miscellaneous/transactionresponse.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.
