listaddressbalances
listaddressbalances ( minamount )
Lists addresses of this wallet and their balances
yerbas-cli listaddressbalances
yerbas-cli listaddressbalances 10
Arguments
Argument | Type | Description |
---|---|---|
minamount | (numeric) | Minimum balance in YERB an address should have to be shown in the list |
Arguments:
1. minamount (numeric, optional, default=0) Minimum balance in YERB an address should have to be shown in the list
Output
Result | Type | Description |
---|---|---|
"address" | (string) | The yerbas address and the amount in YERB |
Result:
{
"address": amount, (string) The yerbas address and the amount in YERB
,...
}
Examples
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressbalances", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressbalances", "params": [10] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/