v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Transactions

Show Transaction

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>

get/api/v2/tron/transactions/{txid}

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

Transaction

statusinteger
okboolean
messagestring

Example response

{
  "status": 200,
  "ok": true,
  "message": "Succesfully parsed transaction receipt",
  "data": {
    "transaction": {
      "ret": [
        {
          "contractRet": "SUCCESS"
        }
      ],
      "signature": [
        "b75218466a3c1a141f8a2e776ec02b8aed247175193cdfa15d6bcdecac686e782edf4623c758f3483876316189d1dcc7c2aae154210038a7562b57ee49fbe99400"
      ],
      "txID": "1b66c3d50dc32690a352f3cec78cd247d02a57a5c521865fb2a137785f129a7d",
      "raw_data": {
        "contract": [
          {
            "parameter": {
              "value": {
                "amount": 1000000,
                "owner_address": "41764e0536d24197cd869232bf7b09f58820cde9d2",
                "to_address": "41d024bd62f3da57306ad1f9b469acdb66dc292912"
              },
              "type_url": "type.googleapis.com/protocol.TransferContract"
            },
            "type": "TransferContract"
          }
        ],
        "ref_block_bytes": "1159",
        "ref_block_hash": "2c0d8fbacaf7ced9",
        "expiration": 1708979589000,
        "timestamp": 1708979530210
      },
      "raw_data_hex": "0a02115922082c0d8fbacaf7ced940889ffcb8de315a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541764e0536d24197cd869232bf7b09f58820cde9d2121541d024bd62f3da57306ad1f9b469acdb66dc29291218c0843d70e2d3f8b8de31"
    }
  }
}