Complete documentation for analyzing and optimizing TRON energy usage.
TRON uses a resource-based model with two primary resources:
Energy is obtained by freezing TRX. The more TRX frozen, the more energy available daily.
Download TronLink from tronlink.org and set up your wallet.
In TronLink, navigate to "Freeze" and freeze TRX. Each frozen TRX provides energy daily.
Visit the homepage and click "Connect TronLink Wallet".
The tool shows your total energy, usage, and available resources.
Click "Optimize My Energy" to apply recommendations.
Developers can integrate energy optimization into their own dApps:
npm install tron-toolkit
const { analyzeEnergy } = require('tron-toolkit');