updateChainIdInJavaScript

Updates the blockchain chain ID inside the JavaScript environment.

Return

A Result indicating success or failure.

Parameters

chainId

The new chain ID to be injected.