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

# Show Decoded Transaction

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

This method shows a transaction with decoded values <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
      - `txid` string
      - `from` string
      - `to` string
      - `amount` string
      - `blocknumber` integer
      - `confirmations` integer
      - `type` 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)
