curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/gettransactioninfobyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b"
}
'{
"id": "7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b",
"blockNumber": 70000000,
"blockTimeStamp": 1704067200000,
"contractResult": [
"<string>"
],
"fee": 1100000,
"result": "SUCCESS",
"resMessage": "<string>",
"receipt": {
"energy_usage": 65000,
"energy_fee": 1100000,
"net_usage": 345,
"net_fee": 0
},
"log": [
{
"address": "<string>",
"topics": [
"<string>"
],
"data": "<string>"
}
]
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/gettransactioninfobyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b"
}
'{
"id": "7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b",
"blockNumber": 70000000,
"blockTimeStamp": 1704067200000,
"contractResult": [
"<string>"
],
"fee": 1100000,
"result": "SUCCESS",
"resMessage": "<string>",
"receipt": {
"energy_usage": 65000,
"energy_fee": 1100000,
"net_usage": 345,
"net_fee": 0
},
"log": [
{
"address": "<string>",
"topics": [
"<string>"
],
"data": "<string>"
}
]
}value — the transaction ID (hash) in hexadecimal formatid — the transaction hashblockNumber — block number containing the transactionblockTimeStamp — block timestampcontractResult — contract execution resultsfee — transaction fee paidresult — transaction execution result (SUCCESS/REVERT)resMessage — result message if failedreceipt — transaction receipt with resource usagelog — event logs generated by the transactionwalletsolidity/gettransactioninfobyid method is used for:
Transaction ID (hash) in hexadecimal format
"7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b"
Transaction execution information from solidified blocks
Transaction hash identifier
"7c2d4206c59cc541d4b7eb7a0001bce8a7a77d1a2e3b5c4f7a8b9c0d1e2f3a4b"
Block number containing the transaction
70000000
Block timestamp
1704067200000
Contract execution results
Transaction fee paid in sun
1100000
Transaction execution result
SUCCESS, REVERT, OUT_OF_TIME, OUT_OF_ENERGY "SUCCESS"
Result message if transaction failed
Was this page helpful?