# 燃料（Gas）

> **最後更新：2026 年 1 月**

**燃料（英文：Gas）其實就是使用以太坊網路發起**[**交易**](/jiao-yi-cao-zuo/undefined.md)**所需付出的使用費、授權費或所謂的「算力費用」。**

使用以太坊網路，不管是以太幣、ERC20 幣的轉帳、智能合約的執行，都會動到帳本；只要動到帳本，就需要礦工幫忙更新和驗證，這個 **Gas - 瓦斯/燃料費**，就是要付給礦工和整個網路協助修改帳本、登錄帳本的費用。

提交到以太坊網路的交易計算越複雜，要付出的 Gas 費用就越高。例如，轉一筆以太幣給朋友，不需要用到什麼計算，要修改帳本的地方，就只有發起交易者和收到以太幣的人的帳戶而已，Gas 費用不高，多半在台幣 3 塊錢上下（計算法則可在 [燃料價格](/zhi-neng-he-yue-de-shi-jie/yi-tai-fang-bao/wa-si-ge.md) 條目裡看到）。但是反觀，要在「謎戀貓（CryptoKitty）」遊戲上交易或養成區塊貓的每次交易燃料費，則就比較高。因為育成區塊貓，會動用到誕生貓的 DNA、設定主人等智能合約的計算，這些耗費的計算力高於單純將一筆以太幣轉給其他人（可以想成：更動到較多人的帳幕、更改帳本的地方較多、且需要更多的計算力），當然就得花費較多的費用請礦工幫忙了。

### 自訂燃料費

此外，同樣的一筆交易，系統會給出一個建議的燃料費用，願意多出比建議值更高的燃料費用的人，相當於付了小費，那麼這筆交易就可以比出較低燃料費用（並發起同樣交易）的人更快完成交易。

區塊鏈的礦工本來就是靠修改、維護帳本在餬口，如果有人要他做同一份工作，卻付更多的錢，礦工當然會想先去幫願意出高價讓他挖礦（驗證）的人，這也是很自然的事。

{% hint style="info" %}
Gas 的直譯原為「瓦斯」但我們一致認為譯為燃料更有「運算資源/費用」的感覺，坊間也有不少人稱 Ethereum TX Gas 為以太坊交易燃料。故本書均以「燃料」替代瓦斯的翻譯。
{% endhint %}

***

#### 相關條目

* [燃料價格](/zhi-neng-he-yue-de-shi-jie/yi-tai-fang-bao/wa-si-ge.md)
* [燃料上限](/zhi-neng-he-yue-de-shi-jie/yi-tai-fang-bao/wa-si-shang-xian.md)

#### 參考資料


---

# 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://www.0x1.academy/zhi-neng-he-yue-de-shi-jie/yi-tai-fang-bao/wa-si.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.
