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

coins coins coins coins
/

Near Protocol (NEAR)

near

Near Protocol (NEAR)

Method: POST status

dropdown
POST

status

Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators.

Parameters

-

Request

curl --location --request POST 'https://near.getblock.io/mainnet' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "status",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "chain_id": "mainnet",
        "latest_protocol_version": 51,
        "protocol_version": 51,
        "rpc_addr": "0.0.0.0:3030",
        "sync_info": {
            "earliest_block_hash": "FD1M8N8Jx4cH79gLCG9ZaZKjqANmhnSkecMu54jUPf1r",
            "earliest_block_height": 60858604,
            "earliest_block_time": "2022-03-06T08:24:30.498760788Z",
            "latest_block_hash": "Q6rkJMtRRUQQfnRGRCffbGTaTLmfFRHzPTXLAXQPTq5",
            "latest_block_height": 61069216,
            "latest_block_time": "2022-03-09T10:02:27.129971340Z",
            "latest_state_root": "HZZmyq27AAzqxasSSfefD7eggXiYErj23KWQQKj2oYVw",
            "syncing": false
        },
        "validator_account_id": null,
        "validators": [
            {
                "account_id": "staked.poolv1.near",
                "is_slashed": false
            },
            {
                "account_id": "bzam6yjpnfnxsdmjf6pw.poolv1.near",
                "is_slashed": false
            },
            {
                "account_id": "aurora.pool.near",
                "is_slashed": false
            },
            {
                "account_id": "astro-stakers.poolv1.near",
                "is_slashed": false
            },
            {
                "account_id": "bisontrails.poolv1.near",
                "is_slashed": false
            },
            {
                "account_id": "dragonfly.poolv1.near",
                "is_slashed": false
            }
        ],
        "version": {
            "build": "crates-0.11.0-80-g164991d7a",
            "version": "1.24.0"
        }
    }
}