1

In the Mix IDE is it possible to view the tokens a user currently has in their account for debugging purposes.

1 Answer 1

1

Tokens are not really stored in an "account". A token is just a contract that meets the API requirements set out by EIP 20. Since the user's balance is stored in the contract and not in the user's account, you need to know the address of a token contract in order to check a balance.

Thus, if you add the token contracts to Mist, it will automatically display a user's balance, but it is generally not possible to enumerate all tokens which a user owns.

1
  • Thanks for the explanation certainly makes sense, I've added the token contract to Mist and I'm interacting with it but where exactly would I see the tokens and the accounts they are assigned to? Commented Sep 15, 2016 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.