> For the complete documentation index, see [llms.txt](https://dangywing.gitbook.io/canto-name-service/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dangywing.gitbook.io/canto-name-service/technicals/integrating/get-all-tokens-owned-by-an-address.md).

# Get All Tokens Owned by an Address

given an address, how do I find all tokens owned by that address?

CNS uses the openzeppelin ERC721Enumerable extension which allows users to use the `tokenOfOwnerByIndex(address owner, uint256 index)` [function](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Enumerable.sol#L22) combined with the `balanceOf(owner)` function to loop and retrieve all tokenIds owned by an address.
