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