0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

TRON Transaction Failed OUT_OF_ENERGY Meaning: Fix and Retry

0
Posted at

After a failed swap or TRC-20 transfer, OUT_OF_ENERGY on TRON means the smart-contract call ran out of Energy before finishing. Your available Energy plus the TRX permitted by the fee limit could not cover execution. TRON stops the call, reverses its token transfers, and records a final failure. Your tokens remain in your wallet, though the attempt can still cost TRX.

Say you try a SunSwap swap with little TRX and no available Energy. TRONSCAN shows OUT_OF_ENERGY and the TRX burned, while your input tokens remain in your wallet. Before retrying through SunSwap, review that transaction’s resource use and your wallet’s available TRX and Energy.

Energy pays for contract execution, including TRC-20 token transfers. The fee limit sets the maximum TRX a call may burn for Energy and caps the caller’s Energy budget. A low limit can cause failure even with enough TRX; a high limit cannot replace TRX that the wallet lacks.

Spent Energy Stays Spent, So Change the Retry

Energy consumed by an OUT_OF_ENERGY attempt is not refunded when its token transfers are reversed. Repeating the call with the same available Energy and fee limit can hit the same ceiling, charging you again while moving no tokens. Staked Energy spent on the attempt is also unavailable for the next call until it recovers.

Check the failed call on TRONSCAN, then the Energy and TRX available in TronLink. Typical causes are too little TRX or Energy, a low fee limit, or a token contract that costs more to execute than usual. The TRX burned on a failed call is not necessarily what a successful call would cost: execution ended before completion.

Add TRX or obtain Energy, and raise the fee limit if TronLink lets you set it. Base that limit on the call’s estimated Energy need, with room for variation. A higher limit authorizes more spending but does not automatically burn the full amount. Submit a new transaction and verify the result on TRONSCAN.

Swap Costs Vary, and REVERT Points to a Contract Condition

How Much TRX Should I Keep for a Swap?

Keep enough TRX for the estimated Energy shortfall, any Bandwidth cost, and a margin for variation. There is no fixed amount: available Energy, token contract behavior, and the current Energy price determine what you need.

What Does REVERT Mean on TRONSCAN?

REVERT means the contract deliberately stopped, often because a condition such as token allowance or a deadline was not met. Its state changes are undone, and Energy used before the stop is charged. Address the failed condition; a higher fee limit alone will not resolve it.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?