bitcoin core logo

getaddressesbyaccount

getaddressesbyaccount “account”

DEPRECATED. Returns the list of addresses for the given account.

Arguments:

  1. “account” (string, required) The account name.

Result: [ (json array of string) “address” (string) a bitcoin address associated with the given account ,… ]

Examples:

bitcoin-cli getaddressesbyaccount “tabby” curl —user myusername —data-binary ’{“jsonrpc”: “1.0”, “id”:“curltest”, “method”: “getaddressesbyaccount”, “params”: [“tabby”] }’ -H ‘content-type: text/plain;’ http://127.0.0.1:8332/