Skip to content

AA25 invalid account nonce

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.