Network Info
network_info request type
This endpoint allows you to get network information from the NEAR node, including active peers and known producers.
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/jsonThis operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "network_info",
"params": []
}Request schema
object
requires jsonrpc, id, method, paramsjsonrpc *string2.0id *stringmethod *stringnetwork_infoparams *arrayEmpty array as this method takes no parameters
Response reference
200 application/jsonSuccessful response
Response schema
objectJsonRpcResponse
requires jsonrpc, idjsonrpc *string2.0id *one ofstringnumber
resultobjectactive_peers *arrayitemsobjectknown_producers *arrayAccounts of known block and chunk producers from routing table.
itemsobjectnum_active_peers *integerpeer_max_count *integerreceived_bytes_per_sec *integersent_bytes_per_sec *integererrorobjectcodeintegermessagestringdataobject