Wei
Wei is the smallest denomination of ether, with one ETH equal to 10^18 wei.
✦ Key Insight
It helps explain why smart contracts avoid floating-point currency calculations.
✕ Common Misconceptions
Do not confuse wei with gwei; gwei is one billion wei.
Detailed Explanation
In Practice
Dig Deeper
Smart Contract
A smart contract is blockchain-deployed code that can hold state and execute predefined rules when called.
Gas
Gas is a unit or mechanism used on some smart-contract networks to measure and price the computational work required for transactions.
Ethereum
A blockchain designed to run programs, called smart contracts, with ETH as the currency that pays for the computation.
Gas Fee
A gas fee is the network fee paid for computation and transaction execution on blockchains that use a gas-based fee model.
Gwei
Gwei is a denomination of ether equal to one billion wei and is commonly used to quote Ethereum gas prices.
