selectChain abstract method

Future<void> selectChain(
  1. ReownAppKitModalNetworkInfo? chainInfo, {
  2. bool switchChain = false,
})

Sets the selectedChain and gets the chainBalance. If the wallet is already connected, it will request the chain to be changed and will update the session with the new chain. If chainInfo is null this will disconnect the wallet.

Implementation

Future<void> selectChain(
  ReownAppKitModalNetworkInfo? chainInfo, {
  bool switchChain = false,
});