getRpcUrlForChain

Retrieves the RPC URL for a given blockchain chain ID.

Return

The corresponding RPC URL.

Parameters

chainId

The blockchain chain ID.

Throws

If no RPC URL is found for the given chain ID.