Gwei to wei converter
Convert gwei into wei, the base unit of ether. One gwei equals 10^9 wei, so this tool multiplies your gwei input by 1,000,000,000 to give the exact integer wei value.
完全在浏览器中运行。无需 API 密钥,数据不离开本页面。
The exact relationship
1 gwei = 10^9 wei (1,000,000,000 wei). To convert gwei to wei you multiply by 1,000,000,000. So 1 gwei is 1000000000 wei and 30 gwei is 30000000000 wei. The result is always a whole number because both units are integer denominations.
Where you hit this in real work
Some RPC parameters and EIP-1559 fields such as maxFeePerGas expect wei even though you think in gwei. When you set a 25 gwei fee cap, the raw value passed to the node is 25000000000 wei. This tool converts the human gwei figure into the wei value the protocol uses.
常见问题
How many wei are in one gwei?
Exactly 10^9 wei, or 1,000,000,000 wei. Gwei sits between wei and ether on the unit ladder.
Do EIP-1559 fee fields use wei or gwei?
The raw RPC and transaction fields use wei. Interfaces display gwei for readability, but the encoded value is in wei.
相关工具
充值、拿密钥、上线。
自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。
获取 API 密钥