Ethereum Mainnet RPC, Subgraphs and Substreams

Read Ethereum Mainnet state, submit signed transactions and subscribe to node events through GraphOps RPC over HTTPS and WebSocket. Query indexed Ethereum Mainnet data through GraphQL Subgraphs, including your own Managed Subgraphs. Backfill and stream Ethereum Mainnet blocks into your own storage with Substreams.

Chain ID
1
CAIP-2 ID
eip155:1
Network type
Mainnet
Services
RPC, Subgraphs, Substreams

GraphOps services on Ethereum Mainnet

One API key from your organization can include every service you use, and all of them draw from the organization's credit balance.

RPC

Send JSON-RPC requests over HTTPS, or open a WebSocket for subscriptions. Archive data is available: historical state, such as eth_call at a past block, and historical event logs. Execution traces are available, such as the internal calls of a transaction or a block.

HTTPS
https://rpc.graphops.xyz/v1/evm/1
WebSocket
wss://rpc.graphops.xyz/v1/evm/1

Subgraphs

Query any Subgraph that The Graph Network serves on Ethereum Mainnet by Deployment CID or Graph Network Subgraph ID. Managed indexing runs on Ethereum Mainnet: publish a Managed Subgraph and GraphOps indexes it. Managed Subgraphs need a monthly plan.

Manifest network
mainnet

Ethereum Mainnet network details

Use these identifiers to name Ethereum Mainnet in requests, manifests and package configuration.

EVM chain ID
1
CAIP-2 network ID
eip155:1
Network type
Mainnet
Subgraph manifest network
mainnet
Other network names
etheth-mainnetethereumevm-1
Block explorer
etherscan.io(opens in a new tab)

Make a first Ethereum Mainnet request

This request reads the latest Ethereum Mainnet block number with eth_blockNumber. Create an API key that includes RPC in your organization and export it as GRAPHOPS_API_KEY. The example sends it in the Authorization header.

Prerequisites

  1. Set GRAPHOPS_API_KEY to your GraphOps API key.

  2. Run the command in a terminal with curl installed.

CLI · curl

curl --fail-with-body --silent --show-error 'https://rpc.graphops.xyz/v1/evm/1' \
  -H "Authorization: Bearer ${GRAPHOPS_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_blockNumber",
    "params": []
  }'

Pricing

Usage on Ethereum Mainnet draws credits at the same rates as on every other network. Your monthly plan sets the price per credit.

Loading the live billing catalog

Ethereum Mainnet questions

What is the Ethereum Mainnet chain ID?
Ethereum Mainnet is a mainnet with EVM chain ID 1. Its CAIP-2 network ID is eip155:1.
What is the GraphOps Ethereum Mainnet RPC endpoint?
Send HTTPS JSON-RPC requests to https://rpc.graphops.xyz/v1/evm/1, and open WebSocket connections to wss://rpc.graphops.xyz/v1/evm/1. Authenticate with an API key from your organization that includes RPC, in the Authorization header or as a route token at the end of the path.
Does GraphOps Ethereum Mainnet RPC serve archive data?
Yes. Historical state, such as eth_call at a past block, and historical event logs are available on Ethereum Mainnet.
Does GraphOps Ethereum Mainnet RPC support tracing?
Yes. Ethereum Mainnet RPC serves execution traces, such as the internal calls of a transaction or a block.
Which network name do Ethereum Mainnet Subgraphs use?
Subgraphs that index Ethereum Mainnet declare network: mainnet in their manifest.
Can GraphOps index my own Subgraph on Ethereum Mainnet?
Yes. Managed indexing runs on Ethereum Mainnet, so you can deploy a Managed Subgraph that GraphOps indexes. Managed Subgraphs need a monthly plan.
What is the GraphOps Ethereum Mainnet Substreams endpoint?
Stream Ethereum Mainnet packages from https://1.evm.substreams.graphops.xyz over gRPC. Packages for Ethereum Mainnet declare mainnet as their network.

Start building on Ethereum Mainnet.

Create an organization, choose your monthly credits, then create an API key that includes the services you need.