Preparing search index...
The search index is not available
Distributed Lab | Web-Kit
Distributed Lab | Web-Kit
@distributedlab/w3p
requestSwitchEthChain
Function requestSwitchEthChain
request
Switch
Eth
Chain
(
provider
:
Web3Provider
, chainId
:
ChainId
)
:
Promise
<
void
>
Parameters
provider:
Web3Provider
chainId:
ChainId
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Distributed
Lab |
Web-
Kit
@distributedlab/fetcher
@distributedlab/jac
@distributedlab/reactivity
@distributedlab/tools
@distributedlab/w3p
CHAIN_
TYPES
EIP1193
EIP1474
EIP_
1193_
STRING
ENear
Wallet
Id
NEAR_
ACTIONS
NEAR_
CHAINS
PROVIDERS
PROVIDER_
CHECKS
PROVIDER_
EVENTS
PROVIDER_
EVENT_
BUS_
EVENTS
SOLANA_
CHAINS
BaseEVMProvider
Base
Solana
Provider
Coinbase
Provider
Fallback
Evm
Provider
Metamask
Provider
Near
Provider
Near
Raw
Provider
Phantom
Provider
Provider
Provider
Chain
Details
Not
Found
Error
Provider
Chain
Disconnected
Provider
Chain
Not
Found
Error
Provider
Detector
Provider
Disconnected
Provider
Event
Bus
Provider
Injected
Instance
Not
Found
Error
Provider
Internal
Error
Provider
Invalid
Input
Provider
Invalid
Params
Provider
Invalid
Request
Provider
Json
Rpc
Invalid
Provider
Json
Rpc
Version
Not
Supported
Provider
Limit
Exceeded
Provider
Method
Not
Found
Provider
Method
Not
Supported
Provider
Not
Initialized
Error
Provider
Parse
Error
Provider
Resource
Not
Found
Provider
Resource
Unavailable
Provider
Transaction
Rejected
Provider
Unauthorized
Provider
Unsupported
Method
Provider
User
Rejected
Request
Solflare
Provider
Wallet
Connect
Evm
Provider
Eth
Provider
Rpc
Error
Ethereum
Provider
IProvider
Provider
Base
Provider
Proxy
Provider
Proxy
Constructor
Provider
Subscriber
Chain
Chain
Id
Create
Provider
Opts
Eth
Transaction
Response
Near
Provider
Rpc
Error
Near
Transaction
Response
Near
Tx
Request
Body
Provider
Constructor
Map
Provider
Event
Callback
Provider
Event
Map
Provider
Event
Payload
Provider
Instance
Provider
Listeners
Raw
Provider
Solana
Provider
Solana
Provider
Rpc
Error
Solana
Transaction
Response
Transaction
Response
Tx
Request
Body
Wallet
Connect
Init
Args
MAX_
GAS_
LIMIT
NO_
DEPOSIT
errors
connect
Eth
Accounts
create
Provider
create
Wallet
Connect
Eth
Namespace
decode
Solana
Tx
get
Eth
Explorer
Address
Url
get
Eth
Explorer
Tx
Url
get
Near
Explorer
Address
Url
get
Near
Explorer
Tx
Url
get
Sol
Explorer
Address
Url
get
Sol
Explorer
Tx
Url
handle
Eth
Error
handle
Near
Error
handle
Sol
Error
hex
To
Decimal
near
To
Yocto
request
Add
Eth
Chain
request
Switch
Eth
Chain
sleep
wrap
External
Eth
Provider
yocto
To
Near
Generated using
TypeDoc