user96786: On macOS Mojave I have a full bitcoin node synced using bitcoind.
I want to get the public address of the default account (i.e. the empty string "").
So I run bitcoin-cli getaddressesbyaccount "" but I get:
error code: -32601
error message:
Method not found

Version of bitcoind is: Bitcoin Core Daemon version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65
Copyright (C) 2009-2019 The Bitcoin Core developers
And of bitcoin-cli is: Bitcoin Core RPC client version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65
What's wrong?

user7272: The account API has been deprecated for a while, and was completely removed in Bitcoin Core 0.18.0.
You should be using the new mutliwallet API, or handling account based labelling externally.

96786: <p>On macOS Mojave I have a full bitcoin node synced using <code>bitcoind</code>.</p>

<p>I want to get the public address of the default account (i.e. the empty string <code>""</code>).</p>

<p>So I run <code>bitcoin-cli getaddressesbyaccount ""</code> but I get:</p>

<pre><code>error code: -32601
error message:
Method not found
</code></pre>

<p>Version of <strong>bitcoind</strong> is: Bitcoin Core Daemon version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65
Copyright (C) 2009-2019 The Bitcoin Core developers</p>

<p>And of <strong>bitcoin-cli</strong> is: Bitcoin Core RPC client version v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65</p>

<p>What's wrong?</p>
 7272: <p>The account API has been deprecated for a while, and was completely removed in Bitcoin Core 0.18.0.</p>

<p>You should be using the new mutliwallet API, or handling account based labelling externally.</p>
