listaddresses - Zcash 5.10.0 RPC
listaddresses Lists the addresses managed by this wallet by source, including those generated from randomness by this wallet, Sapling addresses generated from the legacy HD seed, imported watchonly transparent addresses, shielded addresses tracked using imported viewing keys, and addresses derived from the wallet's mnemonic seed for releases version 4.7.0 and above. REMINDER: It is recommended that you back up your wallet.dat file regularly. If your wallet was created using zcashd version 4.7.0 or later and you have not imported externally produced keys, it only necessary to have backed up the wallet's emergency recovery phrase. Result: [ { "source": "imported|imported_watchonly|legacy_random|legacy_seed|mnemonic_seed" "transparent": { "addresses": ["t14oHp2v54vfmdgQ3v3SNuQga8JKHTNi2a1", ...], "changeAddresses": ["t14oHp2v54vfmdgQ3v3SNuQga8JKHTNi2a1", ...] }, "sprout": { "addresses": ["ztbx5DLDxa5ZLFTchHhoPNkKs57QzSyib6UqXpEdy76T1aUdFxJt1w9318Z8DJ73XzbnWHKEZP9Yjg712N5kMmP4QzS9iC9", ...] }, "sapling": [ -- each element in this list represents a set of diversified addresses derived from a single IVK. { "zip32KeyPath": "m/32'/133'/0'", -- optional field, not present for imported/watchonly sources, "addresses": [ "zs1z7rejlpsa98s2rrrfkwmaxu53e4ue0ulcrw0h4x5g8jl04tak0d3mm47vdtahatqrlkngh9slya", ... ] }, ... ], "unified": [ -- each element in this list represents a set of diversified Unified Addresses derived from a single UFVK. { "account": 0, "seedfp": "hexstring", "addresses": [ { "diversifier_index": 0, "receiver_types": [ "sapling", ... ], "address": "..." }, ... ] }, ... ], ... }, ... ] In the case that a source does not have addresses for a value pool, the key associated with that pool will be absent. Examples: > zcash-cli listaddresses > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddresses", "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
Blockchain
Generating
Mining
Network
Rawtransactions
Wallet
addmultisigaddress
backupwallet
dumpprivkey
encryptwallet
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importpubkey
importwallet
keypoolrefill
listaddresses
listaddressgroupings
listlockunspent
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
sendmany
sendtoaddress
settxfee
signmessage
walletconfirmbackup
z_converttex
z_exportkey
z_exportviewingkey
z_exportwallet
z_getaddressforaccount
z_getbalance
z_getbalanceforaccount
z_getbalanceforviewingkey
z_getmigrationstatus
z_getnewaccount
z_getnewaddress
z_getnotescount
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaccounts
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunifiedreceivers
z_listunspent
z_mergetoaddress
z_sendmany
z_setmigration
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcsamplejoinsplit
backupwallet
dumpprivkey
encryptwallet
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importpubkey
importwallet
keypoolrefill
listaddresses
listaddressgroupings
listlockunspent
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
sendmany
sendtoaddress
settxfee
signmessage
walletconfirmbackup
z_converttex
z_exportkey
z_exportviewingkey
z_exportwallet
z_getaddressforaccount
z_getbalance
z_getbalanceforaccount
z_getbalanceforviewingkey
z_getmigrationstatus
z_getnewaccount
z_getnewaddress
z_getnotescount
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaccounts
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunifiedreceivers
z_listunspent
z_mergetoaddress
z_sendmany
z_setmigration
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcsamplejoinsplit