Preparing search index...
The search index is not available
@thirdweb-dev/react
@thirdweb-dev/react
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
ISecureStorage
MediaRendererProps
MediaType
ThirdwebAuthConfig
ThirdwebNftMediaProps
ThirdwebProviderCoreProps
ThirdwebSDKProviderProps
UserWithData
AcceptDirectOffer
AirdropNFTParams
BurnNFTParams
BuyNowParams
Chain
ClaimIneligibilityParams
ClaimNFTParams
ClaimNFTReturnType
ClaimTokenParams
ConnectUIProps
ConnectWalletProps
DelayedRevealLazyMintInput
DropContract
Loading...
Generated using
TypeDoc