z_getnewaddress - Hush 3.10.3 RPC

z_getnewaddress ( type )

Returns a new shielded address for receiving payments.

With no arguments, returns a Sapling address (zaddr).

Be very careful with 'amnesia' address type, the address is not stored in wallet.dat and if you send funds to it THEY WILL BE LOST FOREVER

Arguments:
1. "type"         (string, optional, default="sapling") The type of address. Either sapling or amnesia .

Result:
"HUSH3_address"    (string) The new shielded address.

Examples:
> hush-cli z_getnewaddress 
> hush-cli z_getnewaddress sapling
> hush-cli z_getnewaddress amnesia


Maintained by The Hush Developers

Welcome to the Hush full node RPC developer documentation!!! You finally made it.