Request
Parameters
`0x${string}`
required
Hex-encoded chain ID. Must be in
appChainIds.Returns
null on success.
Errors
Mini App constraint
Inside a Mini App, the SDK forwardswallet_switchEthereumChain normally, but the host iframe may reject it. Mini Apps inherit the active chain from the Startale App host; the host controls whether a switch is permitted. Treat a 4200 response in a Mini App context as a host-enforced restriction, not an SDK limitation.
Related
- Networks
- Wallet integration, Mini App constraints.