updateRpcUrlInJavaScript

Updates the RPC URL in the JavaScript environment.

Return

A Result indicating success or failure.

Parameters

newRpcUrl

The new RPC URL to be injected.