uptime | Bitcoin

The uptime method returns the total uptime of the server in seconds, providing a simple way to monitor how long the server has been running without interruption.

👍

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 integer representing the server's uptime in seconds.
  • 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 uptime method is useful for monitoring and management purposes, allowing administrators and users to determine how long the server has been operational. This can be particularly useful for assessing system stability and performance over time.

Try the uptime RPC method yourself

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