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

ParameterDescription

owner

Address of an NFT holder.

index

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

Return values

ValueDescription

uint256 _val

Token ID.

Last updated