Here are the steps to change the Optimism endpoint on MetaMask, for example because you'd rather use an endpoint from a node provider:
- Open MetaMask.
- Change the network to something other than Optimistic Ethereum (for example, Ethereum Mainnet).
- Remove the Optimistic Ethereum network (and click Delete to confirm).
- Click the circle icon at the top right and select Settings.
- Click Networks and then Add Network.
- Enter the network parameters:
Network Name Optimism New RPC URL The new RPC URL Chain ID 10 Currency Symbol ETH Block Explorer URL https://optimistic.etherscan.io - Click Save.
- Congratulations, you can now use Optimism through the new endpoint.