omni_getallbalancesforid

Returns a list of token balances for a given currency or property identifier.

Arguments:

Name Type Presence Description
propertyid number required the property identifier

Result:

[                          // (array of JSON objects)
  {
    "address" : "address",     // (string) the address
    "balance" : "n.nnnnnnnn",  // (string) the available balance of the address
    "reserved" : "n.nnnnnnnn", // (string) the amount reserved by sell offers and accepts
    "frozen" : "n.nnnnnnnn"    // (string) the amount frozen by the issuer (applies to managed properties only)
  },
  ...
]

Example:

$ omnicore-cli "omni_getallbalancesforid" 1