BNB Smart Chain Mainnet RPC and Subgraphs

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

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

GraphOps services on BNB Smart Chain 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/56
WebSocket
wss://rpc.graphops.xyz/v1/evm/56

BNB Smart Chain Mainnet network details

Use these identifiers to name BNB Smart Chain Mainnet in requests, manifests, and package configuration.

EVM chain ID
56
CAIP-2 network ID
eip155:56
Network type
Mainnet
Subgraph manifest network
bsc
Other network names
bnbbnb-mainnetbsc-mainnetevm-56
Block explorer
bscscan.com(opens in a new tab)

Make a first BNB Smart Chain Mainnet request

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

Pricing

Usage on BNB Smart Chain Mainnet 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

BNB Smart Chain Mainnet questions

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

Start building on BNB Smart Chain Mainnet.

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