rawToSigned method

SignedTransaction rawToSigned(
  1. RawTransaction rawTxn
)

Implementation

SignedTransaction rawToSigned(RawTransaction rawTxn) {
  final signingMessage = TransactionBuilder.getSigningMessage(rawTxn);
  final signature = signingFunction(signingMessage);

  final authenticator = TransactionAuthenticatorMultiEd25519(publicKey, signature as MultiEd25519Signature);
  return SignedTransaction(rawTxn, authenticator);
}