v1

latestOpenAPI 3.1.02026-07-266641.0 KB

Latest Block

Returns the block number and hash of the highest block available in the dataset, or null if no blocks are available. Takes real-time data into account. Useful mostly for diagnostics, as clients using /stream can get this info from the X-Sqd-Finalized-Head-Number and X-Sqd-Finalized-Head-Hash response headers.

get/head

Response

Highest block information

numberinteger

Block number of the highest available block.

hashstring

ID (hash) of the highest available block.

Example response

{
  "number": 83934980,
  "hash": "000000000500bf041e3f1de4e81528fc3225281e4e6bde5a9fbe821de67ef349"
}