Skip to main content
POST
/
network_info
Network Info
curl --request POST \
  --url https://rpc.mainnet.near.org/network_info \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "jsonrpc": "<string>",
  "method": "network_info",
  "params": null
}
'
{
  "result": {
    "active_peers": [
      {
        "id": "<string>",
        "account_id": "<string>",
        "addr": "<string>"
      }
    ],
    "known_producers": [
      {
        "account_id": "<string>",
        "peer_id": "<string>",
        "addr": "<string>"
      }
    ],
    "num_active_peers": 1,
    "peer_max_count": 1,
    "received_bytes_per_sec": 1,
    "sent_bytes_per_sec": 1
  },
  "id": "<string>",
  "jsonrpc": "<string>"
}

Body

application/json
id
string
required
jsonrpc
string
required
method
enum<string>
required
Available options:
network_info
params
any | null
required
Available options:
null

Response

200 - application/json
result
object
required
id
string
required
jsonrpc
string
required