post
https://api.shasta.trongrid.io/wallet/gettransactioninfobyid
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
NoteTo parse the event logs below, please ensure the transaction result is "success" first — this alignment is recommended for data consistency. See Event Log for log decoding.
Returns
This interface returns a TransactionInfo object containing the following fields:
| Field | Type | Description |
|---|---|---|
| id | string | Transaction ID (hash). |
| fee | int64 | Total amount of TRX burned as fee for this transaction, including for Bandwidth/Energy, account activation, memo, multi-signature, and other operations. (Unit: sun). |
| blockNumber | int64 | Block number (height). |
| blockTimeStamp | int64 | Block timestamp. (Unit: millisecond). |
| contractResult | string[] | Transaction execution results. |
| contract_address | string | Contract address. |
| receipt | ResourceReceipt | Transaction receipt, including execution result and transaction fee details, which contains the following fields:
|
| log | Log[] | List of event logs triggered during the smart contract call. Each event log includes the following information:
|
| result | int | Transaction execution result. Omitted if successful; FAILED if failed. |
| resMessage | string | Detailed error message if the transaction failed. (Format: hex string). |
| assetIssueID | string | The ID of the issued TRC10 token. |
| withdraw_amount | int64 | Amount of voting rewards withdrawn to the account in this transaction. (Applies only to reward withdrawal transactions, Unit: sun). |
| unfreeze_amount | int64 | Amount of TRX unstaked. (Applies only to unstaking transactions for Stake 1.0, Unit: sun). |
| internal_transactions | InternalTransaction[] | Array of internal transactions. See here for details. |
| withdraw_expire_amount | int64 | Amount of unfrozen TRX withdrawn to the account in this transaction. (Applies only to unstaking, unfrozen balance withdrawal, and cancel-all-unstakes transactions. For Stake 2.0, Unit: sun). |
| cancel_unfreezeV2_amount | map<string, int64> | Amount of TRX re-staked (canceled unstake), keyed by resource type ("BANDWIDTH" or "ENERGY"). (Unit: sun). |
| exchange_received_amount | int64 | The amount of tokens received. |
| exchange_inject_another_amount | int64 | The amount of the other token injected into the trading pair. |
| exchange_withdraw_another_amount | int64 | The amount of the other token withdrawn from the trading pair. |
| exchange_id | int64 | The ID of the trading pair. |
| shielded_transaction_fee | int64 | Shielded transaction fee. |