> For the complete documentation index, see [llms.txt](https://the-artist-xchange.gitbook.io/the-artist-xchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-artist-xchange.gitbook.io/the-artist-xchange/docs/ierc721enumerable.md).

# IERC721Enumerable

> ERC-721 Non-Fungible Token Standard, optional enumeration extension

*See <https://eips.ethereum.org/EIPS/eip-721> Note: the ERC-165 identifier for this interface is 0x780e9d63.*

## Methods

### tokenByIndex

```solidity
function tokenByIndex(uint256 _index) external view returns (uint256)
```

Enumerate valid NFTs

*Throws if `_index` >= `totalSupply()`.*

#### Parameters

| Name    | Type    | Description                         |
| ------- | ------- | ----------------------------------- |
| \_index | uint256 | A counter less than `totalSupply()` |

#### Returns

| Name | Type    | Description                                                             |
| ---- | ------- | ----------------------------------------------------------------------- |
| \_0  | uint256 | The token identifier for the `_index`th NFT, (sort order not specified) |

### tokenOfOwnerByIndex

```solidity
function tokenOfOwnerByIndex(address _owner, uint256 _index) external view returns (uint256)
```

Enumerate NFTs assigned to an owner

*Throws if `_index` >= `balanceOf(_owner)` or if `_owner` is the zero address, representing invalid NFTs.*

#### Parameters

| Name    | Type    | Description                                              |
| ------- | ------- | -------------------------------------------------------- |
| \_owner | address | An address where we are interested in NFTs owned by them |
| \_index | uint256 | A counter less than `balanceOf(_owner)`                  |

#### Returns

| Name | Type    | Description                                                                                  |
| ---- | ------- | -------------------------------------------------------------------------------------------- |
| \_0  | uint256 | The token identifier for the `_index`th NFT assigned to `_owner`, (sort order not specified) |
