> For the complete documentation index, see [llms.txt](https://docs.bit-rock.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bit-rock.io/developer/connect-to-chain.md).

# Connect to Chain

MetaMask can access many more networks other than just the Ethereum mainnet - any EVM-compatible network can be added. The abbreviation RPC stands for Remote Procedure Call, a set of protocols that allow a client (such as MetaMask) to interact with a blockchain.

<figure><img src="/files/h8pQk3O0CvDANU7JoLME" alt=""><figcaption></figcaption></figure>

## Bitrock Testnet&#x20;

<table data-header-hidden data-full-width="true"><thead><tr><th width="207.5"></th><th></th></tr></thead><tbody><tr><td>Network Name</td><td>Bitrock Testnet</td></tr><tr><td>Symbol</td><td>BROCK</td></tr><tr><td>RPC Endpoints</td><td>https://testnet.bit-rock.io</td></tr><tr><td>Websocket Endpoint</td><td>wss://testnet.bit-rock.io/ws/</td></tr><tr><td>Chain ID</td><td>7771</td></tr><tr><td>Block Explorer</td><td><a href="https://testnetscan.bit-rock.io/">https://testnetscan.bit-rock.io</a></td></tr><tr><td>Faucet</td><td><a href="https://faucet.bit-rock.io/">https://faucet.bit-rock.io/</a></td></tr></tbody></table>

​​

## Bitrock Mainnet

<table data-header-hidden data-full-width="true"><thead><tr><th width="209.5"></th><th></th></tr></thead><tbody><tr><td>Network Name</td><td>Bitrock Mainnet</td></tr><tr><td>Symbol</td><td>BROCK</td></tr><tr><td>RPC Endpoints</td><td><a href="https://connect.bit-rock.io/">https://connect.bit-rock.io</a></td></tr><tr><td></td><td><a href="https://brockrpc.io/">https://brockrpc.io/</a></td></tr><tr><td>Websocket Endpoint</td><td>wss://connect.bit-rock.io/ws/</td></tr><tr><td></td><td>wss://brockrpc.io/ws/</td></tr><tr><td>Chain ID</td><td>7171</td></tr><tr><td>Block Explorer</td><td><a href="https://scan.bit-rock.io">https://scan.bit-rock.io</a></td></tr></tbody></table>

## JSON-RPC Method

{% code overflow="wrap" lineNumbers="true" fullWidth="true" %}

```sh
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":53}' https://connect.bit-rock.io
```

{% endcode %}
