<p>To verify the supply, you have to compute the theoretical maximum issuance based on the block subsidy schedule. Then you can use the <code>gettxoutsetinfo</code> RPC which will output the total amount of Bitcoin in the UTXO set in a field named <code>total_amount</code>. Lastly you check that the amount in the UTXO set is less than or equal to the theoretical maximum issuance.</p>

CC BY-SA 4.0
2020-08-17T17:03:43.920Z
Thanks. I am running a raspberry pi 4 and this seems to always time out when I  try gettxoutsetinfo. Is there any guidance and what i should try differently?
Trying_hard
CC BY-SA 4.0
2020-08-17T17:57:53.390Z
You can remove the `bitcoin-cli` timeout by using `-rpcclienttimeout=0` option.
Ava Chow
CC BY-SA 4.0
2020-08-17T19:31:03.627Z
Thanks having issues with that... trying bitcoin-cli -rpcuser=user -rpcpassword=password -rpcclienttimeout=0 

Getting too few params ( need at least command ).
Trying_hard
CC BY-SA 4.0
2020-08-17T22:03:38.527Z
You still need to have `gettxoutsetinfo` in your `bitcoin-cli` command. So you would have something like `bitcoin-cli -rpcclienttimeout=0 gettxoutsetinfo` (rpcuser and rpcpassword usually aren't required, `bitcoin-cli` reads them from the datadir).
Ava Chow
CC BY-SA 4.0
2020-08-17T15:40:11.593Z
2020-08-17T15:40:11.593Z
Ava Chow
<p>With all the supply talk going on I wanted to verify the active supply on my new node I got. What is the best way to &quot;run the numbers&quot; I am running a raspiblitz node.</p>

<bitcoin-core><bitcoind><money-supply>
How can I verify the BTC supply with my own node?
Trying_hard
# How can I verify the BTC supply with my own node?

(Asked by: username_0 on 2020-08-17)

With all the supply talk going on I wanted to verify the active supply on my new node I got. What is the best way to "run the numbers" I am running a raspiblitz node.

**Tags:** bitcoin-core, bitcoind, money-supply


---

## 1 answers

### Answer by username_1 on 2020-08-17. Score: 4

To verify the supply, you have to compute the theoretical maximum issuance based on the block subsidy schedule. Then you can use the `gettxoutsetinfo` RPC which will output the total amount of Bitcoin in the UTXO set in a field named `total_amount`. Lastly you check that the amount in the UTXO set is less than or equal to the theoretical maximum issuance.

> **Comments:**
> **username_0**: Thanks. I am running a raspberry pi 4 and this seems to always time out when I  try gettxoutsetinfo. Is there any guidance and what i should try differently?  
> **username_1**: You can remove the `bitcoin-cli` timeout by using `-rpcclienttimeout=0` option.  
> **username_0**: Thanks having issues with that... trying bitcoin-cli -rpcuser=user -rpcpassword=password -rpcclienttimeout=0   Getting too few params ( need at least command ).  
> **username_1**: You still need to have `gettxoutsetinfo` in your `bitcoin-cli` command. So you would have something like `bitcoin-cli -rpcclienttimeout=0 gettxoutsetinfo` (rpcuser and rpcpassword usually aren't required, `bitcoin-cli` reads them from the datadir).  

---

