0

This error message occurs when trying to do a transfer:

assertion failure with message: no balance object found

What causes it and how can it be avoided?

1

This error message is caused because you are trying to transfer a token that you do not own and have never owned. You have no balance, which is not the same as having a balance of zero.

Usually you would get this error if you make a mistake where you think you have tried to transfer a token, but you have accidentally transferred a token that doesn't exist. Either because you are:

  1. Calling the wrong contract.
  2. Have a typo in the symbol name.
  3. Have the wrong number of decimal places (precision) for the token.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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