gettxoutsetinfo | Bitcoin

The gettxoutsetinfo method provides statistics about the unspent transaction output set, including the total number of unspent outputs and the total value of all unspent outputs.

📘

Takes a while to complete

This method may take a couple of minutes to complete, so you are better off using thecurlexample in your terminal.

👍

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 statistics about the unspent transaction output set, such as the total number of unspent outputs and the total value.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request, used to match requests with responses.

Use case

The gettxoutsetinfo method is useful for understanding the current state of the unspent transaction outputs in the blockchain. It provides valuable insights into the distribution and value of unspent outputs.

Try the gettxoutsetinfo RPC method yourself

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