⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
xem

NEM (XEM)

Method: GET /status

dropdown
GET

/status

Determines the status of NIS.

The code can be interpreted as follows: 0: Unknown status. 1: NIS is stopped. 2: NIS is starting. 3: NIS is running. 4: NIS is booting the local node (implies NIS is running). 5: The local node is booted (implies NIS is running). 6: The local node is synchronized (implies NIS is running and the local node is booted). 7: NIS local node does not see any remote NIS node (implies running and booted). 8: NIS is currently loading the block chain from the database. In this state NIS cannot serve any requests.

Parameters

-

Request

curl --location --request GET 'https://xem.getblock.io/status' \
 --header 'x-api-key: YOUR-API-KEY' \
 --header 'Content-Type: application/json'


Response

{
    "code": 6,
    "message": "status",
    "type": 4
}