Function: switchStarknetChain()
switchStarknetChain(
walletWSF,chainId):Promise<boolean>
Defined in: src/wallet/connectV5.ts:82
Request Wallet Network change
Parameters
walletWSF
WalletWithStarknetFeatures
The get-starknet V5 wallet object to use.
chainId
string
encoded name of the chain requested.
Returns
Promise<boolean>
true if the chain was changed successfully