Get Optimism block by hash

⚠️ Deprecated: Get Block


GET /v3/optimism/block/{hash} is deprecated.

Use GET /v4/data/blockchains/block

Fetch a specific block from the blockchain by providing the block hash or block number.


Explore Docs →

/v3/optimism/block/{hash}

1 credit per API call.


Gets an Optimism block-by-block hash or block number.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Block hash or block number

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json