setNonce method

void setNonce(
  1. int nonce
)

Sets the nonce for the Ethereum transaction.

Throws a MessageException if the provided nonce is null.

Implementation

void setNonce(int nonce) {
  _nonce = nonce;
  _replaceTr();
}