Chains / Networks
Custom RPC URLs
EVM
You can override the RPC url of any EVM network by using the overrideNetworkRpcUrl
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 the rpcUrlOverrides
object.
SVM (sdk v4.8.0+)
You can override the RPC url of any SVM network by using the overrideNetworkRpcUrl
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 the rpcUrlOverrides
object.
Was this page helpful?