listreceivedbyaddress - Zcash 5.10.0 RPC
listreceivedbyaddress ( minconf includeempty includeWatchonly addressFilter includeImmatureCoinbase asOfHeight ) List balances by transparent receiving address. This API does not provide any information for associated with shielded addresses and should only be used in circumstances where it is necessary to interoperate with legacy Bitcoin infrastructure. Arguments: 1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included. 2. includeempty (numeric, optional, default=false) Whether to include addresses that haven't received any payments. 3. includeWatchonly (bool, optional, default=false) Whether to include watchonly addresses (see 'importaddress'). 4. addressFilter (string, optional, default="") If present and non-empty, only return information on this address. Currently, only the default value is supported. 5. includeImmatureCoinbase (bool, optional, default=false) Include immature coinbase transactions. Currently, only the default value is supported. 6. asOfHeight (numeric, optional, default=-1) Execute the query as if it were run when the blockchain was at the height specified by this argument. The default is to use the entire blockchain that the node is aware of. -1 can be used as in other RPC calls to indicate the current height (including the mempool), but this does not support negative values in general. A “future” height will fall back to the current height. Any explicit value will cause the mempool to be ignored, meaning no unconfirmed tx will be considered. `minconf` must be at least 1 when `asOfHeight` is provided. Result: [ { "involvesWatchonly" : true, (bool) Only returned if imported addresses were involved in transaction "address" : "receivingaddress", (string) The receiving transparent address "amount" : x.xxx, (numeric) The total amount in ZEC received by the address "amountZat" : xxxx (numeric) The amount in zatoshis "confirmations" : n (numeric) The number of confirmations of the most recent transaction included } ,... ] Bitcoin compatibility: Compatible up to five arguments, but can only use the default value for `addressFilter` and `includeImmatureCoinbase`. Examples: > zcash-cli listreceivedbyaddress > zcash-cli listreceivedbyaddress 6 true > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -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