ERC1155.sol file for the burn method giving error

In ERC1155.sol file for the burn method its showing that my account has 0 balance.


as you can see left side its showing my account has 0 balance. but i have 100 ether in my test account can somebody please explain me how to solve this error. Thank you.

The function requires balance of the ERC1155 token id that is being burnt. You may have 100 ether but probably don’t have balance of the token you want to burn.

1 Like