user119059: In Bitcoin core 0.21, which command replaces getaccountaddress?
Is there any way to get the same data as getaccountaddress in 0.21?

user13866: 
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.

119059: <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>
 13866: <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>
