setOriginSignature method
Set the the transaction with an origin private key @param {String} to originSignature
Implementation
Transaction setOriginSignature(String originSignature) {
if (!isHex(originSignature)) {
throw const FormatException(
"'originSignature' must be an hexadecimal string",
);
}
return copyWith(originSignature: originSignature);
}