post
https://api.shasta.trongrid.io/wallet/gettransactionbyid
Query the transaction body by transaction ID, including raw_data, signatures, and contract parameters. This API does not return the execution receipt.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Query the transaction body by transaction ID. The response contains the submitted transaction data, such as raw_data, signatures, and contract-call parameters. It does not contain the execution receipt.
Difference from GetTransactionInfoByIdThis API returns the transaction body, similar to Ethereum's
eth_getTransactionByHash. GetTransactionInfoById returns the post-execution receipt, including fees, Energy usage, event logs, and internal transactions. Use both APIs when you need a complete transaction view.
Related resources
- GetTransactionInfoById — query the execution receipt
- GetBlock — query the block that contains the transaction
- Sign and broadcast — the API workflow — construct, sign, broadcast, and confirm transactions
- Transaction protocol —
raw_data, TAPOS, and expiration