---
title: "Berachain API"
description: "Berachain Core RPC API，提供 HTTPS 与 WSS"
url: "https://blockreq.com/docs/zh-cn/build/api-reference/berachain/"
---

# Berachain API

Berachain 端点通过 HTTPS 与 WSS 提供 EVM JSON-RPC Core API。

## Endpoint

| Item | Value |
| --- | --- |
| Network | Berachain Mainnet |
| Protocol | EVM JSON-RPC 2.0 |
| Chain ID | `80094` (`0x138de`) |
| Public HTTPS | `https://berachain-rpc.blockreq.com/v1/rpc/public` |
| Private HTTPS | `https://berachain-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000` |
| Public WSS | `wss://berachain-rpc.blockreq.com/v1/rpc/public` |
| Private WSS | `wss://berachain-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000` |

这些 URL 使用产品路径 `/v1/rpc` 加上 `/public` 或 `BRQ1P0000000000000000000000000000000000000000000000000000000`。

## Core Methods

Berachain 使用 [EVM JSON-RPC 方法表](https://blockreq.com/docs/zh-cn/build/api-reference/evm-methods/index.md) 承接 latest-state reads、transactions、logs 和 archive state。

旧区块 `eth_call` 等 archive/all-history 调用仍需要 provider capability 和 plan access。BlockReq 目前不提供 Berachain 上 `eth_getProof`、`debug_*` 和 `trace_*` 的文档，也不保证其可用。
