approveSession method

  1. @override
Future<ApproveResponse> approveSession({
  1. required int id,
  2. required Map<String, Namespace> namespaces,
  3. String? relayProtocol,
})
override

Implementation

@override
Future<ApproveResponse> approveSession({
  required int id,
  required Map<String, Namespace> namespaces,
  String? relayProtocol,
}) async {
  try {
    return await signEngine.approveSession(
      id: id,
      namespaces: namespaces,
      relayProtocol: relayProtocol,
    );
  } catch (e) {
    rethrow;
  }
}