z_listaddresses - Zcash 4.0.0 RPC

z_listaddresses ( includeWatchonly )

Returns the list of Sprout and Sapling shielded addresses belonging to the wallet.

1. includeWatchonly (bool, optional, default=false) Also include watchonly addresses (see 'z_importviewingkey')

[                     (json array of string)
  "zaddr"           (string) a zaddr belonging to the wallet

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

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