# 什么是TRON链上的能量

在TRON区块链上，"能量"（Energy）是一个重要的系统资源，它用于执行智能合约操作而不需要消耗TRX（TRON的原生代币）。能量类似于以太坊上的“Gas”，是执行智能合约时必需的，因此它是TRON网络中执行交易和运行去中心化应用（DApps）的关键资源之一。

用户在TRON网络上执行智能合约时，需要消耗能量和带宽（Bandwidth）。带宽用于进行普通交易，如TRX的转账，而能量专门用于处理智能合约的计算和执行。如果用户没有足够的能量，他们需要支付TRX作为能量费用，这与以太坊网络上的Gas费用相似。

在TRON网络中，用户可以通过冻结TRX获得能量和带宽，这意味着他们暂时将一定数量的TRX锁定在网络中，以换取能量或带宽。这个过程不仅激励用户持有并锁定TRX，也为网络的稳定和安全提供了支持。冻结TRX以换取能量的好处是，用户可以执行智能合约操作而无需直接支付费用，这降低了参与TRON网络和开发DApps的门槛。

能量的设计旨在鼓励更高效的智能合约编写，因为执行合约操作的成本与所需的计算资源直接相关。开发者和用户都被激励去优化他们的应用，以减少对能量的消耗，从而提高TRON网络的整体效率和性能。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.trxenergy.cc/ren-shi-dai-kuan-he-neng-liang/shen-me-shi-tron-lian-shang-de-neng-liang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
