Definition
Gas is the accounting unit Ethereum uses to measure the computational and storage-related work required by transactions. Sending ETH, calling a contract, and executing a complex application can consume different amounts of gas. The transaction fee depends on gas consumed and the effective price paid per unit, rather than on the asset's transferred market value alone. A gas limit caps the amount of work a transaction is permitted to use; it should not be confused with a quoted gas price. A transaction that reverts can still consume gas for work performed, even though its attempted application-state changes do not take effect. Fees are ordinarily paid in the network's native asset, although applications may arrange payment abstractions. Bitcoin transaction fees use a different model centered on transaction size and weight, so gas is not a universal name for every blockchain's fee calculation.
Source references
References accompanying this glossary entry:
Educational reference, not financial advice. See our financial disclaimer and editorial policy.