getnewaddress - Zcash 4.0.0 RPC

getnewaddress ( "account" )

Returns a new Zcash address for receiving payments.

Arguments:
1. "account"        (string, optional) DEPRECATED. If provided, it 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 new 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/


Made by @karel_3d; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (github repo)

Note it uses a mainnet node