<p>I think you answered your own question in a way. That command will send from a specified account to an address, I'm sure you don't want to bother with accounts and just send bitcoins.</p>

<p>You can send from an address to another using a similar command.</p>

<p><code>sendtoaddress &lt;bitcoinaddress&gt; &lt;amount&gt; [comment] [comment-to]</code></p>

<p>Where <code>&lt;bitcoinaddress&gt;</code> is the address you want to send to and <code>&lt;amount&gt;</code> is amount of Bitcoins (up to 8 decimal places). The other two that are in brackets are optional and cosmetic.</p>

<p>You can issue these commands in a command line or using one of the many libraries for various languages. Check out the <a href="https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29" rel="nofollow">Bitcoin API reference</a>.</p>

CC BY-SA 3.0
2014-03-12T19:22:14.840Z
command sendtoaddress transfer from my wallet to another address, i want to transfer from only one address to another address in my wallet ?
Dev777
CC BY-SA 3.0
2014-03-12T19:19:11.463Z
2014-03-12T19:19:11.463Z
John T
<pre><code>move - &lt;fromaccount&gt; &lt;toaccount&gt; &lt;amount&gt;
</code></pre>

<p>The move function will allow you to move funds from one address to another within your wallet. In regards to the scaling of accounts issue this could be resolved by connecting your own back end tracking system such as a database that stores and indexes by account.</p>

CC BY-SA 3.0
2014-03-12T22:50:23.697Z
but it require also create accounts in my wallet that not exceed thousands ?
Dev777
CC BY-SA 3.0
2014-03-12T20:59:48.470Z
2014-03-12T20:59:48.470Z
Mark S.
<p>Yes that is exactly you do it however <code>[minconf=1]</code> <code>[comment]</code> <code>[comment-to]</code> is not mandatory</p>

CC BY-SA 3.0
2014-03-12T19:17:34.917Z
2014-03-12T19:17:34.917Z
Khan Shahrukh
<p>How can I send bitcoin from one address to another via Bitcoin client/API ?</p>

<p>There exist an API call called:</p>

<p><code>sendfrom   &lt;fromaccount&gt; &lt;tobitcoinaddress&gt; &lt;amount&gt; [minconf=1] [comment] [comment-to]</code></p>

<p>can I use it? And replace <code>&lt;fromaccount&gt;</code> with the <code>&lt;bitcoinaddress&gt;</code> to send bitcoin?</p>

<p><strong>Editing:</strong></p>

<p>i means i want transfer bitcoins from one address in my wallet to another address in my wallet ?</p>

<p>i used it in website each user have bitcoin address and balance so i want transfer just money exist in this address to another ?</p>

<p>i search for accounts in bitcoind but i found issue on it :</p>

<blockquote>
  <p>The accounts code does not scale up to thousands of accounts with tens
  of thousands of transactions, because by-account (and
  by-account-by-time) indices are not implemented. So many operations
  (like computing an account balance) require accessing every wallet
  transaction.</p>
</blockquote>

<p>how can i resolve this issue ?   </p>

<bitcoind><bitcoin-core>
How can I send bitcoin from one address to another through the Bitcoin client/API?
Dev777
# How can I send bitcoin from one address to another through the Bitcoin client/API?

(Asked by: username_0 on 2014-03-12)

How can I send bitcoin from one address to another via Bitcoin client/API ?

There exist an API call called:

`sendfrom    [minconf=1] [comment] [comment-to]`

can I use it? And replace  with the  to send bitcoin?

**Editing:**

i means i want transfer bitcoins from one address in my wallet to another address in my wallet ?

i used it in website each user have bitcoin address and balance so i want transfer just money exist in this address to another ?

i search for accounts in bitcoind but i found issue on it :

> The accounts code does not scale up to thousands of accounts with tens
> of thousands of transactions, because by-account (and
> by-account-by-time) indices are not implemented. So many operations
> (like computing an account balance) require accessing every wallet
> transaction.

how can i resolve this issue ?

**Tags:** bitcoind, bitcoin-core


---

## 3 answers

### Answer by username_1 on 2014-03-12. Score: 3

I think you answered your own question in a way. That command will send from a specified account to an address, I'm sure you don't want to bother with accounts and just send bitcoins.

You can send from an address to another using a similar command.

`sendtoaddress   [comment] [comment-to]`

Where  is the address you want to send to and  is amount of Bitcoins (up to 8 decimal places). The other two that are in brackets are optional and cosmetic.

You can issue these commands in a command line or using one of the many libraries for various languages. Check out the [Bitcoin API reference](https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29).

> **Comments:**
> **username_0**: command sendtoaddress transfer from my wallet to another address, i want to transfer from only one address to another address in my wallet ?  

---

### Answer by username_2 on 2014-03-12. Score: 1

move -   

The move function will allow you to move funds from one address to another within your wallet. In regards to the scaling of accounts issue this could be resolved by connecting your own back end tracking system such as a database that stores and indexes by account.

> **Comments:**
> **username_0**: but it require also create accounts in my wallet that not exceed thousands ?  

---

### Answer by username_3 on 2014-03-12. Score: 0

Yes that is exactly you do it however `[minconf=1]` `[comment]` `[comment-to]` is not mandatory


---

