<p>Bitcoin Core provides the <a href="https://developer.bitcoin.org/reference/rpc/gettxoutsetinfo.html" rel="nofollow noreferrer"><code>gettxoutsetinfo</code> RPC</a> that has exactly the information you want.  Note, it takes that call up to a minute or two to run (and maybe longer as the UTXO set keeps growing).</p>
<p>Here's what my node says right now:</p>
<pre class="lang-json prettyprint-override"><code>{
  &quot;height&quot;: 763253,
  &quot;txouts&quot;: 84683939,
  &quot;bogosize&quot;: 6314836827,
  &quot;total_amount&quot;: 19207623.41689598,
  &quot;transactions&quot;: 50344458,
  &quot;disk_size&quot;: 5185703215
}
</code></pre>
<p>Current and historical data may be found on Statoshi.info's <a href="https://statoshi.info/d/000000009/unspent-transaction-output-set" rel="nofollow noreferrer">UTXO page</a>.</p>

CC BY-SA 3.0
2015-08-10T14:46:22.587Z
It seems to me that having more than one sample output does not benefit the answer, as it will eventually be outdated inevitably. I'd probably roll back to your initial answer, or replace the old output with the current. Although, it is somewhat interesting to see that within half a year the number of txouts has almost doubled.
Murch
CC BY-SA 3.0
2015-08-29T13:21:10.590Z
@Murch The number of outputs has just about doubled now, to 33409889.
Claris
CC BY-SA 3.0
2018-01-03T16:33:18.423Z
Does all the nodes store UTXO database? @Murch♦
alper
CC BY-SA 3.0
2018-01-04T00:18:56.953Z
@Alper: Yes, all full nodes have the complete UTXO Set.
Murch
CC BY-SA 4.0
2015-02-10T21:06:11.933Z
2024-04-01T18:12:34.293Z
2024-04-01T18:12:34.293Z
David A. Harding
<p>Is there a query that will return the size of the UTXO database? Specifically, the total number of unspent outputs.</p>

<utxo>
How big is the UTXO database?
pinhead
# How big is the UTXO database?

(Asked by: username_0 on 2015-02-10)

Is there a query that will return the size of the UTXO database? Specifically, the total number of unspent outputs.

**Tags:** utxo


---

## 1 answers

### Answer by username_1 on 2015-02-10. Score: 30 | Accepted answer

Bitcoin Core provides the [`gettxoutsetinfo` RPC](https://developer.bitcoin.org/reference/rpc/gettxoutsetinfo.html) that has exactly the information you want. Note, it takes that call up to a minute or two to run (and maybe longer as the UTXO set keeps growing).

Here's what my node says right now:

```json
{
  "height": 763253,
  "txouts": 84683939,
  "bogosize": 6314836827,
  "total_amount": 19207623.41689598,
  "transactions": 50344458,
  "disk_size": 5185703215
}

```

Current and historical data may be found on Statoshi.info's [UTXO page](https://statoshi.info/d/000000009/unspent-transaction-output-set).

> **Comments:**
> **username_2**: It seems to me that having more than one sample output does not benefit the answer, as it will eventually be outdated inevitably. I'd probably roll back to your initial answer, or replace the old output with the current. Although, it is somewhat interesting to see that within half a year the number of txouts has almost doubled.  
> **username_3**: @username_2 The number of outputs has just about doubled now, to 33409889.  
> **username_4**: Does all the nodes store UTXO database? @username_2♦  
> **username_2**: @username_4: Yes, all full nodes have the complete UTXO Set.  

---

