Returns a list of the total token balances of the whole wallet.
Arguments:
Name | Type | Presence | Description |
---|---|---|---|
includewatchonly |
boolean | optional | include balances of watchonly addresses (default: false) |
Result:
[ // (array of JSON objects)
{
"propertyid" : n, // (number) the property identifier
"name" : "name", // (string) the name of the token
"balance" : "n.nnnnnnnn", // (string) the total available balance for the token
"reserved" : "n.nnnnnnnn" // (string) the total amount reserved by sell offers and accepts
"frozen" : "n.nnnnnnnn" // (string) the total amount frozen by the issuer (applies to managed properties only)
},
...
]
Example:
$ omnicore-cli "omni_getwalletbalances"