> For the complete documentation index, see [llms.txt](https://developers.aixchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.aixchain.com/http-api/api-list/query-the-network/gettransactioninfobyid.md).

# GetTransactionInfoById

Query the transaction fee, block height by transaction id

**BODY PARAMS**

`{`

**`Value`**` ``string`

`}`

**Note:**  &#x20;

* **value** is transaction hash, i.e. transaction id.

**Example:**

curl --request POST\
\--url <https://api.shasta.trongrid.io/wallet/gettransactioninfobyid\\>
\--header 'Accept: application/json'\
\--header 'Content-Type: application/json'\
\--data ' { "value":"bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b" }

**Input:**&#x20;

`{`&#x20;

`"value":"bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b"`&#x20;

`}`

**Response:**

`{`&#x20;

`"id": "bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b", "blockNumber": 4555680, "blockTimeStamp": 1639400052000, "contractResult": [ "" ], "receipt": { "net_usage": 268 }`&#x20;

`}`
