I'm trying to create a custom RPC node, but first I want to understand what's in a metamask request from an RPC node. From the following api call below using CURL, we can see that you need to pass in an API key into infura.io, but how does metamask do it where it doesn't need an API key in the chrome extenstion?
Metamask uses: https://mainnet.infura.io/v3/ in the settings. But it doesn't require a api key. How is it bypassing this?
curl -i -X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xF02c1c8e6114b1Dbe8937a39260b5b0a374432bB","latest"],"id":1}' \
"https://mainnet.infura.io/YOUR_API_KEY"