TRON Developer Guide — Energy Costs Table

TRON Foundation

In the course of writing, testing, and debugging your smart contract, it is advisable to be mindful of the opcode call costs. Below is a table with call Energy usage estimates, cost classification tier, operation notes, and energy calculation notes. If you wish to estimate energy costs for deploying or triggering smart contract, please refer to Tron Station which has an energy tool can help you.

For the Cost Tier, the classification is as follows:

  • ZeroTier: 0 sun expended
  • BaseTier: Approximately 2 sun expenditure
  • VeryLowTier: Approximately 3 sun expenditure
  • MidTier: Approximately 8 sun expenditure
  • HighTier: Approximately 10 sun expenditure
  • ExtTier: Approximately 20 sun expenditure
  • SpecialTier: Custom amount of energy expenditure. Can be very high.

You can also check the spreadsheet on Google Doc.

TRON Foundation

Written by

The official medium of Tron Foundation

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade