Skip to content

Solidity API


ERC721 Token that can be burned (destroyed).


function burn(uint256 tokenId) public virtual

_Burns tokenId. See {ERC721-_burn}.


  • The caller must own tokenId or be an approved operator._


uint256[50] __gap

This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See We use a standard of 50 storage slots. The amount referenced below is based on: 50 - numberOfClassMemberVariables.