Skip to main content
GET
Get Latest Block

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:
polygon
Example:

"polygon"

Response

Latest block number

block_number
integer

The latest block number on the chain