Unichain RPC and Subgraphs

Read Unichain state, submit signed transactions, and subscribe to node events through GraphOps RPC over HTTPS and WebSocket. Query indexed Unichain data through GraphQL Subgraphs.

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

GraphOps services on Unichain

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/130
WebSocket
wss://rpc.graphops.xyz/v1/evm/130

Unichain network details

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

EVM chain ID
130
CAIP-2 network ID
eip155:130
Network type
Mainnet
Subgraph manifest network
unichain
Other network names
evm-130unichain-mainnet
Block explorer
uniscan.xyz(opens in a new tab)

Make a first Unichain request

This request reads the latest Unichain 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/130' \
  -H "Authorization: Bearer ${GRAPHOPS_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_blockNumber",
    "params": []
  }'

Pricing

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

RPC

Usage componentApplies toRate
RPC callsDefault15 credits / RPC call
RPC callsStandard15 credits / RPC call
RPC callsCompute-heavy25 credits / RPC call
RPC callsLog scans15 credits / RPC call
RPC callsState proofs20 credits / RPC call
RPC callsTrace and debug45 credits / RPC call
Subscription eventsDefault15 credits / subscription event
Subscription eventsSubscription type: newHeads15 credits / subscription event
Subscription eventsSubscription type: logs15 credits / subscription event
Subscription eventsSubscription type: newPendingTransactions15 credits / subscription event
Subscription eventsSubscription type: syncing15 credits / subscription event
Response bytesDefault0 credits / GiB
Response bytesLog scans500K credits / GiB
Response bytesTrace and debug500K credits / GiB

Subgraphs

Usage componentApplies toRate
QueriesDefault50 credits / query
QueriesBilling mode: managed0 credits / query
Response bytesDefault500K credits / GiB
Response bytesBilling mode: managed0 credits / GiB
Managed allocated timeDefault100K credits / hour
Managed entity timeDefault77K credits / million entity-hours
Managed storage timeDefault3.85K credits / GiB-hour

Unichain questions

What is the Unichain chain ID?
Unichain is a mainnet with EVM chain ID 130. Its CAIP-2 network ID is eip155:130.
What is the GraphOps Unichain RPC endpoint?
Send HTTPS JSON-RPC requests to https://rpc.graphops.xyz/v1/evm/130, and open WebSocket connections to wss://rpc.graphops.xyz/v1/evm/130. 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 Unichain RPC serve archive data?
Yes. Historical state, such as eth_call at a past block, and historical event logs are available on Unichain.
Does GraphOps Unichain RPC support tracing?
Yes. Unichain RPC serves execution traces, such as the internal calls of a transaction or a block.
Which network name do Unichain Subgraphs use?
Subgraphs that index Unichain declare network: unichain in their manifest.
Can GraphOps index my own Subgraph on Unichain?
No. Managed indexing does not run on Unichain. You can query the Subgraphs that The Graph Network serves on it.

Start building on Unichain.

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