getnewaddress - Zcash 5.0.0 RPC

getnewaddress ( "" )

DEPRECATED. Use z_getnewaccount and z_getaddressforaccount instead.

Returns a new transparent Zcash address.
Payments received by this API are visible on-chain and do not otherwise
provide privacy protections; they should only be used in circumstances 
where it is necessary to interoperate with legacy Bitcoin infrastructure.

Arguments:
1. (dummy)       (string, optional) DEPRECATED. If provided, it MUST be set to the empty string "". Passing any other string will result in an error.

Result:
"zcashaddress"    (string) The new transparent Zcash address

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


Maintained by @_garethtdavies; modified by: mdr0id;license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet zcash node