POST
/
95e61622bf6a8af293978377718e3b77
/
walletsolidity
/
gettransactionbyid
walletsolidity/gettransactionbyid
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/gettransactionbyid \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "7c2d4206c38a026616067b2f80e3d4bb2d4b7f9ff90db8c98e8b7a89b7c8d3d",
  "visible": true
}'
{
  "ret": [
    {}
  ],
  "signature": [
    "<string>"
  ],
  "txID": "<string>",
  "raw_data": {},
  "raw_data_hex": "<string>"
}
TRON API method that retrieves transaction details by transaction ID from solidified blocks. This method queries confirmed and finalized blockchain state, providing reliable transaction information 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 information including:
  • txID — the transaction hash
  • raw_data — raw transaction data
    • contract — contract details
    • timestamp — transaction timestamp
    • expiration — transaction expiration time
  • signature — transaction signatures array
  • ret — transaction execution result
  • raw_data_hex — raw data in hexadecimal format

Use case

The walletsolidity/gettransactionbyid method is used for:
  • Retrieving confirmed transaction details from solidified blockchain state
  • Verifying transaction execution status using finalized data
  • Building transaction explorers with reliable, non-reversible information
  • Implementing applications that require confirmed transaction data for auditing

Body

application/json

Response

200 - application/json

Transaction information from solidified database

The response is of type object.