listaddressamounts - Pastel RPC

listaddressamounts (includeEmpty ismineFilter)

Lists balance on each address

Arguments:
1. includeEmpty   (numeric, optional, default=false) Whether to include addresses with empty balance.
2. ismineFilter   (string, optional, default=all) Whether to include "all", "watchOnly" or "spendableOnly" addresses.

Result:
{
  "address":      (string)  The Pastel address
     amount,      (numeric) The amount in PSL
  ...
}

Examples:
> pastel-cli listaddressamounts 
> pastel-cli listaddressamounts true spendableOnly
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressamounts", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9932/
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressamounts", "params": [true spendableOnly] }' -H 'content-type: text/plain;' http://127.0.0.1:9932/


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node