Parameters
chainId
string
default:"397"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"network_info"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
Current node networking status including peers, bandwidth usage, and known producers.
Information about the active peers.
The id of the active peer.
The address of the active peer.
The identifier for the account associated with this peer, if available.
The number of active peers.
The maximum count of peers that can be connected to this node.
The amount of bytes sent per second.
The amount of bytes received per second.
The known block producers.
The identifier for the account.
The account id of the peer.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=397 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "network_info",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}