curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactioninfobyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "4c85b7a5c6e1d5f6e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7"
}
'{
"id": "<string>",
"blockNumber": 123,
"blockTimeStamp": 123,
"contractResult": [
"<string>"
],
"contract_address": "<string>",
"receipt": {
"energy_usage": 123,
"energy_fee": 123,
"origin_energy_usage": 123,
"energy_usage_total": 123,
"net_usage": 123,
"net_fee": 123,
"result": "<string>"
},
"log": [
{}
],
"result": "<string>",
"resMessage": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactioninfobyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "4c85b7a5c6e1d5f6e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7e1d5c6f7"
}
'{
"id": "<string>",
"blockNumber": 123,
"blockTimeStamp": 123,
"contractResult": [
"<string>"
],
"contract_address": "<string>",
"receipt": {
"energy_usage": 123,
"energy_fee": 123,
"origin_energy_usage": 123,
"energy_usage_total": 123,
"net_usage": 123,
"net_fee": 123,
"result": "<string>"
},
"log": [
{}
],
"result": "<string>",
"resMessage": "<string>"
}value — the transaction ID (hash) in hexadecimal formatid — transaction ID (hash)blockNumber — block number where the transaction was includedblockTimeStamp — timestamp when the block was created (milliseconds)contractResult — array of smart contract execution results in hex formatcontract_address — address of the deployed contract (for contract creation transactions)receipt — transaction receipt containing:
energy_usage — total energy consumed by the transactionenergy_fee — energy fee paid in SUN (1 TRX = 1,000,000 SUN)origin_energy_usage — original energy usage before optimizationsenergy_usage_total — total energy usage including all operationsnet_usage — bandwidth consumed by the transactionnet_fee — bandwidth fee paid in SUNresult — execution result status (SUCCESS, REVERT, etc.)log — array of event logs emitted by smart contracts during executionresult — overall transaction execution resultresMessage — error message if transaction failed (hex-encoded)wallet/gettransactioninfobyid method is used for:
The transaction ID (hash) in hexadecimal format
Transaction receipt and execution information
Transaction ID
Block number where transaction was included
Block timestamp in milliseconds
Smart contract execution results
Contract address if contract creation transaction
Show child attributes
Energy consumed by the transaction
Energy fee in SUN
Original energy usage
Total energy usage
Bandwidth consumed
Bandwidth fee in SUN
Transaction execution result
Event logs from smart contract execution
Overall transaction result status
Result message if transaction failed
Was this page helpful?