π¨βπ» Get transaction by hash
Code samples
GET /api/v1/trx/transactions/{hash}
Returns details for a specific TRX transaction by its hash.
π οΈ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hash | path | string | true | none |
Example responses
200 Response
{
"tx_id": "string",
"amount": "string",
"block_number": 0,
"block_timestamp": 0,
"from": "string",
"to": "string",
"token_symbol": "string",
"token_decimals": 0,
"contract_address": "string",
"contract_type": "string",
"fee": 0,
"result": "string",
"raw_data": {},
"@timestamp": "2025-07-23T15:16:00Z"
}
π Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Transaction details | Inline |
| 500 | Internal Server Error | Could not connect to TRX node | None |
π Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| Β» tx_id | string | false | none | none |
| Β» amount | string | false | none | none |
| » block_number | integer¦null | false | none | none |
| Β» block_timestamp | integer(int64)Β¦null | false | none | none |
| » from | string¦null | false | none | none |
| » to | string¦null | false | none | none |
| Β» token_symbol | string | false | none | none |
| Β» token_decimals | integer | false | none | none |
| » contract_address | string¦null | false | none | none |
| Β» contract_type | string | false | none | none |
| » fee | integer¦null | false | none | none |
| Β» result | string | false | none | none |
| Β» raw_data | object | false | none | none |
| Β» @timestamp | string(date-time) | false | none | none |