# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bit-rock.io/developer/connect-to-chain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
