tokenOfOwnerByIndex

This method returns a token ID owned by owner at a given index of its token list.

Function

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

Parameters

Parameter
Description

owner

Address of an NFT holder.

index

An index in the range of the owner's token list.

Return values

Value
Description

uint256 _val

Token ID.

Last updated