How is everyone tracking a users balance?
My application is a tokenised microeconomy to incentivise actions. I currently only store OST uuid in my db and would like to query ost for the users balance when they are logged in.
How are people handling this?
Do you just get all users then loop through them till you find the correct one?
Or do you store balances separatley?
As a work around, you can edit the user with the user's current details (in this case, the user name). This will return token_balance in the returned data.