curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "getnettotals",
"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": "getnettotals",
"params": "<any>",
"id": 1
}'
{
"result": {},
"error": {},
"id": 123
}
The getnettotals
method provides an overview of the node’s network traffic, including the total amount of data sent and received. This can be useful for monitoring the node’s bandwidth usage.
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 network traffic statistics, such as total bytes sent and received.error
— an object containing an error message if an error occurred, otherwise null
.id
— an integer representing the ID of the request.The getnettotals
method is useful for node operators and network administrators to monitor the bandwidth usage of their node. It helps in understanding the node’s contribution to the network and planning for bandwidth capacity.
Network traffic statistics, including total bytes sent and received.
The response is of type object
.
Was this page helpful?