Skip to main content

listreceivedbyaddress

listreceivedbyaddress ( minconf addlocked include_empty include_watchonly)

List incoming payments grouped by receiving address.

yerbas-cli listreceivedbyaddress
yerbas-cli listreceivedbyaddress 6 false true

Arguments

ArgumentTypeDescription
minconf(numeric)nly include transactions with at least this many confirmations
addlocked(bool)Whether to include transactions locked via InstantSend.
include_empty(bool)Whether to include accounts that haven't received any payments.
include_watchonly(bool)Include balances in watch-only addresses (see 'importaddress')
Arguments:
1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.
2. addlocked (bool, optional, default=false) Whether to include transactions locked via InstantSend.
3. include_empty (bool, optional, default=false) Whether to include addresses that haven't received any payments.
4. include_watchonly (bool, optional, default=false) Whether to include watch-only addresses (see 'importaddress').

Output

ResultTypeDescription
"involvesWatchonly"(bool)Only returned if imported addresses were involved in transaction
Result:
[
{
"involvesWatchonly" : true, (bool) Only returned if imported addresses were involved in transaction
"address" : "receivingaddress", (string) The receiving address
"account" : "accountname", (string) DEPRECATED. The account of the receiving address. The default account is "".
"amount" : x.xxx, (numeric) The total amount in YERB received by the address
"confirmations" : n (numeric) The number of confirmations of the most recent transaction included.
If 'addlocked' is true, the number of confirmations can be less than
configured for transactions locked via InstantSend
"label" : "label", (string) A comment for the address/transaction, if any
"txids": [
n, (numeric) The ids of transactions received with the address
...
]
}
,...
]

Examples

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, false, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/