<p>For this, we have the bitcoind <code>move</code> command:</p>

<pre><code>$ bitcoind move "w1" "" &lt;amount&gt;
</code></pre>

<p>These kinds of transactions do not incur a fee:</p>

<p><a href="https://en.bitcoin.it/wiki/Accounts_explained#Account_-.3E_Account_Transfers" rel="nofollow">https://en.bitcoin.it/wiki/Accounts_explained#Account_-.3E_Account_Transfers</a></p>

CC BY-SA 3.0
2013-06-28T22:02:51.000Z
Ahh - I wasn't sure if the "" would toss my money into /dev/null or something.  Thanks!
Chris
CC BY-SA 4.0
2019-05-27T17:50:26.013Z
This is gold. "would toss my money into /dev/null"
Behrooz
CC BY-SA 3.0
2013-06-28T13:16:17.920Z
2013-06-28T13:16:17.920Z
RotHorseKid
<p>I am using bitcoind and have been playing around.  </p>

<p>Recently I used the <code>sendtoaddress</code> command to send 0.50btc without realizing the implications of this command versus <code>sendfrom</code>.  Now when I list my accounts I see the following: </p>

<pre><code>$ bitcoind listaccounts
{
    "" : -0.60010000,
    "w1" : 0.74584297,
    "w2" : 0.00022000,
    "w3" : 0.00000000
}
</code></pre>

<p>So at this point my main/default wallet has -0.60010000 and my w1 wallet shows 0.74584297.  </p>

<p>I can list the default wallet address using: </p>

<pre><code>$ bitcoind getaddressesbyaccount "" 
</code></pre>

<p>However, is it possible to transfer funds locally to the default wallet or should I just use a explicit sendfrom with w2's address? </p>

<p>Is there a way to move 0.74584297 to the default wallet without having to send over the network and incur a fee? </p>

<p>Thanks! </p>

<bitcoind>
How to move money to the default bitcoind wallet?
Chris
# How to move money to the default bitcoind wallet?

(Asked by: username_0 on 2013-06-28)

I am using bitcoind and have been playing around.

Recently I used the `sendtoaddress` command to send 0.50btc without realizing the implications of this command versus `sendfrom`. Now when I list my accounts I see the following:

```
$ bitcoind listaccounts
{
    "" : -0.60010000,
    "w1" : 0.74584297,
    "w2" : 0.00022000,
    "w3" : 0.00000000
}

```

So at this point my main/default wallet has -0.60010000 and my w1 wallet shows 0.74584297.

I can list the default wallet address using:

```
$ bitcoind getaddressesbyaccount "" 

```

However, is it possible to transfer funds locally to the default wallet or should I just use a explicit sendfrom with w2's address?

Is there a way to move 0.74584297 to the default wallet without having to send over the network and incur a fee?

Thanks!

**Tags:** bitcoind


---

## 1 answers

### Answer by username_1 on 2013-06-28. Score: 2 | Accepted answer

For this, we have the bitcoind `move` command:

```
$ bitcoind move "w1" "" <amount>

```

These kinds of transactions do not incur a fee:

<https://en.bitcoin.it/wiki/Accounts_explained#Account_-.3E_Account_Transfers>

> **Comments:**
> **username_0**: Ahh - I wasn't sure if the "" would toss my money into /dev/null or something.  Thanks!  
> **username_2**: This is gold. "would toss my money into /dev/null"  

---

