T
iTokenly

Nonce

A nonce is a number used once in cryptography or blockchains to make data unique and help miners, validators, or wallets process it safely.

A nonce, short for “number used once,” is a value included in blockchain data so that each attempt, block, or transaction can be uniquely identified. In proof-of-work systems such as Bitcoin, miners repeatedly change the nonce in a block header while hashing the block’s data. Their goal is to find a hash that meets the network’s difficulty target. The nonce itself is not secret or valuable; it is simply a field that can be adjusted to produce different hash results.

Nonces matter because they help prevent duplication, replay, and predictable outcomes in blockchain systems. A practical comparison is a raffle ticket number: changing the number gives you a different entry, even if the rest of the information stays the same. In account-based blockchains, the word can also refer to a transaction count that ensures each transaction from an address is processed in the correct order and cannot be reused. In both cases, the nonce helps networks keep activity organized, verifiable, and resistant to certain types of errors or attacks.

Other terms in Blockchain Fundamentals