Gwei

Intermediate

Community Submission - Author: John Ma

The term gwei refers to a small denomination of ether (ETH), which is the native currency of the Ethereum blockchain. As the name suggests, 
Along with ETH, gwei is the most commonly used denomination of Ethereum’s cryptocurrency, and it is particularly useful when talking about gas. Simply put, gas is the pricing mechanism used on the Ethereum network. Such a mechanism is responsible for calculating the fees when users perform a transaction or execute a smart contract operation.

Specifically, a unit of gwei is defined as one-billionth (one Nano) of an ether. So 1 gwei equals 0.000000001 or 10e-9 ETH. Conversely, 1 ETH equals one billion (10e9) gwei.

As presented on the Ethereum GitHub, there are several other denominations of ether, each representing a multiple of wei (the smallest unit of ETH).

Unit

Wei Value

Wei

Ether Value

Wei

1 wei

1

10e-18 ETH

Kwei

10e³ wei

1,000

10e-15 ETH

Mwei

10e6 wei

1,000,000

10e-12 ETH

Gwei

10e9 wei

1,000,000,000

10e-9 ETH

Microether

10e12 wei

1,000,000,000,000

10e-6 ETH

Milliether

10e15 wei

1,000,000,000,000,000

10e-3 ETH

Ether

10e18 wei

1,000,000,000,000,000,000

1 ETH

To better understand the concept of gwei, we may use an analogy with the US dollar, where gwei would be equivalent to coins (cents) and ETH to dollar bills. For small purchases, it’s easier to refer to prices in cents rather than in fractions of a dollar. As such, gwei may come handy when measuring small values, and that’s the reason it is widely used when calculating the gas price.

Although less common, gwei may sometimes be referred to as a Shannon, NanoEther or Nano. The term Shannon refers to the mathematician and cryptographer, Claude Shannon, who is known as the father of Information Theory.

Compartilhar publicações
Registre uma conta
Coloque seus conhecimentos em prática. Abra uma conta na Binance hoje mesmo.