updateChain

fun updateChain(newChainId: String)

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

newChainId

The new chain ID to switch to.