Optimism API
Optimism endpoints use the EVM JSON-RPC Core API. The route keeps Optimism's EVM method surface separate from non-EVM protocols.
Endpoint
| Item | Value |
|---|---|
| Network | Optimism Mainnet |
| Protocol | EVM JSON-RPC 2.0 |
| Chain ID | 10 (0xa) |
| Public HTTPS | https://optimism-rpc.blockreq.com/v1/rpc/public |
| Private HTTPS | https://optimism-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000 |
| WSS | wss://optimism-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000 when enabled |
Core Methods
Optimism supports the shared EVM JSON-RPC Methods set for core reads, transactions, filters, subscriptions, and archive state.
| Capability | Methods |
|---|---|
| Latest state | eth_chainId, eth_blockNumber, eth_call, eth_getBalance |
| Historical state | old-block eth_call, eth_getStorageAt, eth_getTransactionCount |
| History/index | eth_getLogs, eth_getTransactionByHash, eth_getTransactionReceipt |
Proof, Debug, and Trace
BlockReq does not currently document or guarantee eth_getProof, debug_*, or trace_* on Optimism.