---
title: "Get transactions by hash"
method: GET
path: "/tx"
tags: ["Info"]
---

# Get transactions by hash

`GET /tx`

Get a transaction

Upon success, the `Cache-Control` header will be set with the default
maximum age.

## Query parameters

- `hash` string, required
- `prove` boolean

## Response `200`

Get a transaction`

- TxResponse
  - `jsonrpc` string, required
  - `id` integer, required
  - `result` object, required
    - `hash` string, required
    - `height` string, required
    - `index` integer, required
    - `tx_result` object, required
      - `log` string, required
      - `gas_wanted` string, required
      - `gas_used` string, required
      - `tags` Event[], required
        - `key` string
        - `value` string
        - `index` boolean
    - `tx` string, required

## Other responses

- `500` — Error

---

[API](https://skmtc.net/finschia/apis/ostracon-rpc.md) · [All operations](https://skmtc.net/finschia/apis/ostracon-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/finschia/ostracon-rpc/versions/f8b90bf02ef4/schema)
