Review and sign transactions from a single secure screen with Ledger Flex™

Discover now

Up your Web3 game

Ledger Academy Quests

  • Test your knowledge
  • Earn POK NFTs
Play now See all quests

Nonce Meaning

May 19, 2023 | Updated Jul 19, 2023
A nonce is a variable input used by miners to find a valid hash for a block. It is an authentication model used to verify the validity of data in the blocks.

What is a Cryptographic Nonce?

Nonce is short for ‘number used once’. In blockchain, it is a number added to a hashed block. Miners on a Proof-of-Work (PoW) blockchain have to decode this number before they can earn the right to create the next block. 

In PoW blockchains like Bitcoin, a core component of its security is the “hash”, numbers that are created and validated on the blockchain. Each block in a blockchain has data stored in it, and this data is secured via encryption in the form of “hashed” numbers. These numbers are stored on the block header along with other data, like the nonce.

Miners on the blockchain compete to be the first to decode the nonce. The nonce acts as a variable input during the hashing process, allowing miners to explore a vast space of possibilities to find a valid hash. It serves as a means of adjusting the inputs to the hash function until the desired output is achieved. The PoW algorithm requires miners to continuously search for a nonce value that, when combined with other block data, produces a hash with specific characteristics, such as a certain number of leading zeros.

Miners use nonce to calculate the block hash and then add it to the blockchain. The first miner to successfully find the variable number unlocks the block hash gets block reward and may also receive transaction fees included in the block they mined.

Most blocks are unlocked by mining pools because of the difficulty of finding the right nonce. A single miner’s hashing power may never be sufficient to do this alone, so most miners combine their computing capabilities in order to find the right hash and share the rewards for that block.

Desktop Wallet

A desktop wallet is a computer program or software cryptocurrency holders use to store and manage private and public keys. It is downloaded and executed on a personal computer.

Full definition

EIP-4844

EIP-4844 is a proposed Ethereum network upgrade intended to boost the network’s scalability while reducing costs.

Full definition

Inverse Futures Contract

Full definition