update Chain
Updates the currently active chain ID used by the provider.
This function delegates the chain ID update to the underlying provider. After calling this, all subsequent requests will be directed to the specified chain.
Parameters
new Chain Id
The new chain ID to switch to.