getApprovedChains method

  1. @override
List<String>? getApprovedChains()
override

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

Implementation

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