Preparing search index...
The search index is not available
@thirdweb-dev/react-native
@thirdweb-dev/react-native
useSwitchChain
Function useSwitchChain
use
Switch
Chain
(
)
:
(
(
chain
)
=>
Promise
<
void
>
)
Returns
(
(
chain
)
=>
Promise
<
void
>
)
a method to connect the wallet to network/chain with given chainId
(
chain
)
:
Promise
<
void
>
Parameters
chain
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@thirdweb-dev/react-native
CoinbaseWallet
EmbeddedWallet
LocalWallet
MagicLink
MagicWallet
MetaMaskWallet
RainbowWallet
ThirdwebSDK
ThirdwebStorage
TrustWallet
WalletConnect
WalletConnectBase
WalletConnectV2
ISecureStorage
ThirdwebAuthConfig
ThirdwebProviderCoreProps
ThirdwebSDKProviderProps
UserWithData
AcceptDirectOffer
AirdropNFTParams
BurnNFTParams
Loading...
Generated using
TypeDoc