Skip to content

[SDK] Getting error: 'nonce too high. allowed nonce range: 0 - 20' #940

Answered by JackHamer09
max-bytekerk asked this question in SDKs
Discussion options

You must be logged in to vote

@max-bytekerk, there are a few potential reasons why you’re encountering this issue:

  1. Signature Mismatch

    • The MPC-generated V, R, S values might be computed with different parameters (e.g., chain ID, recovery ID, etc.), leading to an incorrect recovered address.
    • As a result, the network interprets the transaction as coming from an address with 0 transactions, hence the allowed nonce range of 0-20.
    • The value 0 is due to resolving to an address with a transaction count of 0, while 20 is the max queue length the server allows.
  2. Nonce Discrepancy

    • The network verifies the on-chain nonce of the recovered address.
    • If it determines the allowed nonce range is 0–20, a transaction with a nonce o…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JackHamer09
Comment options

Answer selected by JackHamer09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
SDKs
Labels
sdk Questions for the SDKs
2 participants