ping | Bitcoin

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.


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.


  • None


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

Try the ping RPC method yourself

Click Try It! to start a request and see the response here!