> For the complete documentation index, see [llms.txt](https://dev.uniultra.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.uniultra.xyz/docs/sdks-and-apis/hedera-api/miscellaneous/transactionresponse.md). Agents can also search and read this documentation through its [MCP server](https://dev.uniultra.xyz/docs/~gitbook/mcp).

# 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](https://dev.uniultra.xyz/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. |
