How do you specify a nonce when sending erc20 tokens using web3j?

1 Answer 1


The nonce in a transaction is the number of transactions by the sender you can not set this.

It is to prevent double spending. This is not to be confused with the proof of work nonce.

Getting and setting the nonce for a transaction

What is nonce in Ethereum? How does it prevent double spending?

Dear mod if you delete this again you really shouldn't be moderating an Ethereum stackexchange...

  • This doesnt explain how it differs from ERC20 Tokens? Is the nonce the same for both? Commented Jul 6, 2022 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.