<blockquote>
<p><strong>which command replace getaccountaddress ?</strong></p>
</blockquote>
<p>None, see the notification two and a half years ago in <a href="https://bitcoincore.org/en/releases/0.17.0/" rel="nofollow noreferrer">https://bitcoincore.org/en/releases/0.17.0/</a></p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>Deprecated Method</th>
<th>New Method</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>getaccount</td>
<td>getaddressinfo</td>
<td>getaddressinfo returns a json object with address information instead of just the name of the account as a string.</td>
</tr>
<tr>
<td>getaccountaddress</td>
<td>n/a</td>
<td>There is no replacement for getaccountaddress since labels do not have an associated receive address.</td>
</tr>
<tr>
<td>getaddressesbyaccount</td>
<td>getaddressesbylabel</td>
<td>getaddressesbylabel returns a json object with the addresses as keys, instead of a list of strings.</td>
</tr>
</tbody>
</table>
</div>
<p>etc.</p>

CC BY-SA 4.0
2021-05-12T03:09:41.263Z
is there any way to integrate getaccountaddress to new release BTC ?
Dam Yi
CC BY-SA 4.0
2021-05-11T21:07:54.413Z
2021-05-11T21:15:41.690Z
2021-05-11T21:15:41.690Z
RedGrittyBrick
<p>In Bitcoin core 0.21, which command replaces <code>getaccountaddress</code>?</p>
<p>Is there any way to get the same data as <code>getaccountaddress</code> in 0.21?</p>

CC BY-SA 4.0
2021-05-11T21:49:41.940Z
That very much depends on what you were using `getaccountaddress` (and accounts in general for). Depending on the answer to that, there may be solutions that replace it with `getnewaddress`, possibly combined with `setaddresslabel`, separate wallets, or an entirely different custom solution.
Pieter Wuille
CC BY-SA 4.0
2021-05-13T11:43:18.873Z
Can give an example ?
Dam Yi
<bitcoin-core><rpc-error-25>
In Bitcoin core 0.21 which command replaces getaccountaddress
Dam Yi
# In Bitcoin core 0.21 which command replaces getaccountaddress

(Asked by: username_0 on 2021-05-11)

In Bitcoin core 0.21, which command replaces `getaccountaddress`?

Is there any way to get the same data as `getaccountaddress` in 0.21?

**Tags:** bitcoin-core, rpc-error-25

> **Comments:**
> **username_1**: That very much depends on what you were using `getaccountaddress` (and accounts in general for). Depending on the answer to that, there may be solutions that replace it with `getnewaddress`, possibly combined with `setaddresslabel`, separate wallets, or an entirely different custom solution.  
> **username_0**: Can give an example ?  

---

## 1 answers

### Answer by username_2 on 2021-05-11. Score: 1

> **which command replace getaccountaddress ?**

None, see the notification two and a half years ago in <https://bitcoincore.org/en/releases/0.17.0/>

| Deprecated Method | New Method | Notes |
| --- | --- | --- |
| getaccount | getaddressinfo | getaddressinfo returns a json object with address information instead of just the name of the account as a string. |
| getaccountaddress | n/a | There is no replacement for getaccountaddress since labels do not have an associated receive address. |
| getaddressesbyaccount | getaddressesbylabel | getaddressesbylabel returns a json object with the addresses as keys, instead of a list of strings. |

etc.

> **Comments:**
> **username_0**: is there any way to integrate getaccountaddress to new release BTC ?  

---

