NetInfo
POST
Retrieves network information.
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.networkstringrequired
Parameter specifying the network of the target chain.Responses
jsonrpcstringrequired
idintegerrequired
listeningboolean
listenersarray
n_peersstring
node_idstring
urlstring
cURL
curl -X POST 'https://rpc-initia-mainnet.nodit.io' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo' \-d '{"jsonrpc": "2.0","id": 1,"method": "NetInfo","params": []}'