Market Cap: 24h Vol: BTC: BTC Dom:
Gold: S&P 500: EUR/USD: Oil (BRENT):

Nonce

A nonce is a value used exactly once inside a specific process, and in crypto it appears in two distinct but related contexts.

In Proof of Work systems like Bitcoin, the nonce is a 32-bit field in a block's header that miners repeatedly change while re-hashing the block. Because even a tiny change to the input completely scrambles a cryptographic hash's output, miners cycle through billions of possible nonce values searching for one that produces a hash below the network's current difficulty target. When mining hardware exhausts that range without success, miners adjust an additional "extra nonce" field to reset the search space and keep trying. The nonce that finally produces a qualifying hash is sometimes called a "golden nonce," and finding it is what earns a miner the right to add the next block and collect its reward.

The word takes on a different meaning at the account level. On networks like Ethereum, every wallet address has its own nonce: a simple counter that starts at zero and increases by one with each transaction sent. This ordering prevents transactions from being processed out of sequence and stops a signed transaction from being rebroadcast and executed twice, a safeguard against replay attacks and accidental double-spending.

Both uses share the same core idea: a number consumed once to guarantee uniqueness, whether that means securing the mining process or keeping an account's transaction history tamper-resistant.

Related Articles