Skip to main content

Node Status

status request type

This endpoint allows you to get the current status of the NEAR node, including version info, sync status, and latest block information.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://rpc.mainnet.fastnear.com
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

application/json

This operation accepts a JSON-RPC body over POST to /.

Required request inputs: yes

{
  "jsonrpc": "2.0",
  "id": "fastnear",
  "method": "status",
  "params": []
}

Request schema

object
requires jsonrpc, id, method, params
jsonrpc *string
2.0
id *string

Example: fastnear

method *string
status
params *array

Empty array as this method takes no parameters

Example:

Response reference

200 application/json

Successful response

Response schema

objectJsonRpcResponse
requires jsonrpc, id
jsonrpc *string
2.0
id *one of
stringnumber
resultobject
requires version, chain_id, protocol_version, latest_protocol_version, validators, sync_info, node_public_key, uptime_sec, genesis_hash
chain_id *string

Unique chain id.

detailed_debug_statusobjectnullable
requires network_info, sync_status, catchup_status, current_head_status, current_header_head_status, block_production_delay_millis
block_production_delay_millis *integer
catchup_status *array
itemsobject
current_head_status *object

Height and hash of a block

current_header_head_status *object

Height and hash of a block

network_info *object
sync_status *string
genesis_hash *string

Base58-encoded hash

latest_protocol_version *integer

Latest protocol version that this client supports.

node_keystringnullable

ed25519: or secp256k1: prefixed public key

node_public_key *string

ed25519: or secp256k1: prefixed public key

protocol_version *integer

Currently active protocol version.

rpc_addrstringnullable

Address for RPC server. None if node doesn't have RPC endpoint enabled.

sync_info *object
requires latest_block_hash, latest_block_height, latest_state_root, latest_block_time, syncing

Sync status of the node.

earliest_block_hashstringnullable

Base58-encoded hash

earliest_block_heightintegernullable
earliest_block_timestringnullable
epoch_idstringnullable

Base58-encoded epoch identifier hash

epoch_start_heightintegernullable
latest_block_hash *string

Base58-encoded hash

latest_block_height *integer
latest_block_time *string
latest_state_root *string

Base58-encoded hash

syncing *boolean
uptime_sec *integer

Uptime of the node.

validator_account_idstringnullable

NEAR account ID

validator_public_keystringnullable

ed25519: or secp256k1: prefixed public key

validators *array

Current epoch validators.

itemsobject
version *object
requires version, build, commit

Data structure for semver version and github tag or commit.

build *string
commit *string
rustc_versionstring

Default:

version *string
errorobject
codeinteger
messagestring
dataobject