> For the complete documentation index, see [llms.txt](https://calnix.gitbook.io/eth-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://calnix.gitbook.io/eth-dev/reading-txn-input-data.md).

# Reading txn input data

Any transaction with data payload is meant to be addressed to a smart contract. These types of transactions usually invoke a function on smart contract.

![](/files/FtPinlzTa3XwSTaaPQRT)

The data payload is the hex data we see here. It is bytecode that the EVM will understand and execute. Let's breakdown the transaction data:

{% code overflow="wrap" %}

```bash
0xe2bbb15800000000000000000000000000000000000000000000000175150904d98ada050000000000000000000000000000000000000000000000000000000000000000

0x
e2bbb158
00000000000000000000000000000000000000000000000175150904d98ada05
050000000000000000000000000000000000000000000000000000000000000000
```

{% endcode %}

<figure><img src="/files/No3y2dPvXMIF1WzvB5Km" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
32 bytes == uint256

* 256 bits -> 64 hex characters    \[1 hex -> 4 bits]
* 1 byte -> 2 hex characters -> 8 bits
  {% endhint %}


---

# 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://calnix.gitbook.io/eth-dev/reading-txn-input-data.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.
