> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getnettotals | Bitcoin

> The getnettotals method provides an overview of the node's network traffic, including the total amount of data sent and received. On Bitcoin.

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.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

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


## OpenAPI

````yaml /openapi/bitcoin_node_api/getnettotals.json POST /788f110831fe13808302bd79796d55e8
openapi: 3.0.0
info:
  title: getnettotals example
  version: 1.0.0
  description: >-
    This is an API example for getnettotals, a method to get network traffic
    statistics, including total bytes  sent and received.
servers:
  - url: https://nd-202-842-353.p2pify.com
security: []
paths:
  /788f110831fe13808302bd79796d55e8:
    post:
      tags:
        - Blockchain Operations
      summary: getnettotals
      operationId: getNetTotals
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '1.0'
                method:
                  type: string
                  default: getnettotals
                params: {}
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Network traffic statistics, including total bytes sent and received.
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    description: Contains network traffic statistics.
                  error:
                    type: object
                  id:
                    type: integer

````