Skip to main content
GET
Get Latest Block
Supported chains: ethereum, polygon, base, arbitrum, optimism, binance, avalanche, gnosis

Authorizations

apikey
string
header
required

API key for authentication. Contact SonarX to obtain your API key.

Path Parameters

chain
enum<string>
required

The blockchain network to query

Available options:
ethereum,
polygon,
base,
arbitrum,
optimism,
binance,
avalanche,
gnosis
Example:

"polygon"

Response

Latest block number

block_number
integer

The latest block number on the chain