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.
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.
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.
Backfill Ethereum Mainnet history and continue with a live gRPC stream of package output. Your
consumer commits the data and saves its cursor. Packages for Ethereum Mainnet declare
mainnet as their network.
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.
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.