Sending ERC20 To Burn Address

Hello, Just a quick question. If i have erc20 tokens and i send them to the burn address manually does it automatically lower the supply (openzeppelin erc20) Or will i have to call burn function and do it that method?

Thank you

Hello @BlockchainDev

It is not possible to do a transfer or a transferFrom with address(0) as the recipient.

  • If the burn function is available, this will reduce the totalSupply and emit an event with address(0) as the recipient
  • any other "manual" burn (like transferring to 0xdead) will NOT update the totalSupply.
1 Like