Your public Optimism Gateway

Optimism is a Layer 2 protocol aiming to provide a scaling solution for Ethereum. The protocol strives to make transactions more affordable and seamless by processing them in batches using optimistic rollups. This way the Optimism protocol makes use of the Ethereum consensus while, at the same time, offering developers and users, significantly reduced gas fees and faster transactions.

Check out our documentation for limitations and usage examples on docs.blastapi.io

Get started for free and enjoy all the benefits including a higher throughput and a dedicated endpoint with our Consumer App

Optimism Mainnet

The main blockchain network within the Optimism ecosystem is the OP Mainnet, an EVM equivalent Layer 2 blockchain connected to Ethereum. The OP token runs at the core of the OP Mainnet and is used for paying transaction fees along with ETH. Developers can get access to Optimism public APIs for free with Blast!

Public RPC Endpoint

Public WSS Endpoint

Playground

eth_blockNumber

Parameters

eth_blockNumber

Returns the number of the most recent block

eth_blockNumber response

Returns the number of the most recent block

resultnumber

An integer value of the current block number the client is on

Request

curl -X POST https://optimism-mainnet.public.blastapi.io \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":0,"method":"eth_blockNumber"}'
Average API calls/sec204.67
Average API calls/day17,683,407
API calls last 24h15,826,882

No Data

No API calls made yet

Do you need more to power your project?

Harness the power of our Consumer App and take advantage of a decentralized underlying blockchain infrastructure. With our simple interface and detailed documentation, you can create dedicated API endpoints for multiple blockchains, in just a few clicks, organize your work in different project and benefit from a higher throughput.
If you need help, our team of experts is available 24/7 via discord support. Don't hesitate - start your blockchain journey today!

Get Started for Free