Function: addStarknetChain()
addStarknetChain(
walletWSF,chain):Promise<boolean>
Defined in: src/wallet/connectV5.ts:66
Request adding custom Starknet chain
Parameters
walletWSF
WalletWithStarknetFeatures
The get-starknet V5 wallet object to use.
chain
AddStarknetChainParameters
description of the chain to add.
Returns
Promise<boolean>
true if the chain was added successfully