DEV Community

DoctorLai
DoctorLai

Posted on

How to Fix FAILED-OUT OF ENERGY in TRON Smart Contract Transfer

@rme used the Steem2USDT Swap and he reported a bug:

image.png

The system handles the transaction but fails to broadcast to TRON blockchain because of a "OUT OF ENERY" error. The account has staked more than enough TRX to gain energy and bandwidth, and it turns out it was because of a Recent Tron Network Upgrade (Proposal 83):
https://coredevs.medium.com/committee-proposal-83-679c6c139e19

The cost of energy to trigger a smart contract (TRC-20) transfer has increased by 1.2 times. And the FEE LIMIT parameter should be set to 30 TRX which is feelimit = 30000000 (Unit: SUN)

With the change, the service is back to normal.


Steem to the Moon!

You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT

Top comments (0)