setVersion method
Sets version of the transaction. Throws ArgumentError
if the version
is incompatible
Implementation
setVersion(int version) {
if (version < 0 || version > 0xFFFFFFFF) {
throw ArgumentError("Expected Uint32");
}
_tx.version = version;
}