signTransaction method
Future<TransactionReceipt>
signTransaction(
- List<
Credentials> cred, - TransactionReceipt transactionReceipt,
- Uint8List messageToSign
Signs the transactionReceipt
with the credentials cred
. The transaction will
not be sent.
Implementation
Future<TransactionReceipt> signTransaction(List<Credentials> cred,
TransactionReceipt transactionReceipt, Uint8List messageToSign) async {
final signatures = await _genSig(cred, messageToSign);
return _fillMissingData(
credentials: cred,
transactionReceipt: transactionReceipt,
signatures: signatures);
}