respondAuthRequest abstract method

Future<void> respondAuthRequest({
  1. required int id,
  2. required String iss,
  3. CacaoSignature? signature,
  4. WalletConnectError? error,
})

Construct the Namespaces map for a session proposal. Uses the registered methods, events, and keys to build them. If the required namespaces is not satisfied, this function will throw a WalletConnectError. The optional namespaces are included if they exist in the registered information.

Implementation

// Map<String, Namespace> constructNamespaces({
//   required Map<String, RequiredNamespace> requiredNamespaces,
//   Map<String, RequiredNamespace>? optionalNamespaces,
// });

// FORMER AUTH ENGINE METHODS

Future<void> respondAuthRequest({
  required int id,
  required String iss,
  CacaoSignature? signature,
  WalletConnectError? error,
});