Why send a nonce as part of a Chainweb transaction?

Viewed 40
1 Answers

It's not optional in the API, see https://api.chainweb.com/openapi/pact.html#tag/model-payload . The yaml file tool simply inserts the current time if you leave it out.

It's salt for the transaction hash that you can use as you see fit, ie to change the transaction hash without changing anything functional. Note that georgep's technique does not need the nonce, as changing the gas price would change your transaction hash all by itself.

Related