> For the complete documentation index, see [llms.txt](https://docs.novabloq.com/web3-metamask/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novabloq.com/web3-metamask/elements-details/web3-utils/get-transaction-details.md).

# Get Transaction Details

Get all the details about a transaction.\
This can be any transaction that you have the hash for, not necessarily from the current connected wallet.

## &#x20;<mark style="background-color:blue;">Events</mark>&#x20;

<table><thead><tr><th width="170">Event name</th><th>Details</th></tr></thead><tbody><tr><td>TX Data Ready</td><td>All states will be available only after this event triggers</td></tr></tbody></table>

## &#x20;<mark style="background-color:blue;">States</mark>&#x20;

<table><thead><tr><th width="258">State name</th><th width="102.33333333333331">Type</th><th>Details</th></tr></thead><tbody><tr><td>TX: Amount sent</td><td>Number</td><td>Will be empty if none was sent.</td></tr><tr><td>TX: Sent to Address</td><td>Text</td><td></td></tr><tr><td>TX: Sent from Address</td><td>Text</td><td>Wallet Address or Contract Address</td></tr><tr><td>TX: Contract used</td><td>Text</td><td>If it is not an interaction with a contract, it will be empty.</td></tr><tr><td>TX: Timestamp</td><td>Date</td><td></td></tr><tr><td>TX: Status</td><td>Text</td><td><code>Success, Pending, Error</code></td></tr><tr><td>TX: Full JSON Data</td><td>Text</td><td>Full JSON response in text format, you can extract data from it using Bubble's integrated regex feature.</td></tr><tr><td>Transaction - confirmations</td><td>Number</td><td></td></tr></tbody></table>


---

# 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:

```
GET https://docs.novabloq.com/web3-metamask/elements-details/web3-utils/get-transaction-details.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.
