getApprovedChains method

  1. @override
List<String>? getApprovedChains({
  1. String? namespace,
})
override

Will get the list of already approved chains by the wallet (to switch to)

Implementation

@override
List<String>? getApprovedChains({String? namespace}) {
  if (_currentSession == null) {
    return null;
  }
  return _currentSession!.getApprovedChains(namespace: namespace);
}