curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "getrpcinfo",
"params": "<unknown>",
"id": 1
}
'{
"result": {},
"error": {},
"id": 123
}curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "1.0",
"method": "getrpcinfo",
"params": "<unknown>",
"id": 1
}
'{
"result": {},
"error": {},
"id": 123
}getrpcinfo method returns detailed information about the RPC server, including the currently active commands and the total duration of those commands.
result — an object containing information about the RPC server, such as active commands and their total duration.error — an object containing an error message if an error occurred, otherwise null.id — an integer representing the ID of the request.getrpcinfo method is useful for monitoring and debugging the RPC server by providing insights into the currently active RPC commands and their execution time. This can help in identifying performance bottlenecks or understanding the server’s behavior under load.Was this page helpful?