wei:以太坊(Ethereum)中以太币(ether, ETH)的最小计量单位。1 ETH = 10¹⁸ wei。在区块链交易与智能合约里常用来精确表示金额与手续费计算。(注:在不同语境中 Wei 也可指人名/姓氏等其他含义。)
/weɪ/
I sent 1000000000000000000 wei, which equals 1 ETH.
我发送了 1000000000000000000 wei,也就是 1 个 ETH。
The contract stores balances in wei to avoid rounding errors, and the gas fee is calculated separately.
该合约用 wei 存储余额以避免四舍五入误差,并且燃料费(gas fee)会单独计算。
在以太坊语境中,wei 以密码学研究者 Wei Dai(戴伟) 命名,用作以太币的最小单位,强调可分割性与高精度计价的需求,便于智能合约进行严谨的数值运算。