OnFinality
New RPC users get 35% off their first monthView the offer
Celo logo

Celo RPC Endpoint and API

EVM RPC access to Celo, an Ethereum layer 2

Celo is an EVM-compatible Ethereum layer 2. Use these parameters to connect an EVM wallet or application to Celo mainnet.

Chain ID42220
CurrencyCELO
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.

Public endpoints are shared and rate-limited. View public rate limits

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://celo.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://celo.api.onfinality.io/public'
HTTPs
https://celo.api.onfinality.io/public
https://celo.api.onfinality.io/public
GET CONNECTED

Connect to Celo

Evaluate OnFinality as your Celo RPC provider. Verify mainnet chain ID 42220, check supported HTTPS methods, and validate contract reads or payment receipts.

Try the public interface

First request
curl 'https://celo.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'

Use the interface and request shown above for an initial check, then test the methods and traffic pattern your application actually needs.

02

Create your own access

  1. Open the dashboard and select this network.
  2. Create an endpoint and copy the access details supplied by the dashboard.
  3. Validate your application's methods, peak traffic and error handling before production.
Create an RPC endpoint for Celo
NETWORK REFERENCE

Verify a Celo payment in your backend

Keep your payment configuration keyed by chain ID and token contract. Before crediting a transfer, fetch eth_getTransactionReceipt, check that it succeeded, and match the transfer event to the configured token and expected recipient. A successful receipt by itself can belong to a different transfer.

Celo supports eligible tokens for gas. If your application uses that feature, check the configured fee currency and keep it separate from the payment token in your app. See Celo's fee currency guide.

For contract reads, use eth_call; for receipts and events, use eth_getTransactionReceipt or bounded eth_getLogs requests. The OnFinality Celo method reference lists supported HTTP methods. Confirm a suitable alternative if your workload needs live subscriptions, archive state or tracing.

RPC API

RPC API plans & response units

Choose a shared RPC plan by response-unit allowance and peak throughput. Method weights and network-specific availability still apply.

Developer

Free
Included response units
400,000/day
Rate limit
Up to 40 RU/s
Extra RU
Not available

Accelerate

$249/month
Included response units
100 million/month
Rate limit
500 RU/s
Extra RU
$3.75/million
Compare RPC plans

Plan figures checked 8 November 2026. RU are not always raw requests; WebSocket responses also count toward limits. Check the current pricing and this network's method documentation. Node charges and applicable taxes are additional.

NETWORK REFERENCE

Celo mainnet RPC and wallet settings

Celo is an EVM-compatible Ethereum layer 2. Use these parameters to connect an EVM wallet or application to Celo mainnet.

Network
Celo mainnet
EVM chain ID
42220 (0xa4ec)
Gas token
CELO
OnFinality public HTTPS
https://celo.api.onfinality.io/public
Explorer
Celoscan

The Celo network reference also lists Celo Sepolia, a separate testnet with chain ID 11142220. Alfajores is retired; use the current testnet's own endpoint and tokens for testing.

NETWORK REFERENCE

Check your Celo RPC connection

Request the chain ID before signing a transaction or sending a wallet user to a payment flow:

bash
curl -sS 'https://celo.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

The expected result is 0xa4ec. Next, request eth_blockNumber or check the contract read, balance and receipt methods needed by your application.

NETWORK REFERENCE

Choose access for Celo applications

Use the shared public endpoint for initial checks, then create an authenticated OnFinality endpoint to manage access and observe usage for wallets, stablecoin payment apps and backends. Review current limits and pricing against your workload before moving production traffic.

The OnFinality Celo method reference lists HTTP EVM methods and their response-unit weights. It currently marks WebSocket, archive access and trace/debug methods as unavailable for the managed API. Applications requiring historical state or subscriptions should confirm an appropriate service rather than assume those features are included.

CELO is the native token, but Celo also supports paying transaction fees in certain other tokens using the transaction's feeCurrency field. Consult the Celo network reference and confirm your wallet or SDK supports that transaction type. See RPC pricing for plan selection.

NETWORK REFERENCE

Add Celo to MetaMask

In MetaMask, choose Add network and enter the mainnet HTTPS RPC URL shown above, chain ID 42220, and currency symbol CELO. On a new connection, eth_chainId should return 0xa4ec.

NETWORK REFERENCE

Use Celo Sepolia and get test CELO

For Celo Sepolia, use https://forno.celo-sepolia.celo-testnet.org, chain ID 11142220 (0xaa044c), and currency symbol CELO. Request tokens with your public wallet address at the Celo Sepolia faucet. Deploy test contracts to Sepolia before switching the wallet and app back to mainnet.

NETWORK REFERENCE

Troubleshoot Celo JSON-RPC

For contract reads, check that the address exists on the selected chain before calling eth_call. For an empty eth_getLogs response, verify the contract, topics, and block range. If a request fails with HTTP 429, reduce concurrency and review quota before retrying. See the OnFinality Celo method reference for supported methods and transports.

NETWORK REFERENCE

Celo RPC questions

What is the mainnet RPC URL and Chain ID?

Use https://celo.api.onfinality.io/public on Celo Mainnet with Chain ID 42220. Confirm the network with eth_chainId before submitting a transaction.

Can I use Alfajores or mainnet tokens for testing?

Use Celo Sepolia for current test deployments and request test CELO from the Celo Sepolia faucet. Mainnet balances and contracts do not carry over.

Does the Celo endpoint support WebSocket, archive state, or tracing?

Check the OnFinality Celo method reference. The documented Celo RPC does not offer WebSocket, archive state, or Trace/Debug access.

BUILT FOR YOUR WORKLOAD

Build with Celo

Plan access around the requests, operational requirements and release workflow your application needs.

Integration

Start with a connection check, then validate the reads, transactions or data workflows required by your application.

Usage planning

Review method-specific limits, plan allowances and usage before increasing traffic. Different methods can consume different response units.

Operations

Use your real client region and request pattern when evaluating latency, retries and service availability.

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started