getaccountaddress - BitcoinZ 2.0.7 RPC

getaccountaddress "account"

DEPRECATED. Returns the current BitcoinZ address for receiving payments to this account.

Arguments:
1. "account"       (string, required) MUST be set to the empty string "" to represent the default account. Passing any other string will result in an error.

Result:
"zcashaddress"   (string) The account BitcoinZ address

Examples:
> bitcoinz-cli getaccountaddress 
> bitcoinz-cli getaccountaddress ""
> bitcoinz-cli getaccountaddress "myaccount"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/




Control