What is nonce account used for?


While going through the documentation - I came across this - ‘Nonce account’. Could some one explain the context for nonce account?


Hi @ratulb and welcome to the forum! :wave:

Nonce accounts are used in cases when you need multiple people to sign a transaction, but they can’t all be available to sign it on the same computer within a short enough time period.

Each transaction submitted on Solana must specify a recent blockhash that was generated within 2 minutes of the latest blockhash. If it takes longer than 2 minutes to get everybody’s signatures, then you have to use nonce accounts.

Detailed documentation can be found here, if you haven’t already seen it:

Hi @zicklag,