POST
/
788f110831fe13808302bd79796d55e8
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.

Parameters

  • None

Response

  • 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.

Use case

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.

Body

application/json
jsonrpc
string
default:1.0
method
string
default:getnettotals
params
any
id
integer
default:1

Response

200 - application/json
Network traffic statistics, including total bytes sent and received.
result
object

Contains network traffic statistics.

error
object
id
integer