---
title: "GetTx fetches a tx by hash."
method: GET
path: "/cosmos/tx/v1beta1/txs/{hash}"
tags: ["Service"]
---

# GetTx fetches a tx by hash.

`GET /cosmos/tx/v1beta1/txs/{hash}`

## Path parameters

- `hash` string, required

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs.md) · [All operations](https://skmtc.net/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bianjieai/irita-legacy-rest-and-grpc-gateway-docs/revisions/dcc6f688c291/schema)
