signTransaction static method

Future<List<Map<String, dynamic>>> signTransaction(
  1. Map<String, dynamic> transactions
)

Send an transaction object to AlgoSigner for approval. The Network is determined from the 'genesis-id' property. If approved, the response is an array of signed transaction objects, with the binary blob field base64 encoded to prevent transmission issues.

Implementation

static Future<List<Map<String, dynamic>>> signTransaction(
  Map<String, dynamic> transactions,
) async {
  final result = await AlgoSignerPlatform.instance
      .signTransactions(transactions: [transactions]);
  return result;
}