listaccounts

wallet removed deprecated v0.16 removed v0.18
This RPC no longer exists in Bitcoin Core. Documented here so users finding old tutorials, blog posts, or code samples can learn what it did, when it went away, and what to use instead.

Returned object that has account names as keys and account balances as values.

Use instead

listlabels

Last-known help text

From the version just before removal.

DEPRECATED. The account-API was removed entirely in Bitcoin Core 0.18.
Wallets in modern Core organize coins by descriptor and label; the legacy
'account' concept (a string tag attached to addresses with mostly
broken aggregation semantics) is gone.

listaccounts ( minconf include_watchonly )

Returns an object containing account names mapped to balances.
← back to all RPCs