<p>You can import any address you want to watch or "work with" by navigating to console window and sending the following command:</p>

<pre><code>bitcoin-cli importaddress "address" "account" &lt;rescan&gt;
</code></pre>

<p>after blockchain scanning complete you can send </p>

<pre><code>bitcoin-cli listtransactions "account" "Count" "skip" watch-only
bitcoin-cli listtransactions "*" 1 0 true
</code></pre>

<p>So you get all transactions.</p>

<p>You can get all commands from <a href="https://bitcoin.org/en/developer-reference" rel="nofollow noreferrer">bitcoin.org</a></p>

CC BY-SA 3.0
2018-03-05T19:01:46.753Z
Thx. Maybe bitcore-node can help me? If i install it and synch it fully would i be able to work with all addresses?
ItsMyLife
CC BY-SA 3.0
2018-03-05T19:28:48.200Z
yeah, also you can do that with bitcoin-core but just with transactions. by enabling -txindex
Tailer
CC BY-SA 3.0
2018-03-05T22:21:22.613Z
Ty so much. @Adam with transactions you mean i would be able to get list of transactions(spent and unspent)?
ItsMyLife
CC BY-SA 3.0
2018-03-06T09:55:02.423Z
to get unspents, you should call listunspents
Tailer
CC BY-SA 3.0
2018-03-05T18:15:50.573Z
2018-03-05T18:15:50.573Z
Tailer
<p>I started local bitcoind client. And started it as RPC server. I know that i able to get balance only for my account address. But how i can work with all existing addresses? How i can get balances and txs? Maybe exist some db for this? </p>

<bitcoind><json-rpc><local>
Import all existing addresses in local bitcoind
ItsMyLife
# Import all existing addresses in local bitcoind

(Asked by: username_0 on 2018-03-05)

I started local bitcoind client. And started it as RPC server. I know that i able to get balance only for my account address. But how i can work with all existing addresses? How i can get balances and txs? Maybe exist some db for this?

**Tags:** bitcoind, json-rpc, local


---

## 1 answers

### Answer by username_1 on 2018-03-05. Score: 1 | Accepted answer

You can import any address you want to watch or "work with" by navigating to console window and sending the following command:
bitcoin-cli importaddress "address" "account" 

after blockchain scanning complete you can send 
bitcoin-cli listtransactions "account" "Count" "skip" watch-only
bitcoin-cli listtransactions "*" 1 0 true

So you get all transactions.
You can get all commands from bitcoin.org

> **Comments:**
> **username_0**: Thx. Maybe bitcore-node can help me? If i install it and synch it fully would i be able to work with all addresses?  
> **username_1**: yeah, also you can do that with bitcoin-core but just with transactions. by enabling -txindex  
> **username_0**: Ty so much. @Adam with transactions you mean i would be able to get list of transactions(spent and unspent)?  
> **username_1**: to get unspents, you should call listunspents  

---

