---
title: "Get Litecoin Transaction by hash"
method: GET
path: "/v3/litecoin/transaction/{hash}"
tags: ["Litecoin - Tatum API"]
---

# Get Litecoin Transaction by hash

`GET /v3/litecoin/transaction/{hash}`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/litecoin/transaction/{hash}`
- Auth: API key in header `x-api-key`

/v3/litecoin/transaction/{hash}

#### 5 credits per API call.

  

Get Litecoin Transaction detail by transaction hash.

  
Examples of using this endpoint with the Tatum JS SDK can be found in [Tatum LTC SDK](https://github.com/tatumio/tatum-js/tree/v2/examples/ltc-example/src/app/ltc.blockchain.example.ts).'

## Path parameters

- `hash` string, required

## Response `200`

OK

- LtcTx
  - `hash` string: Transaction hash.
  - `witnessHash` string: Witness hash in case of a SegWit transaction.
  - `fee` string: Fee paid for this transaction, in LTC.
  - `rate` string
  - `ps` number
  - `blockNumber` number: Height of the block this transaction belongs to.
  - `block` string: Hash of the block this transaction belongs to.
  - `time` number: Time of the transaction.
  - `index` number: Index of the transaction in the block.
  - `version` number: Index of the transaction.
  - `flag` number
  - `inputs` object[]: List of transactions, from which assets are being sent.
    - `prevout` object
      - `hash` string: Transaction hash of the input.
      - `index` number: Transaction index of the input.
    - `script` string: Data generated by a spender which is almost always used as variables to satisfy a pubkey script.
    - `witness` string: Transaction witness.
    - `sequence` number
    - `coin` object
      - `version` number
      - `height` number
      - `value` string: Value of the transaction, in LTC.
      - `script` string
      - `address` string: Sender address.
      - `coinbase` boolean: Coinbase transaction - miner fee.
  - `outputs` object[]: List of recipient addresses and amounts to send to each of them.
    - `value` string: Sent amount in LTC.
    - `script` string: Transaction script.
    - `address` string: Recipient address.
  - `locktime` number: Block this transaction was included in.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
