generateBCSRawTransaction static method
Implementation
static SignedTransaction generateBCSRawTransaction(AptosAccount accountFrom, RawTransaction rawTxn) {
final txnBuilder = TransactionBuilderEd25519(
accountFrom.pubKey().toUint8Array(),
(Uint8List signingMessage) => Ed25519Signature(accountFrom.signBuffer(signingMessage).toUint8Array())
);
return txnBuilder.rawToSigned(rawTxn);
}