> ## Documentation Index
> Fetch the complete documentation index at: https://chainstack-docs-polygon-erigon-trace-deprecation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ping | Bitcoin

> The ping method is used to send a ping to all connected peers to ensure they are active. Available on Bitcoin via Chainstack JSON-RPC nodes.

The `ping` method is used to send a ping to all connected peers to ensure they are active. This is a simple network management command that can help diagnose connectivity issues.

## Parameters

* None

## Response

* `result` — always returns null, indicating that the ping command was executed and the pings were sent.
* `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 `ping` method is useful for node operators to check the activity and responsiveness of connected peers. It can help in identifying inactive or unresponsive peers.


## OpenAPI

````yaml openapi/bitcoin_node_api/ping.json POST /788f110831fe13808302bd79796d55e8
openapi: 3.0.0
info:
  title: ping example
  version: 1.0.0
  description: >-
    This is an API example for ping, a method to ping the network peers to
    ensure they are active.
servers:
  - url: https://nd-202-842-353.p2pify.com
security: []
paths:
  /788f110831fe13808302bd79796d55e8:
    post:
      tags:
        - Blockchain Operations
      summary: ping
      operationId: ping
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '1.0'
                method:
                  type: string
                  default: ping
                params: {}
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Confirmation that the ping was sent to all connected peers.
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    description: The result is always null, indicating the ping was sent.
                  error:
                    type: object
                  id:
                    type: integer

````