Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IERC721Enumerable

Inherits: IERC721

See https://eips.ethereum.org/EIPS/eip-721

Functions

totalSupply

Returns the total amount of tokens stored by the contract.

function totalSupply() external view returns (uint256);

tokenOfOwnerByIndex

Returns a token ID owned by owner at a given index of its token list. Use along with {balanceOf} to enumerate all of owner's tokens.

function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

tokenByIndex

Returns a token ID at a given index of all the tokens stored by the contract. Use along with totalSupply to enumerate all tokens.

function tokenByIndex(uint256 index) external view returns (uint256);