---
title: "Get transaction by hash"
method: GET
path: "/v1/operations/transactions/{hash}"
tags: ["Operations"]
---

# Get transaction by hash

`GET /v1/operations/transactions/{hash}`

Returns transaction operations with specified hash.

## Path parameters

- `hash` string, required

## Query parameters

- `micheline` 'Json' | 'JsonString' | 'Raw' | 'RawString'
- `quote` 'None' | 'Btc' | 'Eur' | 'Usd' | 'Cny' | 'Jpy' | 'Krw' | 'Eth' | 'Gbp'

## Response `200`

- TransactionOperation[]
  - `type` string — Type of the operation, `transaction` - is a standard operation used to transfer tezos tokens to an account
  - `id` integer — Unique ID of the operation, stored in the TzKT indexer database
  - `level` integer — The height of the block from the genesis block, in which the operation was included
  - `timestamp` string, date-time — Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`)
  - `block` string, required — Hash of the block, in which the operation was included
  - `hash` string, required — Hash of the operation
  - `counter` integer — An account nonce which is used to prevent operation replay
  - `initiator` Alias
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `sender` Alias, required
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `senderCodeHash` integer, nullable — Hash of the sender contract code, or `null` is the sender is not a contract
  - `nonce` integer, nullable — An account nonce which is used to prevent internal operation replay
  - `gasLimit` integer — A cap on the amount of gas a given operation can consume
  - `gasUsed` integer — Amount of gas, consumed by the operation
  - `storageLimit` integer — A cap on the amount of storage a given operation can consume
  - `storageUsed` integer — Amount of storage, consumed by the operation
  - `bakerFee` integer — Fee to the baker, produced block, in which the operation was included (micro tez)
  - `storageFee` integer — The amount of funds burned from the sender account for used the blockchain storage (micro tez)
  - `allocationFee` integer — The amount of funds burned from the sender account for account creation (micro tez)
  - `target` Alias
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `targetCodeHash` integer, nullable — Hash of the target contract code, or `null` is the target is not a contract
  - `amount` integer — The transaction amount (micro tez)
  - `parameter` TxParameter
    - `entrypoint` string, required — Entrypoint called on the target contract
    - `value` unknown
  - `storage` unknown
  - `diffs` BigMapDiff[], nullable — List of bigmap updates (aka big_map_diffs) caused by the transaction.
    - `bigmap` integer — Bigmap Id
    - `path` string, required — Path to the bigmap in the contract storage
    - `action` string, required — Action with the bigmap (`allocate`, `add_key`, `update_key`, `remove_key`, `remove`)
    - `content` BigMapKeyShort
      - `hash` string, required — Key hash
      - `key` unknown, required
      - `value` unknown, required
  - `status` string, required — Operation status (`applied` - an operation applied by the node and successfully added to the blockchain, `failed` - an operation which failed with some particular error (not enough balance, gas limit, etc), `backtracked` - an operation which was successful but reverted due to one of the following operations in the same operation group was failed, `skipped` - all operations after the failed one in an operation group)
  - `errors` OperationError[], nullable — List of errors provided by the node, injected the operation to the blockchain. `null` if there is no errors
    - `type` string, required — Type of an error (`error.id`, `contract.balance_too_low`, `contract.non_existing_contract`, `contract.manager.unregistered_delegate`, etc.) https://tezos.gitlab.io/api/errors.html - full list of errors
  - `hasInternals` boolean — An indication of whether the transaction has an internal operations `true` - there are internal operations `false` - no internal operations
  - `tokenTransfersCount` integer, nullable — Number of token transfers produced by the operation, or `null` if there are no transfers
  - `ticketTransfersCount` integer, nullable — Number of ticket transfers produced by the operation, or `null` if there are no transfers
  - `eventsCount` integer, nullable — Number of events produced by the operation, or `null` if there are no events
  - `quote` QuoteShort
    - `btc` number, double, nullable — XTZ/BTC price
    - `eur` number, double, nullable — XTZ/EUR price
    - `usd` number, double, nullable — XTZ/USD price
    - `cny` number, double, nullable — XTZ/CNY price
    - `jpy` number, double, nullable — XTZ/JPY price
    - `krw` number, double, nullable — XTZ/KRW price
    - `eth` number, double, nullable — XTZ/ETH price
    - `gbp` number, double, nullable — XTZ/GBP price

---

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