---
title: "returns the transaction which corresponds to the hash (faster because will ask for transaction from the observer which is in the shard in which the address is part)."
method: GET
path: "/transaction/{txHash}?sender={senderAddress}"
tags: ["transaction"]
---

# returns the transaction which corresponds to the hash (faster because will ask for transaction from the observer which is in the shard in which the address is part).

`GET /transaction/{txHash}?sender={senderAddress}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/multiversx/apis/multiversx-gateway-api/docs/transaction/:txHash%3Fsender=:senderAddress/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `txHash` string, required
- `senderAddress` string, required

## Response `200`

successful operation

- Transaction
  - `nonce` integer
  - `value` string
  - `receiver` string
  - `sender` string
  - `senderusername` integer[]
  - `receiverusername` integer[]
  - `gasprice` integer
  - `gaslimit` integer
  - `data` integer[]
  - `signature` string
  - `chainid` string
  - `version` integer
  - `options` integer

## Changes

- **2024-01-09** `fb895587d7c6`: 1 breaking, 1 warning
  - added the new path request parameter `txHash`
  - deleted the `path` request parameter `txhash`
- **2023-03-24** `878e0c35bb6b`: 13 info
  - added the optional property `chainid` to the response with the `200` status
  - added the optional property `data` to the response with the `200` status
  - added the optional property `gaslimit` to the response with the `200` status
  - added the optional property `gasprice` to the response with the `200` status
  - …9 more
- **2023-02-08** `82d543636074`: 1 breaking, 14 warning
  - added the new path request parameter `txhash`
  - deleted the `path` request parameter `txHash`
  - removed the optional property `chainid` from the response with the `200` status
  - removed the optional property `data` from the response with the `200` status
  - …11 more

[Operation history](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/changes/transaction/:txHash%3Fsender=:senderAddress/get.md)

---

[API](https://skmtc.dev/multiversx/apis/multiversx-gateway-api.md) - [All operations](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/revisions/44c49bc12621?raw)
