# JSON-RPC API

The following sections contain known RPC methods available on the Bifrost Network which allow you to interact with the actual node, query, and submit.

## Testnet (ChainId: 49088)

|                Public Endpoints (rpc/ws)                |
| :-----------------------------------------------------: |
|    <https://public-01.testnet.bifrostnetwork.com/rpc>   |
|    <https://public-02.testnet.bifrostnetwork.com/rpc>   |
| <https://bifrost-testnet.g.allthatnode.com/archive/evm> |
|  \*<https://bifrost-testnet.g.allthatnode.com/full/evm> |
|     wss\://public-01.testnet.bifrostnetwork.com/wss     |
|     wss\://public-02.testnet.bifrostnetwork.com/wss     |
|   wss\://bifrost-testnet.g.allthatnode.com/archive/evm  |
|   \*wss\://bifrost-testnet.g.allthatnode.com/full/evm   |

{% hint style="info" %}
"\*" denotes a full node RPC.
{% endhint %}

## Mainnet (ChainId: 3068)

|                Public Endpoints (rpc/ws)                |
| :-----------------------------------------------------: |
|    <https://public-01.mainnet.bifrostnetwork.com/rpc>   |
|    <https://public-02.mainnet.bifrostnetwork.com/rpc>   |
| <https://bifrost-mainnet.g.allthatnode.com/archive/evm> |
|  \*<https://bifrost-mainnet.g.allthatnode.com/full/evm> |
|     wss\://public-01.mainnet.bifrostnetwork.com/wss     |
|     wss\://public-02.mainnet.bifrostnetwork.com/wss     |
|   wss\://bifrost-mainnet.g.allthatnode.com/archive/evm  |
|   \*wss\://bifrost-mainnet.g.allthatnode.com/full/evm   |


---

# 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.bifrostnetwork.com/bifrost-network/developer-documentations/client-api/json-rpc-api.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.
