EVM
You can override the RPC url of any EVM network by using theoverrideNetworkRpcUrl
method in combination with the overrides.evmNetworks
settings.
Example
The following example overrides the RPC url of the Ethereum mainnet and Polygon set in the dashboard with the ones set in therpcUrlOverrides
object.
SVM (sdk v4.8.0+)
You can override the RPC url of any SVM network by using theoverrideNetworkRpcUrl
method in combination with the overrides.solNetworks
settings.
Example
The following example overrides the RPC url of the Solana mainnet and Eclipse mainnet set in the dashboard with the ones set in therpcUrlOverrides
object.