Reading WAST/WASM from ______ wast...
Assembling WASM...
Publishing contract...
Error 3030011: duplicate transaction
You can try embedding eosio nonce action inside your transaction to ensure uniqueness.
Error Details:
Transaction is not unique

It is from help_text.cpp in programs cleos

  1. What is eosio nonce?
  2. How to embed it inside a transaction?
  • 1
    Text should not be pasted as image. Rather, paste it as a code block: then it can be readily copied for searching or other purposes.
    – Gassa
    Commented May 11, 2018 at 11:08
  • Something seems funny about that screenshot. Is this from cleos set contract? If so you'd have to send the same code twice within .5s to get that error. Commented May 11, 2018 at 12:18

1 Answer 1


Use the -f option in cleos

This option will instruct cleos to include a nonce action in the transaction you are creating, that will make the tx unique.

-f,--force-unique force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times

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.