---
title: "Get a Transaction"
method: GET
path: "/{protocol}/{network}/tx/{hash}"
tags: ["Transactions"]
---

# Get a Transaction

`GET /{protocol}/{network}/tx/{hash}`

Returns a transaction by a user-defined transaction hash.

## Path parameters

- `protocol` string, required
- `network` string, required
- `hash` string, required

## Response `200`

Transaction

- Tx
  - `id` string — Unique transaction identifier.
  - `block_id` string, nullable — Block hash if mined, otherwise omitted.
  - `date` integer — The transaction creation unix timestamp.
  - `status` 'completed' | 'failed' — Result status of the transaction.
  - `num_events` integer — List of transaction events.
  - `meta` object — Protocol specific data that doesn't fit into a standard model.
  - `block_number` integer, nullable — Block number if mined, otherwise omitted.
  - `confirmations` integer — Total transaction confirmations.
  - `events` Event[], nullable
    - `id` string — The event identifier.
    - `transaction_id` string — The transaction identifer this event is presented.
    - `type` string — The event type.
    - `denomination` string, nullable — The Symbol of currency, can be natibe currency or token currency.
    - `destination` string, nullable — The destination address of the event.
    - `source` string, nullable — The source address of the event.
    - `meta` object — Protocol specific data that doesn't fit into a standard model.
      - `addresses` string[] — A list of addresses.
      - `index` integer — The index number.
      - `script` string — The script.
      - `script_type` string — The script type.
    - `date` integer — The event date in unix timestamp format.
    - `amount` integer, nullable — The coin amount transfered in the event.
    - `decimals` integer, nullable — The coin amount transfered in the event.
  - `assets` string[], nullable — List of moved assets by asset path. Find all the asset paths on this [page](https://docs.blockdaemon.com/reference/available-currencies-and-tokens).
  - `nonce` integer — The nonce of the transaction.

## Other responses

- `401` — Invalid or expired token
- `404` — Resource not found
- `429` — Rate limit exceeded
- `500` — An internal server error happened
- `503` — The resource you are trying to access is currently unavailable

---

[API](https://skmtc.dev/blockdaemon/apis/staking-api.md) · [All operations](https://skmtc.dev/blockdaemon/apis/staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blockdaemon/staking-api/revisions/f94e296a08a3/schema)
