👨💻 Get transaction by hash
Code samples
GET /api/v1/trx/transactions/{hash}
Returns details of a transaction by its hash
🛠️ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hash | path | string | true | Transaction hash |
Example responses
200 Response
{
"@timestamp": "2025-09-16T09:05:30Z",
"amount": "7975000000",
"block_hash": "0000000004846157838ba929f5a582509c8bf4395cf47f8dff1acd9ce8eb9e57",
"block_number": 75784535,
"block_timestamp": 1758013530000,
"contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"contract_type": "TriggerSmartContract",
"fee": 345000,
"from": "TLWKepDBC8RZjAhtWyNqASyzgyVyHUuS7o",
"raw_data": {
"raw_data": {
"contract": [
{
"parameter": {
"type_url": "type.googleapis.com/protocol.TriggerSmartContract",
"value": "ChVBc5O0YG/8bHDotq1H2tsYrdd3aY0SFUGmFPgDtv14CYakLHjsnH935t7RPCJEqQWcuwAAAAAAAAAAAAAAAF6crdA3PL/JZ3fKxH69XuKoI1QBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdtY18A="
},
"type": 31
}
],
"expiration": 1758013587000,
"fee_limit": 30000000,
"ref_block_bytes": "YUQ=",
"ref_block_hash": "tC3fh1NuWys=",
"timestamp": 1758013529078
},
"ret": [
{
"contractRet": 1
}
],
"signature": [
"Sa/P2+5H2DKVAozyWFd/NA4DWKdSgErcHn9RlD/SHp9A+pJTCQVs7CMPt+OnqpkvPvz/TKaAD0d9kobWJEAnVRw="
]
},
"result": "SUCCESS",
"to": "TJbUDLSLdiuh1TdZ5hUEKMuboJ3X41vwxG",
"token_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"token_decimals": 6,
"token_symbol": "USDT",
"tx_id": "aa451147fe9bc4514ebc6adc58582eabd480c2869a649571a9262d2e95dae9cd"
}
🔁 Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Transaction |
| 400 | Bad Request | Bad request (invalid hash format) | None |
| 404 | Not Found | Transaction not found | None |
| 500 | Internal Server Error | Internal server error | None |
Account
Account-related operations