POST
/
95e61622bf6a8af293978377718e3b77
/
walletsolidity
/
gettransactioninfobyid
walletsolidity/gettransactioninfobyid
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>"
    }
  ]
}
TRON API method that retrieves transaction execution information by transaction ID from solidified blocks. This method queries confirmed and finalized blockchain state, providing reliable transaction execution details that cannot be rolled back.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • value — the transaction ID (hash) in hexadecimal format

Response

Returns detailed transaction execution information including:
  • id — the transaction hash
  • blockNumber — block number containing the transaction
  • blockTimeStamp — block timestamp
  • contractResult — contract execution results
  • fee — transaction fee paid
  • result — transaction execution result (SUCCESS/REVERT)
  • resMessage — result message if failed
  • receipt — transaction receipt with resource usage
  • log — event logs generated by the transaction

Use case

The walletsolidity/gettransactioninfobyid method is used for:
  • Retrieving confirmed transaction execution results from solidified blockchain state
  • Analyzing gas usage and fees for finalized transactions
  • Monitoring contract execution outcomes using reliable data
  • Building applications that require confirmed transaction execution information

Body

application/json

Response

200 - application/json

Transaction execution information from solidified blocks

The response is of type object.