Litecoin - Tatum API

Get Litecoin Transaction by hash

/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.'

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

Path parameters

hashstring required
Example:d60631d8e5c8b6eb0557b5181cf28564d771c628a08abc414e87ad7c05ff2fc2

Transaction hash

Response

OK

hashstring

Transaction hash.

witnessHashstring

Witness hash in case of a SegWit transaction.

feestring

Fee paid for this transaction, in LTC.

ratestring
psnumber
blockNumbernumber

Height of the block this transaction belongs to.

blockstring

Hash of the block this transaction belongs to.

timenumber

Time of the transaction.

indexnumber

Index of the transaction in the block.

versionnumber

Index of the transaction.

flagnumber
locktimenumber

Block this transaction was included in.

Example response

{
  "hash": "5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a",
  "witnessHash": "d819688a3ac77cb6d2751808e5411baf7e20fa3eeeccf65867554a09beddd9a3",
  "fee": "0.00001682",
  "rate": "0.00010011",
  "ps": 1572703011,
  "blockNumber": 1233224,
  "block": "b540bf37450eae0fb9fb7f190009ca890f0dd17cb19521c6241a0dc5e70f67dc",
  "time": 1572694484,
  "index": 2,
  "version": 2,
  "flag": 1,
  "inputs": [
    {
      "prevout": {
        "hash": "0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4",
        "index": 1
      },
      "script": "1600148c65244f095f3689aebb70981d102e33036fe786",
      "witness": "0247304402202cad8f03fd061fbdd19d285f528dd7451c3818f4a1d0f5f9f559f141fb910c6e02203fb62fc770cf54ae53e4b488b589f9f096d28c1bd24dc8e4d80783dd58041826012102c44d21e840b24c786a7eff2980e35f51c4abcc9a032e7a132ca258f90ee4a19d",
      "sequence": 4294967294,
      "coin": {
        "version": 2,
        "height": 1232869,
        "value": "0.0989946",
        "script": "a91472593295cfe5e7ea466e43822167cabcb2cb103387",
        "address": "2N3fqsiA5Nk4pZGWcfZApATGhXfn9B74oXK"
      }
    }
  ],
  "outputs": [
    {
      "value": "0.0015",
      "script": "76a914fc8f50c952da910f473a0533561311ad140c989b88ac",
      "address": "n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"
    }
  ],
  "locktime": 1233222
}

Changes

No recorded changes to this operation across all 1 revision of this API.