<p>Unfortunately there is currently no faster way to get the balance information, but there is ongoing work to change how the calculation is done so that it can run much faster. Currently, the balance is calculated by iterating all transactions in the wallet, so if you have a lot of tranasctions, it will spend a lot of time going through everything.</p>
<p>The only real suggestion that I have is to create a new wallet and send all of your coins to the new one.</p>

CC BY-SA 4.0
2024-02-23T07:58:25.933Z
Thanks for the suggestion, Ava. Creating a new wallet is not applicable in my case.
Arshad Munir
CC BY-SA 4.0
2024-02-20T15:51:43.410Z
2024-02-20T15:51:43.410Z
Ava Chow
<p>I have a Bitcoin node having over 800K addresses. Recently I have been facing an issue with <code>getbalances</code> RPC call as it times out. I am using timeout as 100 seconds.
I can see that if I increase the timeout it may work but I am looking for any better other than this.</p>
<p>My question is:
Will use <code>getbalance &quot;*&quot; 1</code> will take less time than <code>getbalances</code>? I am more interested in getting the confirmed balance.</p>
<p>Or
Is there any alternate way i can get the wallet balance faster than afoementioned RPC calls?</p>

<bitcoin-core><wallet><balance>
getbalances rpc call timeout
Arshad Munir
# getbalances rpc call timeout

(Asked by: username_0 on 2024-02-20)

I have a Bitcoin node having over 800K addresses. Recently I have been facing an issue with `getbalances` RPC call as it times out. I am using timeout as 100 seconds.
I can see that if I increase the timeout it may work but I am looking for any better other than this.

My question is:
Will use `getbalance "*" 1` will take less time than `getbalances`? I am more interested in getting the confirmed balance.

Or
Is there any alternate way i can get the wallet balance faster than afoementioned RPC calls?

**Tags:** bitcoin-core, wallet, balance


---

## 1 answers

### Answer by username_1 on 2024-02-20. Score: 0

Unfortunately there is currently no faster way to get the balance information, but there is ongoing work to change how the calculation is done so that it can run much faster. Currently, the balance is calculated by iterating all transactions in the wallet, so if you have a lot of tranasctions, it will spend a lot of time going through everything.

The only real suggestion that I have is to create a new wallet and send all of your coins to the new one.

> **Comments:**
> **username_0**: Thanks for the suggestion, Ava. Creating a new wallet is not applicable in my case.  

---

