@artch said in Draft: Store prototype API:
I'd say that
Store.getAmount()
without arguments should return an object with all resources rather than one single number of total used capacity.
@artch I would say that Store.getAmounts()
should return such an object. Store.getAmount()
is "get the amount of whatever is in the store"