z_getnewaddress - Komodo RPC

z_getnewaddress ( type )

Returns a new shielded address for receiving payments.

With no arguments, returns a Sprout address.

Arguments:
1. "type"         (string, optional, default="sapling") The type of address. One of ["sprout", "sapling"].

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

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


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto