getaccount

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 the account associated with the given address. Removed with the rest of the account API in 0.18.

Use instead

getaddressinfo

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.

getaccount address

Returns the account associated with the given address.
← back to all RPCs