Web3 - Assign nonce to smarct contract transact

by Pave   Last Updated August 14, 2019 06:28 AM

I have a smart contract. I want to execute one of its state modifying functions.

This is the code:

const result = await smartContractObject.methods
    .addSomething(_valueToAdd)
    .send( { gas: '5000000', from:masterAccount });

How can I manually assign this transaction a nonce?

Do I need to create a raw_tx?



Related Questions


Updated May 25, 2018 16:28 PM

Updated February 06, 2018 12:28 PM

Updated February 12, 2018 11:28 AM

Updated February 19, 2018 11:28 AM

Updated May 21, 2018 08:28 AM