selectChain abstract method

Future<void> selectChain(
  1. W3MChainInfo? 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(W3MChainInfo? chainInfo, {bool switchChain = false});