Retrieve information about the NEAR Protocol network and connected peers
Retrieve information about the NEAR Protocol network and connected peers
curl -i -X POST \
https://rpc.mainnet.fastnear.com/ \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "network_info",
"params": []
}'{ "jsonrpc": "2.0", "id": "string", "result": { "active_peers": [ … ], "known_producers": [ … ], "num_active_peers": 0, "peer_max_count": 0, "received_bytes_per_sec": 0, "sent_bytes_per_sec": 0 }, "error": { "code": 0, "message": "string", "data": {} } }