---
title: "Show Transaction"
method: GET
path: "/api/v2/tron/transactions/{txid}"
tags: ["Tron Transactions"]
---

# Show Transaction

`GET /api/v2/tron/transactions/{txid}`

This method shows a transaction <br>
If the transaction is successful, it will return the transaction details. <br>
If the transaction fails, it will return an error message. <br>

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

## Response `200`

Transaction

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `transaction` object
      - `ret` object[]
        - `contractRet` string
      - `signature` string[]
      - `txID` string
      - `raw_data` object
        - `contract` object[]
          - `parameter` object
            - `value` object
              - …
            - `type_url` string
          - `type` string
        - `ref_block_bytes` string
        - `ref_block_hash` string
        - `expiration` integer
        - `timestamp` integer
      - `raw_data_hex` string

---

[API](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation.md) · [All operations](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaingateway/chaingateway-api-documentation/versions/ddb709b4ade7/schema)
