Status API#

Returns the status of the explorer.

Get Status#

GET /api/v2/status#
Response JSON Object:
  • server_time (int) – server time in epoch.

  • latest_block_height (int) – latest block height indexed.

  • latest_block_timestamp (int) – timestamp of the latest block indexed.

  • node_height (int) – height of the snarkOS node the explorer is connected to.

  • reference_height (int) – height of the reference node configured by the explorer.

Get the basic status of the explorer.

Example request:

GET /api/v2/status HTTP/1.1
Host: testnet3.aleoscan.io

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "server_time": 1712200000,
    "latest_block_height": 1230000,
    "latest_block_timestamp": 1712200000,
    "node_height": 1234000,
    "reference_height": 1234001
}