<p>There is a simple RPC call <code>getbalance</code>. So <code>bitcoin-cli getbalance</code> should give you the number.</p>

CC BY-SA 3.0
2016-04-05T21:36:08.090Z
When I try `bitcoin-cli getbalance` I get
`error: {"code":-32601,"message":"Method not found"}`
erikvold
CC BY-SA 3.0
2016-04-05T22:40:38.200Z
That means your bitcoind is compiled without wallet support.
Pieter Wuille
CC BY-SA 4.0
2018-10-28T11:56:51.183Z
how about how to get balance of another public address?
Aryeh Armon
CC BY-SA 4.0
2018-10-28T16:46:17.083Z
Bitcoin Core has no support for querying the balance of an address individually. You can add the addresses you care about to a wallet using `importaddress` or `importmulti`, and then query the wallet's balance after rescanning.
Pieter Wuille
CC BY-SA 3.0
2016-04-05T09:16:49.450Z
2016-04-05T09:16:49.450Z
Pieter Wuille
<p>I'm wondering how to find the balance a wallet for a full node on a command-line only linux box.  <code>bitcoin-cli</code> doesn't seem to help here, and I'm not sure what else to try.</p>

<full-node><bitcoin-cli>
How to find bitcoin balance via command line
erikvold
# How to find bitcoin balance via command line

(Asked by: username_0 on 2016-04-05)

I'm wondering how to find the balance a wallet for a full node on a command-line only linux box. `bitcoin-cli` doesn't seem to help here, and I'm not sure what else to try.

**Tags:** full-node, bitcoin-cli


---

## 1 answers

### Answer by username_1 on 2016-04-05. Score: 3 | Accepted answer

There is a simple RPC call `getbalance`. So `bitcoin-cli getbalance` should give you the number.

> **Comments:**
> **username_0**: When I try `bitcoin-cli getbalance` I get `error: {"code":-32601,"message":"Method not found"}`  
> **username_1**: That means your bitcoind is compiled without wallet support.  
> **username_2**: how about how to get balance of another public address?  
> **username_1**: Bitcoin Core has no support for querying the balance of an address individually. You can add the addresses you care about to a wallet using `importaddress` or `importmulti`, and then query the wallet's balance after rescanning.  

---

