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

# Celo API

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

## Endpoint

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

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

## Core Methods

Celo 使用 [EVM JSON-RPC 方法表](https://blockreq.com/docs/zh-cn/build/api-reference/evm-methods/index.md) 承接 `eth_*` 读写、archive-sensitive state calls、logs 和 WSS subscriptions。

旧区块 `eth_call` 需要 archive routing。BlockReq 目前不提供 Celo 上 `eth_getProof`、`debug_*` 和 `trace_*` 的文档，也不保证其可用。
