curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "getrpcinfo",
"params": "<any>",
"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": "<any>",
"id": 1
}'
{
"result": {},
"error": {},
"id": 123
}
The getrpcinfo
method returns detailed information about the RPC server, including the currently active commands and the total duration of those commands.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
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.The 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.
Detailed information about the RPC server.
The response is of type object
.
Was this page helpful?