wallet/gettransactioninfobyid - Get TRON Receipt
Get detailed TRON transaction information including receipt, logs, and energy/bandwidth usage via Dwellir's high-performance RPC endpoint.
Get detailed transaction information including receipt and logs by transaction ID.
Endpoint
POST /wallet/gettransactioninfobyidRequest Parameters
Required parameter: Transaction ID (hex string)
Response Body
`id` - Transaction ID `fee` - Transaction fee in SUN `blockNumber` - Block height `blockTimeStamp` - Block timestamp `contractResult` - Contract execution result `contract_address` - Contract address (for contract creation) `receipt` - Transaction receipt with energy and bandwidth usage `log` - Transaction logs from smart contract events `result` - Transaction result ("SUCCESS" or error) `resMessage` - Result message (if any)
Implementation Examples
curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/gettransactioninfobyid \
-H "Content-Type: application/json" \
-d '{
"value": "2668be54c278d702eebde274a58cfae3ea50c72c76a885df48c6d456d7ec38b5"
}'Use Cases
- Transaction Confirmation: Get detailed receipt after broadcasting
- Event Monitoring: Access smart contract event logs
- Fee Tracking: Monitor energy and bandwidth consumption
- Debug Failures: Analyze failed transaction reasons
- DApp Integration: Verify transaction results in applications
Related Methods
- wallet/gettransactionbyid - Get basic transaction data
- wallet/broadcasttransaction - Broadcast signed transaction
- wallet/triggersmartcontract - Call smart contract function
wallet/gettransactionbyid
Retrieve detailed TRON transaction information by transaction ID including status, fees, contracts executed, and block confirmation via Dwellir RPC.
wallet/getnowblock
Get the latest block information from TRON network including block number, transactions, and timestamp via Dwellir's lightning-fast RPC endpoints.