<blockquote>
<p>Does it mean that it is possible to run multiple wallets in parallel with single blockchain?</p>
</blockquote>
<p>Yes.</p>
<blockquote>
<p>If so how do I send coins from particular wallet then? Eventually how do I list transactions from particular wallet?</p>
</blockquote>
<p>Depending on the context:</p>
<ul>
<li>With <code>bitcoin-cli</code>, you have to add the <code>-rpcwallet=WALLETNAME</code> command line argument if there is more than 1 wallet loaded.</li>
<li>With <code>bitcoin-qt</code> (the GUI), there is a dropdown UI element for selecting the wallet.</li>
<li>With the JSON-RPC protocol exposed by <code>bitcoind</code> (and used by <code>bitcoin-cli</code>), there is a different HTTP endpoint for every wallet (<code>http://localhost:8332/wallet/WALLETNAME</code> instead of just <code>http://localhost:8332</code>).</li>
</ul>
<p>When only one wallet is loaded, none of this is needed, and every request will be directed to the one loaded wallet.</p>

CC BY-SA 4.0
2022-05-26T08:57:33.230Z
this is very hard to find in official docs
Pavel Niedoba
CC BY-SA 4.0
2022-05-24T19:27:40.997Z
2022-05-24T19:27:40.997Z
Pieter Wuille
<p>Since some time bitcoind can have more wallets, there are commands: <a href="https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/loadwallet/" rel="nofollow noreferrer">https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/loadwallet/</a> and <a href="https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/listwallets/" rel="nofollow noreferrer">https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/listwallets/</a></p>
<p>Does it mean that it is possible to run multiple wallets in parallel with single blockchain?</p>
<p>If so how do I send coins from particular wallet then? Eventually how do I list transactions from particular wallet?</p>

<bitcoin-core><bitcoind><json-rpc>
Using bitcoind json-rpc with multiple wallets
Pavel Niedoba
# Using bitcoind json-rpc with multiple wallets

(Asked by: username_0 on 2022-05-24)

Since some time bitcoind can have more wallets, there are commands: <https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/loadwallet/> and <https://bitcoincore.org/en/doc/22.0.0/rpc/wallet/listwallets/>

Does it mean that it is possible to run multiple wallets in parallel with single blockchain?

If so how do I send coins from particular wallet then? Eventually how do I list transactions from particular wallet?

**Tags:** bitcoin-core, bitcoind, json-rpc


---

## 1 answers

### Answer by username_1 on 2022-05-24. Score: 3 | Accepted answer

> Does it mean that it is possible to run multiple wallets in parallel with single blockchain?

Yes.

> If so how do I send coins from particular wallet then? Eventually how do I list transactions from particular wallet?

Depending on the context:

* With `bitcoin-cli`, you have to add the `-rpcwallet=WALLETNAME` command line argument if there is more than 1 wallet loaded.
* With `bitcoin-qt` (the GUI), there is a dropdown UI element for selecting the wallet.
* With the JSON-RPC protocol exposed by `bitcoind` (and used by `bitcoin-cli`), there is a different HTTP endpoint for every wallet (`http://localhost:8332/wallet/WALLETNAME` instead of just `http://localhost:8332`).

When only one wallet is loaded, none of this is needed, and every request will be directed to the one loaded wallet.

> **Comments:**
> **username_0**: this is very hard to find in official docs  

---

