Skip to content
LogoLogo

AA25 invalid account nonce

AA25 invalid account nonce is an ERC-4337 EntryPoint error that means the user operation's nonce is not a valid next nonce for the smart account.

The nonce of the user operation is invalid.

Possible solutions

  • Verify that you are using the correct nonce for the user operation. The nonce should be the current nonce of the smart account for the selected key. Consider leveraging functions like getAccountNonce.
    • Make sure that you are not reusing a nonce that has already been used.
    • Make sure that you are not using a nonce that is too far in the future (more than 10 higher than the current nonce).
  • Verify that the nonce is formatted correctly.
  • Use custom nonce key to send parallel transactions. See How to Send Multiple Transactions.