2

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 Answer 1

4

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.
1
  • 1
    I got this because I had literally a balance of 0 system token available.
    – soulseekah
    Dec 6, 2021 at 4:37

Your Answer

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

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