getnetworkinfo | Bitcoin

The getnetworkinfo method provides comprehensive information about the node's network connections, including the version, protocol, connected peers, and network capabilities.

👍

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 detailed information about the node's network connections, such as the network version, protocol version, number of connections, and available network services.
  • 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 getnetworkinfo method is essential for diagnosing network issues, understanding the node's connectivity within the network, and assessing the node's capabilities. It's particularly useful for node operators and developers looking to monitor network health and performance.

Try the getnetworkinfo RPC method yourself

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